【问题标题】:Google Webmaster Tools gets 301 Redirect incorrectlyGoogle 网站管理员工具错误地获得 301 重定向
【发布时间】:2014-10-03 23:32:01
【问题描述】:

在 Google 网站管理员工具中,我告诉 Google 抓取并呈现我的网站:

包括: http://smartnavi-app.com/download

Google 向我展示了它的 HTTP 响应:

HTTP/1.1 301 Moved Permanently
Date: Mon, 11 Aug 2014 07:24:56 GMT
Server: nginx/1.4.2
Connection: Keep-Alive
Content-Type: text/html;charset=UTF-8
Location: http://smartnavi-app.com/index.html
Content-Length: 0
Keep-Alive: timeout=5, max=100

但该网址不应该有重定向!

如果我打开此 URL,我不会正确重定向。那么为什么是谷歌呢?

【问题讨论】:

    标签: apache2 http-status-code-301 url-redirection http-redirect google-search-console


    【解决方案1】:

    我明白了。我正在使用 prerender.io 为 Crawler-Bots 缓存我的 AJAX 网站。 在 .htaccess 中,prerender.io 部分中的我的域是旧的,所以有一种重定向循环。 因此,如果您更改重定向等,请不要忘记您的 prerender.io 内容!

    【讨论】:

      猜你喜欢
      • 2013-11-16
      • 1970-01-01
      • 2014-03-25
      • 2014-03-12
      • 2013-08-20
      • 2017-01-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多