HTAccess Rule limit?

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 2
Joined: 16 Jul 2013, 10:08

HTAccess Rule limit?

16 Jul 2013, 10:20

Hi

I have a slightly odd problem here and I am really unsure what is going awry...

We regularly clean up the crawl errors we pick up in Google Webmaster tools and usually this is simply a process of 301ing old pages which are trying to resurface - half way through this months clean up however we have hit a snag - no new rules are working.

The following 3 rules were part of this clean up:

RewriteRule ^/fathers_day_offers.aspx(.*)$ /special-offers/ [NC,L,R=301]
RewriteRule ^/promosFame.aspx(.*)$ /special-offers/ [NC,L,R=301]
RewriteRule ^/christmas_promotions.aspx(.*)$ /special-offers/ [NC,L,R=301]

the first 2 worked fine as usual but the last rule and any new ones I add wont work - it applies fine and works in the RegExp test but does not work Live...

any ideas?

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: HTAccess Rule limit?

16 Jul 2013, 23:47

Hello,

There's no limit and the rule looks legit. However, the case may be that some other, more generic rule took over and matched before this rule(to test it, move the rule up to the top of the file).
Another thing you can do - take a look at the logs. Logging issues are described in FAQ - http://www.helicontech.com/forum/10648-FAQ.html

Regards
Andrew

User avatar
Posts: 2
Joined: 16 Jul 2013, 10:08

Re: HTAccess Rule limit?

17 Jul 2013, 06:38

Hi Andrew

Oddly enough it seems to have fixed itself overnight - we came in to all the new redirects working not just the first half...

thanks for your help anyway.

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 9 guests