Fetch as Google returns 301

pagerules
wordpress

#1

Hi, I’m new here - so sorry if not right topic. My site is on wpengine, cloudflare used for DNS. Recently I noticed that some urls, when fetched in google webmaster tools, are marked as redirected. So I took a look and discovered that it’s done by cloudflare. (See below):

HTTP/1.1 301 Moved Permanently
Date: Fri, 12 Oct 2018 13:32:59 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=XXXXXXXXXXXXXXXXXXXXXXXXXXX; expires=Sat, 12-Oct-19 13:3
Location: http://XXXXXXXXXXXXXXXXXXXXXXX
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expec
Vary: Accept-Encoding
Server: cloudflare
CF-RAY: XXXXXXXXXXXXXXXX-ATL
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>

No redirects for this resource in htaccess and no page rules, nothing ! Resource is working normally, but google doesn’t see it and is not crawling/indexing !

I opened ticket as well, but during 24h no reply !

Any inputs or suggestions ?

Thanks


#2

That’s the http:// version of your website. You should add the https:// version of your website to the search console and look at those statistics.


#3

I thought so initially, but no - it’s https:// version in search console…That’s why this mystery…I have there around 8K URLS and currently this is only one giving such result, others are fetching correctly…Setup is same…


#4

:wave: @guntis,

You might double-check by testing against your origin directly. I don’t believe Cloudflare returns a body with their 301 redirection.

-OG


#5

This topic was automatically closed after 31 days. New replies are no longer allowed.