If you are newbie web designer or someone who wants to start a website, the chances are you will fall in this trap
In Linux all files & directories are case-sensitive. Since most of the web servers runs on Linux OS they will also be case-sensitive.
Let me explain you with simple example. You have created a file called “ContactMe.html” and uploaded it to your server and when some one visit www.yourdomain.com/Contactme.html it will show a 404 page error.
How to solve it ?
We can solve it by enabling mod_speling module’s ‘s CheckCaseOnly in Apache.
When you enable it in your server it will check for correct spelling (lower/upper case changes) and redirects to it to the correct one. We do this by editing your root .htaccess file so that it will be case-insensitive.
All you need to do is just create a .htaccess file in your root folder (If it is already created just open it) and enter the below code
CheckCaseOnly On
Note – .htaccess files works only on Linux servers
How about you?
What method you are using to make it case-insensitive?
Let us know your methods in the comments below.
If this post has been of value for you, Why not share the love by sharing it on social networks?



![How to Move WordPress to New Host with No Downtime [Easy Way]](https://i1.wp.com/archives.ashiknesin.com/wp-content/uploads/2013/11/move-wordpress_blog-to-new-host-150x150.jpg?resize=150%2C150&ssl=1)

Thanks for the awesome article. It provides a lot of advice I had been looking for.
I’m glad the article helped you, Mori 🙂
“.htaccess files works only on Linux servers”
Apparently not.. Apache – the leading Linux server – uses .htaccess files for settings whereas other servers use their own proprietary formats. By the way: your tick box mechanism doesn’t seem to work; I’m sending this from an asp.net application hosted in IIS, just to check. you should use SHA-256 and AES for security against “SPAM BOTS”, not checkboxes.