| Posted: 22 September 2008 at 10:09am | IP Logged
|
|
|
Hello,
We are using isapirewrite4.dll to make some basic 301 redirects for a website. I am able to do a 302 redirect, but the 301 does not do anything or gives an error depending on what I try in isapirewrite4.ini.
If I do this one: RewriteCond %{REQUEST_METHOD} ^GET$ RewriteRule ^/SectionNAS\.aspx\?NavID=4&CultureCode=en-CA /NorthAmericanServices/index.aspx [RP]
It does not do anything. But If I write only [R] it works.
If I try: RewriteCond %{REQUEST_METHOD} ^GET$ RewriteRule ^/SectionNAS\.aspx\?NavID=4&CultureCode=en-CA http\://mysite.com/EN-CA/NorthAmericanServices/index.aspx [RP]
It gives me an error: The system cannot find the path specified.
I also tried [R=301] just to make sure, but it does not do anything regardless of the format of my rule.
Thanks!
Equinox
|