0

Hello and thanks in advance to anyone who can help me with this problem.

A publication went out to our field of users with a mis-typed urls and now all the visitors are landing on our 404 page. The problem with the published links is that the sub-directory http://www.mysite.com/subdirectory/file.html was published with camelCase format so it reads http://www.mysite.com/subDirectory/file.html

What I would like to do is somehow redirect the users to the correct sub-directory. Is there a way (with .htaccess?) or other to get the browser to ignore the case-senistivity? or rewrite the url for the visitor so they end up with the right file?

Any help/insight you could share with me would be greatly appreciated.

2
Contributors
1
Reply
3
Views
7 Years
Discussion Span
Last Post by rch1231
0

If it is on a linux server change to the doc root directory (usually /var/www/html/domainname.com) for your web site and issue the following command as root:

ln -s subDirectory subdirectory

The format for the command is:

ln [OPTION]... TARGET... DIRECTORY

to get the manual page enter:

man ln

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.