• 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

PHP and WebView - Cookie doesn't are the same

Passing a boolean value from checkbox in Laravel form

How to give apache permission to write to home directory?

Boolean assignment operators in PHP

Issue with laravel eloquent model property

Laravel Livewire: jQuery not working in child component loaded via @if statement

How to use a PHP MVC Controller, one thats invoked by calling a URL, to call and execute more than one function? [duplicate]

What is PHP's equivalent of JavaScript's "array.every()"?

WooCommerce - unset "<product> removed notice…" on cart page

WordPress Security Standards want me to escape my html, but how to do it correctly?

Insert multidimensional array to codeigniter cart

How to get values inside <![CDATA[values]] > using php DOM?

MISSING UPDATES FOR: MEDIA Drupal 9

Create a zip file and download it

Laravel eloquent update record without loading from database

About Contact Privacy policy Terms and conditions