Pixel Pixel - 6 months ago 29
HTML Question

No hreflang return tag detected by Google

I have some indexing errors on Google Search Console saying that many pages of my site have an alternate version in another language but they miss the "return tag" , which i think is the pointer back to the "canonical" version in English.

For example this page is the canonical one in English http://www.thebitles.com/ which points to the spanish version through this meta tag

<link rel="alternate" hreflang="es" href="/es/" />


And the Spanish version is http://www.thebitles.com/es/
which points back to the canonical version through this tag

<link rel="canonical" hreflang="en" href="/" />


I can't figure out where is the error, the return tags are there.
Anyone has an idea? Thanks

Answer

Found out my errors: <link rel="canonical" hreflang="en" href="/" /> does not exit, i had to replace it with <link rel="alternate" hreflang="en" href="/" /> and that is a correct return tag. Furtherly i missed the alternate/hreflang tags which point to the same page: <link rel="alternate" hreflang="xx" href="yy" /> which are required even if there are already the language meta tags <meta http-equiv="content-language" content="xx">

Comments