View Single Post
  #17 (permalink)  
Old 10-25-2008, 09:50 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
Exclamation Re: How do you 301 redirect a dynamic URL (URL with a question mark in it)?

Dave, thanks but this below ruined the page! Now this is urgent. I even removed it from the htaccess file and the page is still totally blank! But the source code is still there! Yes, my cache is totally cleared when I close IE, so why is the page still blank after removing the code from my htaccess file??

Quote:
Originally Posted by crankydave View Post
I came across the same issue. What worked for me was {QUERY_STRING}

In your example I "think" something like...

RewriteCond %{QUERY_STRING} ref=pislikcs.com
RewriteRule \page.html http://www.domain.com/page.html? [R=301,L]

...might work. Perhaps one of the better coders can help out on this.

Dave
__________________
God Bless,
-Clint
(Join Date: 2003)
Reply With Quote