大网数据广告活动
网站运营与故障问答

Google Search Console: alternate URLs in XX that do not have return tags

· 52CE 我爱测

on http://example.com/ server response with (response based on Accept-Language header): HTTP/1.1 301 Found Location: /en/ on http://example.com/en/ in page <head></head> : <link rel="alternate" href="http://example.com/" hreflang…

问题原文

原帖链接 · ar099968 · CC BY-SA 3.0

on http://example.com/ server response with (response based on Accept-Language header):

HTTP/1.1 301 Found
Location: /en/

on http://example.com/en/ in page <head></head>:

<link rel="alternate" href="http://example.com/" hreflang="x-default" />
<link rel="alternate" href="http://example.com/it/" hreflang="it" />
<link rel="alternate" href="http://example.com/en/" hreflang="en" />
<link rel="alternate" href="http://example.com/es/" hreflang="es" />
<link rel="alternate" href="http://example.com/fr/" hreflang="fr" />
<link rel="alternate" href="http://example.com/ptb/" hreflang="pt" />
<link rel="alternate" href="http://example.com/chs/" hreflang="zh" />
<link rel="alternate" href="http://example.com/de/" hreflang="de" />

Google Search Console (old Web Master Tool) in International Targeting panal tell me:

URLs for your site and alternate URLs in 'x-default' that do not have return tags.
/  -->  http://example.com/en/

URLs for your site and alternate URLs in 'pt' that do not have return tags.
/  -->  http://example.com/ptb/

URLs for your site and alternate URLs in 'it' that do not have return tags.
/  -->  http://example.com/it/

etc. for each language....

what am I doing wrong?

已采纳解答

原帖链接 · Andrey Shulman · CC BY-SA 3.0

URLs for your site and alternate URLs in 'x-default' that do not have return tags. / --> http://example.com/en/

This means that http://example.com/en/ doesn't have x-default to http://example.com/

URLs for your site and alternate URLs in 'pt' that do not have return tags. / --> http://example.com/ptb/

http://example.com/ptb/ doesn't point to http://example.com/ with x-default

URLs for your site and alternate URLs in 'it' that do not have return tags. / --> http://example.com/it/

http://example.com/it/ doesn't point to http://example.com/ with x-default

Basically, you need to have absolutely the same hreflang alternate tags all over your website; on every language absolutely the same tags.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2016-03-31)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。