Welcome Guest, Not a member yet? Register   Sign In
Auto routing and/or defining routes
#2

Yes, the following defined routes catch all URIs.

PHP Code:
$routes->get('/(:segment)''Site::index');
$routes->get('/(:segment)/(:any)''Site::page'); 

How did you do with CI3?
Reply


Messages In This Thread
Auto routing and/or defining routes - by bastian - 09-23-2024, 11:42 AM
RE: Auto routing and/or defining routes - by kenjis - 09-23-2024, 09:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB