Search Knowledge Base by Keyword

Table of Contents
< Back
You are here:

Duplicate URL’s used in HREFLang Elements

We have detected that you have used the same URL multiple times in your HREFLang elements.   Typically, each HREFLang element would be unique to a language version of the site.  There are cases where it is acceptable to repeat the URL multiple times.

Use Case 1 – Global and Local Site are the same

In this case for ESPN, they are used In this case with ESPN, this example we should NOT show an error as this is a suggested reason for duplication.

<link rel=”alternate” hreflang=”en” href=”” />
<link rel=”alternate” hreflang=”en-us” href=”” />

<link rel=”alternate” hreflang=”x-default” href=”” />

1.  The global home page is in English and the desired page for all English countries were another page has been designated for that region.

2.  The global home page is also the page for the United States – note, you can get the same impact using the “en” version but as this is a .com want to ensure it is the version used in the US.

3.  The global home page is also the “default” page to show in any country where there is not a designated page.

Use Case 2 – Regional or Local Site Used for Multiple Markets 

In this use case, the company may have a regional site like /latam or /apac or a /eu site and they want to set it for multiple markets.  Our tool will flag it as a warning just to make sure you did this on purpose.
<link rel=”alternate” hreflang=”es-ve” href=”” />
<link rel=”alternate” hreflang=”es-cr” href=”” />
<link rel=”alternate” hreflang=”es-gt” href=”” />

Outbrain is an example where they have a single site for Latin America and the Caribbean and don’t want to use the Spain Spanish (see note below) page for all those markets.  They have set each of the countries to the regional page.

<link rel=”alternate” hreflang=”es-LA” href=””>

<link rel=”alternate” hreflang=”es-AR” href=””>

<link rel=”alternate” hreflang=”es-BO” href=””>

<link rel=”alternate” hreflang=”es-CL” href=””>

<link rel=”alternate” hreflang=”es-CO” href=””>

<link rel=”alternate” hreflang=”es-CR” href=””>

<link rel=”alternate” hreflang=”es-CU” href=””>

<link rel=”alternate” hreflang=”es-DO” href=””>

<link rel=”alternate” hreflang=”es-EC” href=””>

<link rel=”alternate” hreflang=”es-GT” href=””>

<link rel=”alternate” hreflang=”es-HN” href=””>

<link rel=”alternate” hreflang=”es-HT” href=””>

<link rel=”alternate” hreflang=”es-MX” href=””>

<link rel=”alternate” hreflang=”es-NI” href=””>

<link rel=”alternate” hreflang=”es-PA” href=””>

<link rel=”alternate” hreflang=”es-PE” href=””>

<link rel=”alternate” hreflang=”es-PR” href=””>

<link rel=”alternate” hreflang=”es-PY” href=””>

<link rel=”alternate” hreflang=”es-SV” href=””>

<link rel=”alternate” hreflang=”es-US” href=””>

<link rel=”alternate” hreflang=”es-UY” href=””>

<link rel=”alternate” hreflang=”es-VE” href=””>

This is not bad except for this entry which is incorrect since the ISO region code for LA is Laos which is in South East Asia not Latin America” which does not have a code.

<link rel=”alternate” hreflang=”es-LA” href=””>


Table of Contents