我有一个具有如下urls的多语言站点
https://example.org/en/ads/2
https://example.org/es/ads/2
https://example.org/it/ads/2以不同的语言为网站服务。我的网站也接受这样的URL
https://example.org/ads/2在这种情况下,内容以默认语言(西班牙语)送达。
该站点不生成任何没有区域设置的URL。它接受这类URL,但是下面的任何内部导航链接都是用默认的locale (es)生成的。
有人告诉我,这对搜索引擎优化是不好的,因为不同的URL (https://example.org/ads/2,https://example.org/es/ads/2)提供相同的内容。
这是真的吗?如果是,为什么?
发布于 2016-03-30 19:42:45
如果你适当的规范化,这是好的。使用rel="canonical"来指定页面是相同的,并为其他语言指定hreflang。
<link rel="canonical" href="https://example.org/es/ads/2">
<link rel="alternate" hreflang="en" href="https://example.org/en/ads/2">
<link rel="alternate" hreflang="es" href="https://example.org/es/ads/2">
<link rel="alternate" hreflang="it" href="https://example.org/it/ads/2">https://webmasters.stackexchange.com/questions/91842
复制相似问题