在我的网站上,我有英文和荷兰的内容,这里是我的hreflang链接
<link rel="alternate" href="https://www.sample.com/en/" hreflang="en-us" />
<link rel="alternate" href="https://www.sample.com/nl/" hreflang="nl-us" />
<link rel="alternate" href="https://www.sample.com/nl/" hreflang="en-nl" />
<link rel="alternate" href="https://www.sample.com/nl/" hreflang="nl-nl" />
<link rel="alternate" href="https://www.sample.com/en/" hreflang="en" />
<link rel="alternate" href="https://www.sample.com/nl/" hreflang="nl" />
<link rel="alternate" href="https://www.sample.com/en/" hreflang="x-default" />
但是当我从google.nl
访问网站时,它会重定向到https://www.sample.com/en/
而不是https://www.sample.com/nl/
实际问题是什么
注意 客户端不允许访问谷歌搜索控制台,以便我不能错误
答案 0 :(得分:0)
删除&#34; en&#34;并将x-default url更改为类似的内容 -
<link rel="alternate" href="https://www.sample.com/" hreflang="x-default" />