• 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

Cache clear probem in Larave

PHP - Store information with NO database

SQLSTATE[HY000]: General error: 1 table posts has no column named *

Wordpress 'post_type_link' hides permalink

How do I upload a laravel project on cPanel shared hosting?

how to display a view on laravel 8 and not have a 404 NOT FOUND page?

I want to display a sweetalert after the inserting of data in my database

HTML and PHP in one file

PHP Discord OAUTH2 code sample not working

Inserting Country Selection into MySQL PHP [duplicate]

Eloquent insert id with sequence next value

PHPExcel How to set conditional formatting to change cell background color based on cells values

PHP/HTML: Creating A SubMenu

ldap is missing from system when installing adldap2 in laravel

Accessors (Getter) & Mutators (Setter) On a Pivot Table in Laravel

About Contact Privacy policy Terms and conditions