• 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

Facebook PHP SDK - will not logout properly

array_key_exists(): The first argument should be either a string or an integer

Laravel print last executed SQL query with Query log

What is my SQL missing?

SMTP "Error: DATA not accepted from server!" Opencart 2.3 on InMotionHosting

How to find phpcs current default standard

Transpose and flatten multiple rows of array data [duplicate]

Using spatie/media-library, how to rename a collection of uploaded files?

How to remove from a multidimensional array all duplicate elements including the original?

selected value from the listbox in php

Split comma separated value from table column into rows using mysql?

woocommerce get_order_report_data to show order_item_id

Prestashop cUrl Login

How to solve cURL error 60: SSL certificate in Laravel 5 while Facebook authentication

Timber: Single post pagination does not work (wp_link_pages)

About Contact Privacy policy Terms and conditions