Ho can I set up urlManager patterns in a way that it works like twitter or any other social networks? for example I want to have the following routes:
http://www.example.com/[user_id]
http://www.example.com/[user_id]/[mycontroller]/[myaction]
- If users write their user_id it goes to their dahboard page.
- If user write their user_id followed by a controller and action name it proceeds to proper controller action