Creating trackback URL


My question is simple, how do i create a full url, which my users can copy and use as trackback?

Right now, i can only make relative URL’s, but thats not very reusable, if the domain is hardcoded.

Thanks :slight_smile:

I think this is what you’re looking for:

Yii:app()->createAbsoluteUrl(route, …)


Hehe, thanks.

Can it be used with CHtml::link ?

It seems so to me, the handling of the url param is described here:

Edit: confirmed



Right now i use:


But that’s pretty nasty :P