Welcome Guest, Not a member yet? Register   Sign In
Routing example in user guide doesn't work?
#4

[eluser]xenon-dev[/eluser]
Code:
$route['journals'] = "blog";

will only redirect journals/ to blog/. That's all. End of story. If you want ALL requests to journals to be redirected to blog, then

Code:
$route['journals/(*.)'] = "blog/$1";

will do that. And it means that you didn't pay as much attention as needed to the user guide, not misunderstanding Tongue


Messages In This Thread
Routing example in user guide doesn't work? - by El Forum - 09-03-2007, 08:20 AM
Routing example in user guide doesn't work? - by El Forum - 09-03-2007, 09:13 AM
Routing example in user guide doesn't work? - by El Forum - 09-03-2007, 09:24 AM
Routing example in user guide doesn't work? - by El Forum - 09-03-2007, 09:27 AM
Routing example in user guide doesn't work? - by El Forum - 09-03-2007, 09:51 AM
Routing example in user guide doesn't work? - by El Forum - 09-03-2007, 09:53 AM
Routing example in user guide doesn't work? - by El Forum - 09-03-2007, 12:00 PM
Routing example in user guide doesn't work? - by El Forum - 09-04-2007, 07:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB