Search Knowledge Base by Keyword

Table of Contents
< Back
You are here:
Print

Error – Canonical is Self-referencing HREFLang Entry

I have not been able to find the source for this little gem of information, but it is completely incorrect.  In the majority of cases where a site has a lot of non-self-referencing errors in Google Search Console, it is caused by site owners trying to use a canonical for the self-referencing element.  This is an example of this mistake when referencing the Argentina Spanish page.

Argentina Site – https://www.mysite.com/ar/

<link rel=”alternate” hreflang=”en-IE” href=”https://www.mysite.com/ie/”/>

<link rel=”Canonical” hreflang=”es-AR” href=”https://www.mysite.com/ar/”/>

Ireland Site https://www.mysite.com/ie/

<link rel=”Canonical” hreflang=”en-IE” href=”https://www.mysite.com/ie/”/>

<link rel=”alternate” hreflang=”es-AR” href=”https://www.mysite.com/ar/”/>

Clarification:  This is incorrect, and you must use a hreflang element for the self-referencing element.  For example, if the hreflang tags are on the local pages should look like this.

 

Argentina Site – https://www.mysite.com/ar/

<link rel=”alternate” hreflang=”en-IE” href=”https://www.mysite.com/ie/”/>

<link rel=”alternate” hreflang=”es-AR” href=”https://www.mysite.com/ar/”/>

 

Ireland Site https://www.mysite.com/ie/

<link rel=”alternate” hreflang=”en-IE” href=”https://www.mysite.com/ie/”/>

<link rel=”alternate” hreflang=”es-AR” href=”https://www.mysite.com/ar/”/>

Table of Contents