View Single Post
  #19 (permalink)  
Old 10-25-2008, 10:09 AM
Clint1's Avatar
Clint1 Clint1 is online now
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 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
Ok now that I've got the blank page issue fixed , this suggestion above didn't work Dave. How exactly did you get it to work for you?
Thanks.
__________________
God Bless,
-Clint
(Join Date: 2003)
Reply With Quote