Redirect files from a directory using capital letters to a correspondant directory...

Hello

We have changed from hosting formula from Window server IIS to Apache server. Our problem is that when a user access our site from a search engine link, he reaches our pages but may got broken links if he clicks from that page mainly because we didn't care about capital letters when using Window server.

What we already did and functions well:
We kept exatly original directories but we duplicate all directories and change these links from capital letters to small letters so that the user is finding easily our indexed pages.

What we would like to do is:
- redirect files from each directory using capital letters to the correspondant directory using small letters. Note that we delete some useless (not needed) pages from directories using small letters but would like to redirect to our web site root if the user find them from search engine.

I think this has something to do with htaccess file but I am not an advanced user.

Hope I have made myself understood. And thank you in advance. The site is great and participants very friendly.

 

 

 

 

Top