• 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

How do I truncate a decimal in PHP?

Laravel dosen't connect with Oracle

How to create laravel storage symbolic link for production or sub domain system?

Why i get wrong output for html markdown?

Symfony process run throws exception - executing on command line works

Laravel relationship belongsToMany with composite primary keys

Limit WooCommerce products in cart only from one custom taxonomy

WHM Enabling mod_rewrite

generating a random code in php?

Creating Combinations of Elements

Reload parent page after submit in iframe

PHP array_filter with arguments

protect images from being copied

Laravel : How to Create Dropdown to Select FOREIGN KEY from Other Table?

Valet, Xdebug after reboot Big Sur not working

About Contact Privacy policy Terms and conditions