HREFLANG, examples on how to implement

The two articles highlighted in this post provide a couple of examples of how to make use of the hreflang tags to promote and ensure that the correct language version of content is recognised for localised search results.

It can be very confusing when reading all the articles to see exactly how it fits and how to implement.  A couple of lines of explanation are provided (structural) that a developer can be pointed towards in order for them to add correctly to a site.

If you take a look at the ASOS website when looking at a category you can see it implemented on a site as well, you will have to view the source to access this part.

Article 1: read more

Article 2: read more

 

ASOS Web Code

<title>Men’s bags | Men’s leather bags, rucksacks & satchels | ASOS</title>
<meta name=”Description” content=”Discover men’s bags with ASOS. From a classic leather weekend bag to a backpack or messenger bag, shop mens bags with ASOS.” />
<link rel=’next’ href=’http://www.asos.com/?cid=9265&pge=1′ />

<!– mp_trans_process_disable_start –>
<link rel=”alternate” hreflang=”en” href=”http://www.asos.com/Men/Bags/Cat/pgecategory.aspx?cid=9265&via=lhn”/>
<link rel=”alternate” hreflang=”en-US” href=”http://us.asos.com/Men/Bags/Cat/pgecategory.aspx?cid=9265&via=lhn”/>
<link rel=”alternate” hreflang=”fr” href=”http://www.asos.fr/Men/Bags/Cat/pgecategory.aspx?cid=9265&via=lhn”/>
<link rel=”alternate” hreflang=”de” href=”http://www.asos.de/Men/Bags/Cat/pgecategory.aspx?cid=9265&via=lhn”/>
<link rel=”alternate” hreflang=”it” href=”http://www.asos.com/it/Men/Bags/Cat/pgecategory.aspx?cid=9265&via=lhn”/>
<link rel=”alternate” hreflang=”es” href=”http://www.asos.com/es/Men/Bags/Cat/pgecategory.aspx?cid=9265&via=lhn”/>
<link rel=”alternate” hreflang=”en-AU” href=”http://www.asos.com/au/Men/Bags/Cat/pgecategory.aspx?cid=9265&via=lhn”/>
<link rel=”alternate” hreflang=”ru” href=”http://www.asos.com/ru/Men/Bags/Cat/pgecategory.aspx?cid=9265&via=lhn”/>
<!– mp_trans_process_disable_end –>

<link rel=”canonical” href=”http://www.asos.com/Men/Bags/Cat/pgecategory.aspx?cid=9265″ />