href="x-default" for english version which isn't an auto-redirecting homepage or country selector?
Posted
by
Noam
on Pro Webmasters
See other posts from Pro Webmasters
or by Noam
Published on 2013-10-29T13:07:43Z
Indexed on
2013/10/29
16:13 UTC
Read the original article
Hit count: 268
for each url on my site, I'm auto-redirecting according to header accept language. The site arch is
english version: http://mydomain.com/page
spanish version http://es.mydomaina.com/page
etc..
The english version is displayed unless I'm seeing a specific language other than en and that I support in the header, and then a redirect occurs.
Google says this:
For language/country selectors or auto-redirecting homepages, you should add an annotation for the hreflang value "x-default" as well:
My pages aren't language selectors, nor are they the homepage. But I am auto-redirecting.
My question is, should my english version be hreflang="x-default"
or/and hrefland="en"
?
© Pro Webmasters or respective owner