Welcome Guest, Not a member yet? Register   Sign In
Custom routes
#4

You can try something like this:

Code:
$route['login/(.+)'] = 'auth/login/$1';




This is will capture all segments after 'login'. 
I would be a bit hesitant to use it since if you have route that starts with the '/login' it will be overwritten. 

So the following construction will be automatically redirected to 'auth/login/$1'


Code:
$route['login/app] = 'auth/app/$1';
Reply


Messages In This Thread
Custom routes - by bastian - 05-27-2019, 12:06 PM
RE: Custom routes - by Wouter60 - 05-27-2019, 12:31 PM
RE: Custom routes - by bastian - 05-27-2019, 01:07 PM
RE: Custom routes - by ehabafia - 09-02-2019, 06:52 PM
RE: Custom routes - by milengardev1994 - 09-01-2019, 12:45 PM
RE: Custom routes - by InsiteFX - 09-02-2019, 08:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB