Hi,
I’m very newbie to YII, and i would like to ask if it is possible to configure the urlManager so that i can have an url like this
http://website.com/USERNAME/settings
http://website.com/USERNAME/chat
Thanks
Hi,
I’m very newbie to YII, and i would like to ask if it is possible to configure the urlManager so that i can have an url like this
http://website.com/USERNAME/settings
http://website.com/USERNAME/chat
Thanks
Hi
In your config/main.php set in urlManager rules region
'USERNAME'=>'username/index',
'<controller:USERNAME>/<action:\w+>'=>'username/<action>',