• 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

Fetch files from next cloud storage and display in Laravel website

No result using makeStyles Material UI in react 18

Store / Website Column in Magento 2 Admin Grid - Custom Module

How to create laravel storage symbolic link for production or sub domain system?

How to properly start Laravel 8 with Bootstrap & authentication

MySQL - Connection failed: No route to host

How can i hide dt if dd got empty value

PHP using str_starts_with for array to exclude same as with wildcard

unable to load your default controller on Codeigniter

TesseractOCR not working for Laravel

PHPUnit (Phar) Fatal Error Only When Test Fails

PHP and WebView - Cookie doesn't are the same

Laravel query builder binding parameters more than once

How to submit a form when page loads using JavaScript?

Magento 2 - How to add new block to admin panel in product page?

About Contact Privacy policy Terms and conditions