Welcome Guest, Not a member yet? Register   Sign In
Help with routes
#3

[eluser]louis w[/eluser]
Thanks for the help. I can not get either to work. I tried

Code:
// Doesn't work
$route['admin/(.*)']    = "admin/$1";
$route['admin']         = "admin"
$route['(.*)']            = "page/$1";

and

Code:
// Doesn't work
$route['([^(admin)]*)']        = "page/$1"

Both sit there processing (i think it may be getting stuck in a redirect loop). It's not my site because the below works for non admin pages.
Code:
// Works for non admin pages
$route['(.*)']            = "page/$1";


Messages In This Thread
Help with routes - by El Forum - 04-23-2008, 12:07 PM
Help with routes - by El Forum - 04-23-2008, 02:38 PM
Help with routes - by El Forum - 04-23-2008, 02:44 PM
Help with routes - by El Forum - 04-23-2008, 03:03 PM
Help with routes - by El Forum - 04-23-2008, 03:06 PM
Help with routes - by El Forum - 04-23-2008, 03:11 PM
Help with routes - by El Forum - 04-23-2008, 03:35 PM
Help with routes - by El Forum - 04-23-2008, 03:40 PM
Help with routes - by El Forum - 04-23-2008, 03:43 PM
Help with routes - by El Forum - 04-23-2008, 03:44 PM
Help with routes - by El Forum - 04-23-2008, 03:46 PM
Help with routes - by El Forum - 04-23-2008, 03:51 PM
Help with routes - by El Forum - 04-23-2008, 03:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB