Welcome to WebmasterWorld Guest from

Forum Moderators: Robert Charlton & goodroi

Implementation of Hreflang in international site

12:23 pm on Jul 18, 2019 (gmt 0)

New User

joined:June 26, 2019
votes: 1

We have a .com property with many visitors from different countries and languages (for example Australia, Germany, Netherlands).

Our current hreflang seems really problematic as it's at this format:
<li><a href="/?locale=en-EU" hreflang="en-EU"><span class='iso'>EN</span> <i class='flag-en-EU'></i></a></li>
<li><a href="/?locale=en-AU" hreflang="en-EU"><span class='iso'>AU</span> <i class='flag-en-AU'></i></a></li>
<li><a href="/?locale=de-DE" hreflang="en-EU"><span class='iso'>DE</span> <i class='flag-de-DE'></i></a></li>
<li><a href="/?locale=es-ES" hreflang="en-EU"><span class='iso'>ES</span> <i class='flag-es-ES'></i></a></li>
<li><a href="/?locale=fr-FR" hreflang="en-EU"><span class='iso'>FR</span> <i class='flag-fr-FR'></i></a></li>
<li><a href="/?locale=no-NO" hreflang="en-EU"><span class='iso'>NO</span> <i class='flag-no-NO'></i></a></li>
<li><a href="/?locale=ru-RU" hreflang="en-EU"><span class='iso'>RU</span> <i class='flag-ru-RU'></i></a></li>
<li><a href="/?locale=fi-FI" hreflang="en-EU"><span class='iso'>FI</span> <i class='flag-fi-FI'></i></a></li>
<li><a href="/?locale=sv-SE" hreflang="en-EU"><span class='iso'>SE</span> <i class='flag-sv-SE'></i></a></li>

which I guess it's related to the selection of language through a drop down menu that we have, by selecting the appropriate Flag icon.

I believe that we should use the XML sitemaps and try to introduce something like this:
<xhtml:link rel="alternate" hreflang="en"
href="http://www.example.com/" />
<xhtml:link rel="alternate" hreflang="en-au"
href="http://www.example.com/au/" />
<xhtml:link rel="alternate" hreflang="en-gb"
href="http://www.example.com/uk/" />

Any other suggestions?
1:30 pm on July 18, 2019 (gmt 0)

Senior Member

WebmasterWorld Senior Member Top Contributors Of The Month

joined:Nov 13, 2016
votes: 283


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members