CodeIgniter Forums
Lowercase URL issues - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Lowercase URL issues (/showthread.php?tid=16352)



Lowercase URL issues - El Forum - 03-04-2009

[eluser]Banana Man[/eluser]
Hi, i was wondering how to go about doing this:-

Currently all of the following return the same:

/services/

/serVices/

/ServiceS/

/SERVICES/

I was wondering if you can force lowercase urls

so if /serVices/ was entered it would redirect to /services/

Any advice or opinions on this
Thanks


Lowercase URL issues - El Forum - 03-04-2009

[eluser]pistolPete[/eluser]
[quote author="Banana Man" date="1236184478"]Currently all of the following return the same...[/quote]
URI Segment Case Sensitivity

I'd use a .htaccess file and mod_rewrite (if you're on apache).
Have a look at this : http://www.webmasterworld.com/forum92/1549.htm


Lowercase URL issues - El Forum - 03-04-2009

[eluser]Banana Man[/eluser]
Thanks for the quick reply, think .htaccess is the way to go

Thanks for ya time