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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Jean le Chauve

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

Post 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+
Last edited by Jean le Chauve on Fri Aug 14, 2009 7:56 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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...
Last edited by Anonymous on Fri Aug 14, 2009 5:40 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

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

Post by RonnyK »

Confirmed....

Ronny
Jean le Chauve

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

Post 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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

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

Post by calguy1000 »

It's fixed in svn, and will be in the upcoming 1.6.4
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Jean le Chauve

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

Post by Jean le Chauve »

Great :)
Thank you, I should have first look at the svn, sorry.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

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

Post by calguy1000 »

well, you could've tried, but I just fixed it today :)
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Jean le Chauve

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

Post by Jean le Chauve »

:D
Locked

Return to “CMSMS Core”