View Single Post
  #20 (permalink)  
Old 10-25-2008, 10:28 AM
Clint1's Avatar
Clint1 Clint1 is offline
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: Jun 2005
Location: Louisiana, USA
Posts: 1,277
Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9Clint1 RepRank 9
Default Re: How do you 301 redirect a dynamic URL (URL with a question mark in it)?

Quote:
Originally Posted by da8iwr View Post
Sorry Clint1, just realised you put the URLs you want to change from and to.

HTML Code:
redirect 301 domain.com/page.html?ref=pislikcs.com domain.com/page.html
That should work perfectly OK.
Thanks but that too doesn't work. I tried it exactly like that, without any http: //www. prefix, and I tried it with the the prefix, as well as without any root noted, just the /page.html. (One method caused the entire website to give the "Internal Error" where no pages were accessible). Wouldn't that method require some kind of RewriteCond %{QUERY_STRING} line?

WTF?? I had to edit that, http: //www. without the space showed as "Hiring Center | Powered by Monster.com"!!!!
__________________
God Bless,
-Clint
(Join Date: 2003)

Last edited by Clint1; 10-25-2008 at 10:31 AM.
Reply With Quote