mdedens Posted November 29, 2007 Posted November 29, 2007 I have this URL, but can't get it to 301 redirect without appending variables to the end of the static URL. Is there a way around this? >redirect 301 /Default.asp?page=32 http://***DomainName***/about-us/ This only applies to a few URLs, so I just need an example of this specific URL 301 redirected. I also tried this to no avail: >RewriteRule ^Default.asp?page=32 /about-us/? [R=301,NC,L] Any advice is appreciated. Quote
TCH-Bruce Posted November 29, 2007 Posted November 29, 2007 Maybe this would work? >RewriteRule ^Default.asp?page=32$ /path-to-file-to-display Quote
click Posted November 29, 2007 Posted November 29, 2007 I believe this should work >RewriteCond %{QUERY_STRING} page=32 [NC] RewriteRule ^Default.asp$ /about_us/? [R=301,NC,L] Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.