How to properly implement hreflang?


#1

Hi folks how are you doing. I got a favor to ask. I can’t seem to make this hreflang to work. It’s been close to a year and no pages are index using this technique.

My website is a 2 language one. Default ES and alternative EN.

I got link in default ES page to EN: <link rel="alternate" hreflang="en" href="https://www.amigote.com/gente/usa?language_id=1" />

and in EN version link to ES version: <link rel="alternate" hreflang="es" href="https://www.amigote.com/gente/usa" />

Question. Do I need a link from EN page to default ES one?

And what about this x-default should I use it in my default ES page?

Feel free to visit my page and check the code to identify the issue please tell me to to make this work.

Should I only use hreflang on default ES page and none on alternative version EN in my case?


#2

Google has guidelines and links to some debugging tools here:

https://support.google.com/webmasters/answer/189077?hl=en


#3

Thanks buddy this is what I used a year ago and I can’t make this work. Please give me some pointers here.


#4

Which part of Google’s guidelines are you having difficulty with?


#5

Try this “Ninja” link from the Google Help Page:

http://hreflang.ninja/check/?url=https%3A//www.amigote.com/gente/usa