• 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

How to check user Permissions using Custom Middleware in Laravel

Sync Records With Default Values in Pivot Tables, Call to undefined method syncWithPivotDefaults()

How can I make a full text index of the column?

Custom API and cunsuming in php?

Transpose multidimensional array and join values with commas

Pass a select with mysqli_fetch_row to a table

Laravel database insert with combining array and string

Cross-Origin Resource Sharing (CORS) witth Laravel and Vuejs

laravel controller function parameters

Zig-zag scan an N x N array

Generate random username based on full name php

Dropzone: Submit both form data and dropzone at once

PHP mail sending empty mails

How to insert data from multiple select dropdown values into database?

Make certain characters of a word from string bold

About Contact Privacy policy Terms and conditions