Page 1 of 1

[solved]Link canonical on child's pages disapear on 1.6+

Posted: Fri Aug 14, 2009 1:11 pm
by Jean le Chauve
I run under 1.6.3 but the same problem appear with cms 1.6.1.
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}
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+

Re: Link canonical on child's pages disapear on 1.6+

Posted: Fri Aug 14, 2009 4:39 pm
by Dr.CSS
Care to tell what this means, what is canonical link, and who really cares about it?...

It doesn't appear on that site, /defaultcontent/, because there is no canonical call in the rest of the templates...

Re: Link canonical on child's pages disapear on 1.6+

Posted: Fri Aug 14, 2009 6:55 pm
by RonnyK
Confirmed....

Ronny

Re: Link canonical on child's pages disapear on 1.6+

Posted: Fri Aug 14, 2009 7:34 pm
by Jean le Chauve
Thank's all,

The problem come from the version 1.6.1. Other people in the french forum have the same bug.

Re: Link canonical on child's pages disapear on 1.6+

Posted: Fri Aug 14, 2009 7:34 pm
by calguy1000
It's fixed in svn, and will be in the upcoming 1.6.4

Re: Link canonical on child's pages disapear on 1.6+

Posted: Fri Aug 14, 2009 7:56 pm
by Jean le Chauve
Great :)
Thank you, I should have first look at the svn, sorry.

Re: [solved]Link canonical on child's pages disapear on 1.6+

Posted: Fri Aug 14, 2009 7:57 pm
by calguy1000
well, you could've tried, but I just fixed it today :)

Re: [solved]Link canonical on child's pages disapear on 1.6+

Posted: Fri Aug 14, 2009 8:08 pm
by Jean le Chauve
:D