Yii Custom Url

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

http://website.com/USERNAME/settings

http://website.com/USERNAME/chat

Thanks

check

http://www.yiiframework.com/doc/guide/1.1/en/topics.url

Hi

In your config/main.php set in urlManager rules region


'USERNAME'=>'username/index',

'<controller:USERNAME>/<action:\w+>'=>'username/<action>',