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

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.
Post Reply
Vdub

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

Post 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.
Last edited by Vdub on Sun Oct 28, 2012 10:08 am, edited 1 time in total.
tilde
Forum Members
Forum Members
Posts: 105
Joined: Tue Mar 09, 2010 7:05 am

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

Post by tilde »

Vdub

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

Post 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.
Post Reply

Return to “CMSMS Core”