简体   繁体   中英

301 Redirect pointing to a different location

I can browse the website https://builtsearch.com.au through browser correctly but when I use cUrl command and use googlebot as the agent I get this.

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**

This wrong 301 redirection is stopping googlebot from indexing the website.

The website is using Wordpress.

Any thoughts?

Thanks Tony McCreath. It turns out that my index.php was updated by some malicious plug-in. Sanitizing the index.php seems to resolve the issue.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM