Welcome Guest, Not a member yet? Register   Sign In
default_controller problem
#1

[eluser]Santiag0[/eluser]
Hi! I'm starting with CI. I have a little problem when I try to set the router of the default_controller.
Code:
$route['default_controller'] = 'welcome'; //It's OK
$route['default_controller/([a-z0-9])'] = 'users/name/$1'; //Doesn't work :(
I need that because I need to copy the functionality of fotolog:
eg. fotolog.com/jhon
so i need a friendly URI, like myweb.com/user_loco
and the user see his profile.

Thanks a lot!!


Messages In This Thread
default_controller problem - by El Forum - 06-02-2008, 03:27 PM
default_controller problem - by El Forum - 06-02-2008, 03:51 PM
default_controller problem - by El Forum - 06-02-2008, 03:59 PM
default_controller problem - by El Forum - 06-02-2008, 09:23 PM
default_controller problem - by El Forum - 06-03-2008, 01:21 AM
default_controller problem - by El Forum - 06-03-2008, 09:34 AM
default_controller problem - by El Forum - 06-03-2008, 09:42 AM
default_controller problem - by El Forum - 06-03-2008, 07:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB