• 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

Limit login attempts in Laravel 5.7

HTML + PHP + PHPMAILER

PHP | "The requested PHP extension bcmath is missing from your system."

Add record for each array elements if missing in table

php script to delete files older than 24 hrs, deletes all files

Printing more than one array using print_r or any other function in php

Assign output of PHP function to a variable

PHP: set a (deep) array key from an array [closed]

if statement inside concatenation

*** ERROR *** The PHP configuration loaded file is: c:/wamp64/bin/php/php8.1.0/php.ini - should be: c:/wamp64/bin/apache/apache2.4.53.1/bin/php.ini

How to fix bootstrap multiselect search data using ajax

Substitute integers and dots with regex [duplicate]

PHP Fatal error: Class not found - PHPUnit

Jquery DataTables: Data not displaying in table via Ajax

Too few arguments to function PendingResourceRegistration::name(),1 passed in C:xampphtdocsproject outesweb.php on line 18 and exactly 2 expected

About Contact Privacy policy Terms and conditions