redirect match

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 4
Joined: 03 Jul 2014, 07:22

redirect match

03 Jul 2014, 07:29

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

User avatar
Posts: 4
Joined: 03 Jul 2014, 07:22

Re: redirect match

03 Jul 2014, 07:48

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!

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 9 guests