• 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

Refresh specific HTML content that retrieves data from MySQL

MongoDB Duplicate Documents even after adding unique key

unable to load your default controller on Codeigniter

str_replace or preg_replace random number from string

How to update array value in Laravel

Custom post type single page not working

Laravel unique validation on multiple columns

stay with the last 15 elements of an array [duplicate]

renameColumn migration fails for existing column with columns does not exist error

Prestashop webservice API creating cart rules

Manage independently the decimal number of the price of each product [duplicate]

PHP Download MP3 files from directory on server

How to generate QR CODE for dynamic generating link and logo using Simple QrCode in laravel?

get folder directory from input type file - PHP

Convert regular text to array using notepad++

About Contact Privacy policy Terms and conditions