• 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

Laravel - Browser displays message again when I press back button

PHP: How to raise number to (tiny) fractional exponent?

Return multiple values from a function using mysqli_fetch_assoc [closed]

Debugging Stripe Webhook Event

How can i update or reset my password without entering email field in laravel-8?

Any AWS EB Laravel route getting 404 Not Found nginx/1.16.1

java URL working on browser but not in client program

PHP function Not Working As Expected From functions.php Include File

Shopify password update using Shopify API

dompdf and img tag, image wont show

PHPExcel file download using AJAX call

Which is faster php date functions or carbon?

How to validate Envato Purchase Code in PHP

Detect a fetch request in PHP

Normalize DateInterval in PHP

About Contact Privacy policy Terms and conditions