Hi all,
I feel a bit bad for having to ask this but clearly my mod_rewrite skill are a little rusty! I feel like noob!
I have a rogue URL www.mydomain.com/?fr=leihuo.net which I want to redirect to the root domain but I cannot get it to redirect without re-adding the parameter to the end of the URL.
This is what I have at the moment:
RewriteCond %{REQUEST_URI} ^/$
RewriteCond %{QUERY_STRING} ^fr=liehuo.net$
RewriteRule ^$ [
mydomain.com...] [R=301,L]
It's just annoying me now so I'm throwing it out to you guys!
Thanks in advance! :-)