.htaccess: Check if query string has a certain value or else redirect it
snippet in htaccess

.htaccess: Check if query string has a certain value or else redirect it

user5047

RewriteCond %{QUERY_STRING} !(^|&)redirect=no($|&)
RewriteRule . /index.php [L]