• 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

enroll_table three field fetch to payment form to create payment field in laravel 5.5

php mysql + create a friend request system

Statement that checks whether a URL contains a particular path?

How to programmatically find public properties of a class from inside one of it's methods

Laravel Nova Dependency Container what are the allowed resource properties other than id in dependsOn

browsersync doesn't work with XAMPP

Prestashop webservice API creating cart rules

IlluminateDatabaseQueryException could not find driver [duplicate]

Laravel - Implicit route model binding with soft deleted data

Split comma separated value from table column into rows using mysql?

(Laravel) How to delete multiple models including optional relationships?

Project structure for PHP

Normalize DateInterval in PHP

php echo remove slashes from url [duplicate]

Symfony there are no commands defined in the "make" namespace

About Contact Privacy policy Terms and conditions