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

Change of Address, Error in site redirection on Google Console

· 52CE 我爱测

I am trying to change my domain on Google Search console using Change of Address tool, and for some reasons Google is throwing an error saying: The old site redirects to edbinx.com, which does not correspond to the new site you c…

问题原文

原帖链接 · Fennec · CC BY-SA 4.0

I am trying to change my domain on Google Search console using Change of Address tool, and for some reasons Google is throwing an error saying:

The old site redirects to edbinx.com, which does not correspond to the new site you chose.

Just to confirm that my 301 is working, I tried making cURL calls and got the expected 301 redirects, I don't know where I am going wrong with this on Google Console.

I found this question very similar to the issue I am facing, Change of Address (Google Webmasters Tools) Error, but unfortunately I cannot implement the answer provided.

Thank you for your help.

已采纳解答

原帖链接 · Stephen Ostermiller · CC BY-SA 4.0

Your problem is that you are not redirecting HTTP (as opposed to HTTPS) and www. properly. This redirect is correct:

$ curl https://edbinx.com --head
HTTP/2 301
location: https://error.how/

However, these three redirects are not correct. They should all point directly at your new site, not redirect to the canonical form of your old site:

$ curl http://www.edbinx.com/ --head
HTTP/1.1 301 Moved Permanently
Location: https://www.edbinx.com/

$ curl http://edbinx.com/ --head
HTTP/1.1 301 Moved Permanently
Location: https://edbinx.com/

$ curl https://www.edbinx.com/ --head
HTTP/2 301 
location: https://edbinx.com/

If you change those three redirects to point directly to https://error.how/ then Google will be able to process your change of address correctly.

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

资料来源与适用范围

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

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

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