• 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

IlluminateDatabaseQueryException: SQLSTATE[HY000]: General error: 1 no such table - In clone project

Laravel lang slug in url

how do i retrieve and display the alt text of an image in wordpress?

Object of class stdClass could not be converted to string error

Pages are working fine on localhost but not running on the hosting server

Unable to run composer install

Yii2 redirecting to previous page after login

How can I convert from a{a{} b{}} to a[a[],b[]] using php preg_match?

Laravel MSSQL Server Connection not working

Why is this PHP array not the same?

Dropdown with current value from Mysql

How do I loop through an MS SQL database with VB.NET?

Return new collection without modifying original collection

Woocommerce redirect after add-to-cart error

PHP: How to solve ob_start() in combination imagepng() issue?

About Contact Privacy policy Terms and conditions