Implement correctly rel = alternate, rel = canonical and rel = amphtml

0

I'm going crazy to try to understand how I should implement these tags so as not to get Google dizzy with what it has to index and what it does not. The fact is that I have a news section with an AMP version. In addition, some of these news also have an English version.

If I have a story in Spanish and English, I have the following:

<link rel="alternate" hreflang="es" href="http://localhost/xboxone/es/noticia/777/Deals-With-Gold-y-ofertas-Spotlight-de-Xbox-One-y-Xbox-360-hasta-el-15-de-mayo-de-2018/">
<link rel="amphtml" hreflang="es" href="http://localhost/xboxone/es/noticia/777/Deals-With-Gold-y-ofertas-Spotlight-de-Xbox-One-y-Xbox-360-hasta-el-15-de-mayo-de-2018/amp/">
<link rel="alternate" hreflang="en" href="http://localhost/xboxone/en/news/777/Xbox-One-and-Xbox-360-Deals-With-Gold-and-Spotlight-Sales-until-may-15/">
<link rel="amphtml" hreflang="en" href="http://localhost/xboxone/en/news/777/Xbox-One-and-Xbox-360-Deals-With-Gold-and-Spotlight-Sales-until-may-15/amp/">

When I enter the AMP version of the news item in Spanish for example (with NO AMP version and English version), I use the following:

<link rel="canonical" hreflang="es" href="http://localhost/xboxone/es/noticia/777/Deals-With-Gold-y-ofertas-Spotlight-de-Xbox-One-y-Xbox-360-hasta-el-15-de-mayo-de-2018/">
<link rel="alternate" hreflang="en" href="http://localhost/xboxone/en/news/777/Xbox-One-and-Xbox-360-Deals-With-Gold-and-Spotlight-Sales-until-may-15/">

Would it be correct? The examples given in the page of AMP and Google does not speak of cases in which you have AMP version, standard and a version in another language. It is a theme similar to this .

    
asked by JetLagFox 04.06.2018 в 01:08
source

0 answers