I wrote host info:
‘hostInfo’=>“http://www.domain.com”
in main.php config file.
I am creating url with Yii::app()->createAbsoluteUrl(’/a’) and it is creating correct url with www.
but if i create an url with CController::createUrl("a/b") it does not creates url with www. So how can i force yii to create url all time with www?
thanks in advance