• 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

Woocommerce product attributes with hierarchy like categories

Get orders by date and status woocommerce

Require a class from another class - php

Get all WooCommerce products within own plugin

file_get_contents() without "Http" to access external URL [closed]

Issue saving card for customer

Having issue with matching rows in the database using PDO

Insert a DIV after the 6th product only once in WooCommerce category archives

Is there an equivalent of DynamoDB on Azure as a PHP session Handler

PHP Array split string and Integers

Laravel: Create morphs() relationship nullable

find in set in laravel ? example

error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure

"Mixed content blocked" when running an HTTP AJAX operation in an HTTPS page

"properties should not be accessed directly" issue during WooCommerce 3.0 checkout

About Contact Privacy policy Terms and conditions