If I have address like
http://www.smth.com/likewebsite
How do I set route or what needed to have access to the same page with:
If I have address like
http://www.smth.com/likewebsite
How do I set route or what needed to have access to the same page with:
Are you familiar with the urlManager of Yii? Do look into it, if you are not.
'rules'=>array(
[...]
'http://www.<subdomain:\w+>.smth.com' => '<subdomain>',
)
Above code is untested but should give you an idea.