Problem with alternate language tags in CMSMS

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
farhadprm
Forum Members
Forum Members
Posts: 158
Joined: Mon May 28, 2007 2:40 pm

Problem with alternate language tags in CMSMS

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

Return to “The Lounge”