Page 1 of 1

Any case URLs

Posted: Mon Mar 05, 2007 8:15 am
by tecktalkcm0391
How can I change the .htacces file or something to make it so any case URL would work...

http://site.com/TEMPLATE/page.php --- would display the page
http://Site.com/TEmplate/Page.Php --- would diplay the page
http://site.com/tempLate/page.php --- would display the page

What would I do?

Can't test, site is live.

Posted: Mon Mar 05, 2007 8:17 am
by feyd
a mod_rewrite rule that uses the "nocase" flag would do it.

Posted: Mon Mar 05, 2007 9:38 pm
by tecktalkcm0391
Again I can't test, the site is live... would this be right?

Code: Select all

RewriteRule (.*) /$1 [NC]

Posted: Sat Mar 10, 2007 8:43 pm
by tecktalkcm0391
I still haven't figured this out, that didn't work. Any ideas?