I need our URLs to be case-insensitive. For example, a promotional URL might be mysite.com/acme, redirectmatched to /promo/acme.htm. Some people enter mysite.com/Acme or MYSITE.COM/ACME, and all must redirect to the proper file.
I set checkspelling on and checkcaseonly on in the root .htaccess, which takes care of the case problem. However, it results in 300 Multiple Choices error messages. Example:
mysite.com/land is a promo URL, /landing is a directory with private pages excluded by robots.txt. mysite.com/land results in the 300 Multiple Choices page with suggested URLs of /landing/index.htm and /landing/index.lck (Dreamweaver file). I don't want people knowing about or having access to /landing. I'm sure this issue will occur with other pages and directories.
How do I keep case correction and turn off all other types of spelling correction? Would it help if mod_speling were turned on in the server config, rather than turning it on in /.htaccess?
I'm a new member and just got thrown into the deep end of the Apache pool--I look forward to participating in the forum. I've learned a lot about Apache and .htaccess over the last few weeks, mainly through lots of reading plus trial-and-error. Thanks!