Hi,
I have a bunch of URLs like this:
www.domain.com/path/file.asp?display=#
RewriteCond %{REQUEST_URI} ^/path/file\.asp$
RewriteCond %{QUERY_STRING} ^display\=(.*)
RewriteRule ??
How do specify the rewrite rule to just compare the value of the display variable and to do the redirect, e.g.
www.domain.com/path/file.asp?display=1 forward to www.newsite.com/staticpage.html
www.domain.com/path/file.asp?display=2 forward to www.newsite.com/anotherstaticpage.html
Any help would greatly be appreciated. I tried out several different ways already and it does not work...
Thanks, Jelo