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}">
What am I doing wrong?
Which tag should I put in the header to display "alternate languages"?
Many thanks