• 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

Remove country code from phone number?

How to get transaction details in notify_url page in paypal

Check if my GET request has Header: Token

Unit (real unit test) of test laravel relationship

Laravel Blade checkbox not checked

how to display a view on laravel 8 and not have a 404 NOT FOUND page?

How to get array values using foreach in laravel

Undefined Array Key error when uploading image on php

VB.NET WebRequest with PHP POST

Why isn't my PHP exception working?

Uploading video to Youtube using Youtube Data API V3 and Google API Client PHP -- getting 401 (unauthorized) message

php echo remove slashes from url [duplicate]

Message: Set sys_temp_dir in your php.ini after installed composer

Laravel PHP: multiple project run at the same time [closed]

Split array into 4-element chunks then implode into strings

About Contact Privacy policy Terms and conditions