【问题标题】:301 Redirect pointing to a different location301重定向指向不同的位置
【发布时间】:2021-06-01 14:54:00
【问题描述】:

我可以通过浏览器正确浏览网站https://builtsearch.com.au,但是当我使用 cUrl 命令并使用 googlebot 作为代理时,我得到了这个。

curl -A 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)' -i https://builtsearch.com.au/
HTTP/1.1 301 Moved Permanently
Date: Wed, 03 Mar 2021 02:24:42 GMT
Server: Apache
X-Powered-By: PHP/7.3.18
X-Frame-Options: SAMEORIGIN
Location: http://www.micaze.com/kategori/izmir-escort/
Content-Length: 0
Content-Type: text/html; charset=UTF-8**

这个错误的 301 重定向正在阻止 googlebot 为网站编制索引。

该网站正在使用 Wordpress。

有什么想法吗?

【问题讨论】:

  • 看来你被黑了。检查您的 .htaccess 文件中是否提及该 url。发现黑客攻击后,请按照最佳做法在黑客攻击后进行清理并阻止其再次发生。

标签: wordpress googlebot


【解决方案1】:

感谢托尼·麦克雷思。原来我的 index.php 被一些恶意插件更新了。清理 index.php 似乎可以解决问题。

【讨论】:

  • 很高兴知道。我想你可以将此标记为最佳答案:-)
猜你喜欢
  • 2018-07-23
  • 2011-12-12
  • 1970-01-01
  • 2011-08-10
  • 2012-02-26
  • 2014-03-11
  • 2014-12-18
  • 1970-01-01
  • 2014-08-31
相关资源
最近更新 更多