• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

301 Redirect to remove query string on homepage only

php.htaccessredirectmod-rewritemagento-2.3


PHP Snippet 1:

# Remove query string on homepage only
RewriteCond %{QUERY_STRING} .
RewriteRule ^$ / [QSD,R=301,L]

Related Snippets

How to send upload image through email

Doctrine 2 mapping referencing unique key

How to put php code inside opening and closing shortcodes

add " ? " in url via htaccess RewriteRule

Generate random username based on full name php

How to add automatically collapse/expand in content wordpress (single.php)?

phpMyAdmin ERROR: mysqli_real_connect(): (HY000/1045): Access denied for user 'pma'@'localhost' (using password: NO)

PHP - CURL using HTTPS [closed]

How do I set the maximum php memory limit

How to test laravel controller method?

Use Python plotly chart in PHP

Unable to Edit config.inc.php

how to see if database exists with PDO [duplicate]

How to make Canonicals with PHP

Clients authentication and user authentication with laravel

About Contact Privacy policy Terms and conditions