Reputation: 326
My actual .htaccess using for the URL rewriting is case sensitive :
RewriteEngine on
RewriteRule ^([a-zA-Z_0-9]+)/([a-zA-Z_0-9]+)$ /BB/index.php?controller=$1&action=$2
I would like to make it case insensitive.
Have you an idea please ?
Upvotes: 0
Views: 108
Reputation: 36311
To make it case insensitive, you would add the NC
flag at the end of the line:
http://httpd.apache.org/docs/2.2/rewrite/flags.html#flag_nc
RewriteEngine on
RewriteRule ^([a-zA-Z_0-9]+)/([a-zA-Z_0-9]+)$ /BB/index.php?controller=$1&action=$2 [NC]
Upvotes: 1