How do you 301 redirect a dynamic URL (URL with a question mark in it)?
Hi all. One of my webpages has been hijacked, and of course as always
google has rewarded the hijacker by REMOVING my top ranked 10
year old URL from their index and then ADDING the bogus URL in
their index, which shows for no searches! The URL now has a
strange thing appended to the rear: ?ref=pislikcs.com
I have been trying to do a 301 redirect from that URL to the
REAL URL, but I can't! I've tried through cPanel's URL
Redirect area and it won't work. It won't even get added! I
then tried manually adding it in my htaccess file, but it still
won't work! So obviously the "?" is screwing up something, so
can anyone please tell me how I redirect:
domain.com/page.html?ref=pislikcs.com
TO:
domain.com/page.html
Thanks,
-Clint
__________________
Happy Thanksgiving to all & God Bless,
-Clint
(Join Date: 2003)
|