View Single Post
  #1 (permalink)  
Old 10-13-2008, 08:50 AM
Clint1's Avatar
Clint1 Clint1 is online now
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: Jun 2005
Location: Louisiana, USA
Posts: 1,323
Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9
Default 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)
Reply With Quote