← ServerPilot Docs

How to Make URLs Case Insensitive

Case sensitivity is a good thing; it prevents the server from returning the wrong directories or files and decreases confusion. However, individual apps can be made case insensitive if you desire.

Add the following two lines to your app's .htaccess file to make case-insensitive directory and files names with respect to the requested URL:

CheckSpelling on
CheckCaseOnly on

Launch your first site in 5 minutes