[solved]Link canonical on child's pages disapear on 1.6+
Posted: Fri Aug 14, 2009 1:11 pm
I run under 1.6.3 but the same problem appear with cms 1.6.1.
I use
The canonical link appear on the first level pages but disapear on all the children pages.
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+
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+