I would like redirect a URL with uppercase characters http://localhost/A/B to a lowercase version http://localhost/a/b using the .htaccess file.
Using regex I can capture A and B but is it possible to convert them to lowercase?
|
|
|
In .htaccess
Tested, works, if you have the mod_speling enabled. Or, in a serverwide httpd.conf:
From: http://www.chrisabernethy.com/force-lower-case-urls-with-mod_rewrite/ |
|||||||||||
|