• 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

MySQL upgrade causing unexpected results on simple WHERE clauses

Hide specific products from unlogged users based in product category in WooCommerce

laravel automatically deletes server.php on php artisan serve

retrieve data from database using session

Clear javascript source cache laravel 5.8

How to disable only_full_group_by option in Laravel

how to see if database exists with PDO [duplicate]

How to add a heading in between checkout fields of WooCommerce

Update Total in checkout of Woocommerce with Ajax Request

Custom API and cunsuming in php?

Symfony - EasyAdmin - Add and remove functions are ignored from AssociationField

How to use React Router with Laravel?

Changing font color in javascript

XML to CSV with PHP converter [problem with images grabing]

Parsing JSON File to array in PHP

About Contact Privacy policy Terms and conditions