【发布时间】: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。发现黑客攻击后,请按照最佳做法在黑客攻击后进行清理并阻止其再次发生。