Does IIRF support NC?

Nov 13, 2008 at 8:57 PM
I am having problems with IIRF rules not working due to case issues. I am trying to implement a number of rewrites that map old content to new content, but also using shortcuts to map short URLs to complex URLs.

We are having problems with users typing in /Careers, but the rules look for "/careers". I am using the following rule, for example:

ReWriteRule ^/Careers(.*)$$1 [R=301] L

I would like to make this case insensitive. Can I add NC, or something like that? If so, how would that look?

Dec 1, 2008 at 4:32 AM
YES - you can do case-insensitive checks.
Search the readme for "case insensitive" and you will find lots of information.

Your rule is a little broken.
Instead of:


ReWriteRule ^/Careers(.*)$$1 [R=301] L 

Can you please try this:

ReWriteRule ^/Careers(.*)$$1  [R=301,L,I] 

Note: the L is inside the square bracket. Also we have added an I for case-insensitive matching!