HTAccess Rule limit?
3 posts
• Page 1 of 1
HTAccess Rule limit?
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?
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?
- HeliconAndrew
-
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: HTAccess Rule limit?
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
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
Re: HTAccess Rule limit?
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.
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.
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 9 guests