My External Url Is Converted To A Local One


I have an external URL in my footer. Here’s the code i use to geneate the URL echo CHtml::link(‘Go here’, “”); … pretty straight forward? Apparently not…Yii goes on to convert the URL to an internal one by attaching a prefix so that it becomes http: //localhost/myapp / …which is obviously wrong. How do I get the framework not to change my URL?


Hi, try this

My link

I don’t think it’s Yii. “” is treated as a relative URL in your browser. Try “” instead .