Removes the QUERY_STRING from the URL - htaccess
by Rekha[ Edit ] 2010-02-17 13:42:42
Removes the QUERY_STRING from the URL - htaccess
If the QUERY_STRING has any value at all besides blank than the?at the end of /login.php? tells mod_rewrite to remove the QUERY_STRING from login.php and redirect.
RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} .
RewriteRule ^login.php /login.php? [L]