-
.htaccess problem
in my redirect line, '?' is giving me me a headache.
RedirectMatch /client/index.php(.*)option http://www.mysite.com
Even this line is not working.
What I need is to redirect
www.mysite.com/index.php?option=1 to www.mysite.com using .htaccess
Please help!
-
RewriteCond %{QUERY_STRING} option
RewriteRule ^(.*)$ http://mysite.com [QSA,L]
This one worked for me.
-
Pramit,
May I direct your attention to the tutorial Article in my signature - it's helped MANY others in this forum and, from your mod_rewrite code, you need this badly. Not an insult, it's meant to help - and you know where to find the author to clarify anything that's not clear.
Regards,
DK