I use
Code: Select all
{if isset($canonical)}<link rel="canonical" href="{$canonical}" />{elseif isset($content_obj)}<link rel="canonical" href="{$content_obj->GetURL()}" />{/if}
And this, only when the mod_rewrite is on. Not with pretty_url.
Take a look here : http://www.zoomjeune.be/ (before the upgrade from 1.5.4 the canonical appeared on all pages)
Are there others users who have the same problem ?
Thank's for your help
EDIT Finally, this appear in all cms 1.6+