Welcome Guest, Not a member yet? Register   Sign In
Force route case
#1

[eluser]Billy Khan[/eluser]
I have a site that some users are starting to link to, they have changed the case of some links which is ending up with page not found errors.

I have trawled this forum and cant seem to find a solution. Ideally, i would like to get CI to ignore uri case. I can see that routes.php can handle regular expressions. But i am unsure as to how to make use of it.



e.g.

$route['news'] = "c_news";
Yet www.mysite.com/NEWS is breaking and is calling my default controller.

any ideas?


Messages In This Thread
Force route case - by El Forum - 06-17-2008, 05:24 AM
Force route case - by El Forum - 06-17-2008, 06:07 AM
Force route case - by El Forum - 06-17-2008, 06:17 AM
Force route case - by El Forum - 06-17-2008, 06:28 AM
Force route case - by El Forum - 06-17-2008, 06:52 AM
Force route case - by El Forum - 06-17-2008, 06:56 AM
Force route case - by El Forum - 06-17-2008, 07:03 AM
Force route case - by El Forum - 09-10-2010, 02:59 PM
Force route case - by El Forum - 08-10-2011, 12:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB