Hreflang="x-default"
-
Hello all
This is my first question in the Moz Forum, hope I will get some concrete answers
I am looking for some suggestions on implementing the hreflang="x-default" properly in our site. Any previous experience or a link to a specific resource/ example will be very helpful. I have found many examples on implementing the homepage hreflang, however nothing on non-homepage urls within your site.The below will be the code for the "Homepage" for /uk/. Here /en-INT/ is a Global English site not targeted for any country unlike en-MY, en-SG, en-AU etc. Is this the correct approach?
Now, in case of non homepage urls, should the respective en-INT url be "x-default" or the "x-default" shouldn't exist altogether? For example, will the below be the correct coding?
Many thanks
Avi
-
Hi Avi,
You're doing it the right way. However the x-default also shouldn't exist. It's just the dummy text.
Hope this helps!
-
Hi Martin
Thanks for your response. I am a bit confused when you said I am doing it right/ but the x-default shouldn't exist. Could you clarify a bit?
Thanks.
-
Your first set of examples is right for the homepages. For the product pages (the second one) the only line you have to delete is the line with the hreflang="x-default".
-
Martijn - "x-default" is correct:
For language/country selectors or auto-redirecting homepages, you should add an annotation for the hreflang value "x-default" as well:
-
Hi Avi, thanks for your question! Did any of these responses answer it? If so, please mark one or more as a "good answer". If not, please let us know how we can help.
Christy