I hope this is the right Reddit to ask this question.
I have a WordPress site with Cloudflare.
I just checked the serverlogs on Cloudflare to see that some instances on some particular URLs return 301 even though the URL should return 200. (It’s not redirecting to anything).
At first, I was thinking my website was hacked or something. I then checked, and I see that most of these requests are coming from particular IPs. Ok, that was a bit of relief. I thought maybe those IPs had something wrong, and Cloudflare redirected them as it blocked them.
For other IPs, the URLs in question returned 200. That was OK.
However, I also noticed that in some of these instances that return 301 instead of 200, there was Googlebot. Why would Googlebot be redirected if the page does not redirect to another page?
I’m sure this is Googlebot because it has 15169 ASN.
I made a quick phyton script to run those URLs 100 times with Googlebot as the user agent to see if any instances are redirected. Each one returned 200. So it was OK.
What could be the cause?
How can I see to which pages they’re redirected?
Am I missing something?
Thank you!
[ad_2]