Created
July 6, 2017 14:39
-
-
Save mcat/cd55521f6830a850a8d5e1b759c4977d to your computer and use it in GitHub Desktop.
Force Lowercase URLS on a Shared Host
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteCond $1 [A-Z] | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^(.*)$ /${lowercase:$1} [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment