CMS MADE SIMPLE FORGE

Multilanguage CMS

 

[#10240] Alternate languages tag

avatar
Created By: Farhad Pez (farhadrm)
Date Submitted: 2014-09-26 05:27

Assigned To: Zdeno Kuzmany (xxl)
Resolution: Awaiting Response
State: Open
Summary:
Alternate languages tag
Detailed Description:
Hi,

Was wondering if it would be possible to you to add "rel="alternate" tag?


Tahanks
Far

History

Comments
avatar
Date: 2014-09-26 10:27
Posted By: Zdeno Kuzmany (xxl)

What do you mean? Can you send me a example?
      
avatar
Date: 2014-09-26 14:39
Posted By: Farhad Pez (farhadrm)

Hi,

Everything is explained here:
https://support.google.com/webmasters/answer/189077?hl=en

For example alternate hreflang for a site with 11 languages ​​is as follows:
<link rel="alternate" hreflang="en-US" href="http://domainname.org/" />
<link rel="alternate" hreflang="es-ES" href="http://domainname.org/es/" />
<link rel="alternate" hreflang="de-DE" href="http://domainname.org/de/" />
<link rel="alternate" hreflang="fr-FR" href="http://domainname.org/fr/" />
<link rel="alternate" hreflang="pt-BR" href="http://domainname.org/pt-br/" />
<link rel="alternate" hreflang="ja" href="http://domainname.org/ja/" />
<link rel="alternate" hreflang="ru-RU" href="http://domainname.org/ru/" />
<link rel="alternate" hreflang="zh-HK" href="http://domainname.org/zh-hans/" />
<link rel="alternate" hreflang="it" href="http://domainname.org/it/" />
<link rel="alternate" hreflang="he-IL" href="http://domainname.org/he/" />
<link rel="alternate" hreflang="ar" href="http://domainname.org/ar/" />

These tags are very important from the point of view of SEO for multilingual
sites. Basically, the tag in header shows the link to the same page in other
languages.

Thanks
Far
      
avatar
Date: 2014-09-26 14:42
Posted By: Farhad Pez (farhadrm)

For an example look at the source of this page:

http://wpml.org/features/
      
avatar
Date: 2014-09-26 14:58
Posted By: Zdeno Kuzmany (xxl)

Hello, thank you, now I fully understand.

But now you cen do that within {MleCMS action="langs"
template="myalternatetemplate"}, you have to only create template with this
syntax.

I know, I can add easier way for non-technical users, but maybe later with new
version of MleDomains module.


      
avatar
Date: 2014-09-26 15:52
Posted By: Farhad Pez (farhadrm)

Hi
Could please you explain what syntax I need to insert into the
"myalternatetemplate"?

Thanks
      
Updates

Updated: 2014-09-26 10:27
resolution_id: => 10