• 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 SQL query midnight time not showing

Put content of wordpress page inside div

How to add a custom field to all Woocommerce attribute terms using add_action

How to retrieve Active Directory group policy maximum password age using LDAP

Modify microseconds of a PHP DateTime object

I cannot create a auto generated date time in mysql workbench

RabbitMQ PRECONDITION_FAILED - unknown delivery tag

PHP header location absolute URL

Whats the point of running Laravel with the command 'php artisan serve'?

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given [duplicate]

How to average columns of data from multiple, flat arrays?

Why isn't my PHP exception working?

Saving Data from form to database using AngularJS and php

Alert message after submitting form in PHP

Array to string conversion

About Contact Privacy policy Terms and conditions