• 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

Store / Website Column in Magento 2 Admin Grid - Custom Module

Having trouble with PDO queries (Notice: Undefined index)

Fatal error: Array callback has to contain indices 0 and 1

Limit of log line written to Apache Errorlog from mod php error_log

Laravel eloquent update record without loading from database

Modify microseconds of a PHP DateTime object

Laravel Displaying image from database

How avoid Moved Permanently The document has moved here

Don't show recurring price for WooCommerce subscriptions worth 0$

Wordpress wpdb->delete issue

How to put php code inside opening and closing shortcodes

OAuth2 Token PHP

I need to link Google Sheet with my Laravel

How to add automatically collapse/expand in content wordpress (single.php)?

java URL working on browser but not in client program

About Contact Privacy policy Terms and conditions