I am very new to YII Framework.
My task is to change all the inner links of a site point to another domain. the site developed in YII framework. No need to point the home page, only the inner pages to be point to another domain.
Example:
domain name 1 - www.myfirstdomain.com
domain name 2 - www.myseconddomain.com
The inner pages in the domain name 1 must be point to domain name 2.
Example:
1 - www.myfirstdomain.com/reviews/ must be point to www.myseconddomain.com/reviews/
2 - www.myfirstdomain.com/prices/ must be point to www.myseconddomain.com/prices/
Note - I do not want to use rewrite URL of .htaccess
For this I have to change the baseURL for all links, I do not know how to change it.
I have to finish this task ASAP, please help me.
Thanks a lot.