Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] route only one controller
#1

[eluser]predat0r[/eluser]
Hi there,

i want to route dynamically only one controller, not all, so:

/post -> /site/post

of course i can use $route['(.*)'] = 'site/$1';

but i dont want to route my admin, auth, .. controller methods

Is it possible to do this in route.php or i have to hardcode all my 'site' methods?

Or htaccess solution?

thanky


Messages In This Thread
[SOLVED] route only one controller - by El Forum - 06-19-2011, 04:17 AM
[SOLVED] route only one controller - by El Forum - 06-20-2011, 11:26 AM
[SOLVED] route only one controller - by El Forum - 06-20-2011, 11:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB