redirect match
2 posts
• Page 1 of 1
redirect match
Hi
I'm trying to create a few hundred redirects to move parts of the old site to our new site.
There are some requirements to redirect all requests for certain folders to a single URL and then sometimes to pick a particular page from that folder that's being mass redirected to a particular page.
Using the below it seems to blanket redirect everything from aboutus to /about-us, aboutus/office.asp seems to get trapped by this also?
Any comments would be greatly appreciated.
RewriteEngine on
RewriteBase /
RewriteRule ^aboutus/office1\.asp$ /newlocation/newlocation.asp [NC,R=301,L]
Rewriterule ^aboutus(.*)$ /about-us [NC,R=301,L]
Thanks
I'm trying to create a few hundred redirects to move parts of the old site to our new site.
There are some requirements to redirect all requests for certain folders to a single URL and then sometimes to pick a particular page from that folder that's being mass redirected to a particular page.
Using the below it seems to blanket redirect everything from aboutus to /about-us, aboutus/office.asp seems to get trapped by this also?
Any comments would be greatly appreciated.
RewriteEngine on
RewriteBase /
RewriteRule ^aboutus/office1\.asp$ /newlocation/newlocation.asp [NC,R=301,L]
Rewriterule ^aboutus(.*)$ /about-us [NC,R=301,L]
Thanks
Re: redirect match
Seemed to be a caching problem either with browser or IIS 6.0.
An app pool recycle and closing browser seemed to resolve the issue, thanks!
An app pool recycle and closing browser seemed to resolve the issue, thanks!
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 9 guests