Page 1 of 1

Problem with alternate language tags in CMSMS

Posted: Sun Sep 21, 2014 10:32 pm
by farhadprm
Hi,

I have a website in three languages ​​with Mlecms and I'm using Sitemap explained by Rolf:
https://www.cmscanbesimple.org/blog/cre ... robots-txt
In Google Webmaster Tools, displays the written "Your site has no hreflang tags."
In the header I added:

Code: Select all

<link rel="alternate" hreflang="{$lang_parent}" href="{if isset($canonical)}{$canonical}{elseif isset($content_obj)}{$content_obj->GetURL()}{/if}">
, but still displays the message: "Your site has no hreflang tags."
What am I doing wrong?

Which tag should I put in the header to display "alternate languages"?

Many thanks