Domain redirect errors in Google Search Console


#1

I am trying to redirect an old site. I went to do a ‘change of address’ in Google Search Console but when I do a validation check, it is failing. Instead of redirecting to the new address, it is adding a string of 5 random characters to the old URL.

The page rule setup in my Cloudflare is:

*.alldentalprodx.com/*
which redirects (permanent 301) to https://adprodx.com

If I type in “http://alldentalprodx.com” into my browser, I get something like this: http://alldentalprodx.com/NWifZ (though those last 5 characters seem randomly generated)

If I do it using ‘www’ in front, it redirects properly…

When I ‘Fetch as google’ in my Search Console, this is the downloaded HTTP response:

HTTP/1.1 302 Found
Date: Wed, 02 May 2018 21:47:35 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=d8c53d84a069762a6ddd5e7226950dc691525297655; expires=Thu, 02-May-19 21:47:35 GMT; path=/; domain=.alldentalprodx.com; HttpOnly
Pragma: no-cache
cache-control: no-cache
Location: /NWifZ/
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Server: cloudflare
CF-RAY: 414dafeb9ab6554c-ORD

GoDaddy is the site and Registrar so I don’t know if it is a problem on their end?


#2

I do see your behavior, but the issue is with the Page Rule, change the matching from *.alldentalprodx.com/* to *alldentalprodx.com/* or create an additional one covering alldentalprodx.com/*.

If you try accessing it via www.alldentalprodx.com works:

curl -I http://www.alldentalprodx.com/
HTTP/1.1 301 Moved Permanently
Date: Sat, 05 May 2018 10:32:22 GMT
Connection: keep-alive
Cache-Control: max-age=3600
Expires: Sat, 05 May 2018 11:32:22 GMT
Location: https://adprodx.com
Server: cloudflare
CF-RAY: 41628af4c53d97f2-FRA

#3

Ah of course! I can’t believe I didn’t catch that period. Thank you so much @matteo


#4

No worries! It happens! Have a great day!


#5

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