Help with Rewrite Rule

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 2
Joined: 16 Dec 2015, 16:38

Help with Rewrite Rule

16 Dec 2015, 16:45

I have the following rules:

RewriteRule ^about-us/ /about-us-1 [R=301]
RewriteRule ^about-us/delivery-team/ /about-us-2 [R=301]

For some reason the when the 2nd rule never really works it seems to always redirect to the 1st rule /about-us-1.

I'm not sure how to write the rule so each rule goes to it's own page. Any help would be greatly appreciated.

Thanks
Todd

User avatar
Posts: 2
Joined: 16 Dec 2015, 16:38

Re: Help with Rewrite Rule

17 Dec 2015, 13:00

To clear this up some. I'm trying to redirect nested sub folders.

about-us/ = somepage.html

about-us/another-folder/ = anotherpage.html

But with my RewriteRules from my previous post anytime I have about-us/ in the URL the 1st redirect always seems to take over and I'm unsure how to write the rule to allow each URL to redirect to a different page?

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 17 guests