Welcome Guest, Not a member yet? Register   Sign In
hiding controller from url
#6

[eluser]frenzal[/eluser]
$route[':any'] = "page";
or
$route['(:any)'] = "page/$1";

but you'll need to provide a route for anything else that isn't allowed to be sent to the page controller, anyway routes should be the easiest solution


Messages In This Thread
hiding controller from url - by El Forum - 12-13-2009, 07:00 PM
hiding controller from url - by El Forum - 12-13-2009, 07:08 PM
hiding controller from url - by El Forum - 12-13-2009, 07:10 PM
hiding controller from url - by El Forum - 12-13-2009, 07:16 PM
hiding controller from url - by El Forum - 12-13-2009, 07:29 PM
hiding controller from url - by El Forum - 12-13-2009, 07:41 PM



Theme © iAndrew 2016 - Forum software by © MyBB