Page 1 of 1

**SOLVED** <link rel="canonical" href=" error

Posted: Sat Oct 27, 2012 8:53 pm
by Vdub
I have an error if i want to edit a page. everything else seems to work fine like the picture upload etc.

So if i click on Content > Pages > e.g. Home then i get the <link rel="canonical" href=" error

PHP version 5.2.17
MySQL 4.1.22

cmsms 1.11.2.1

on a windows webserver.

Re: <link rel="canonical" href=" error after updating to 1

Posted: Sun Oct 28, 2012 3:11 am
by tilde

Re: <link rel="canonical" href=" error after updating to 1

Posted: Sun Oct 28, 2012 10:07 am
by Vdub
thx, that worked.

There was a line underneath the <head> tag

Code: Select all

<link rel="canonical" href="{if isset($canonical)}{$canonical}{else}{$content_obj->GetURL()}{/if}" />
Removed it and it worked again.