Redirection for Google's Change of Address Tool

I’m trying to submit a Change of Address to Google and its validation of checking that http://careercraft.app redirects to https://careercraft.com is failing because the 301 takes http://careercraft.app to https://careercraft.app (which then 301 redirects to https://careercraft.com). It looks like they don’t like dealing with multiple redirections like this and that there’s no way to disable HTTPS within Netlify. I tried writing a rewrite rule to redirect http://careercraft.app to https://careercraft.com but it doesn’t seem to be working. This is what I have in our netlify.toml.

[[redirects]]
from = "http://careercraft.app/*"
to = "https://careercraft.com/:splat"
force = true

Did I misconfigure something?

Looks like curling http://careercraft.app gives me the 301 redirect I’m expecting and Google can’t seem to even fetch the pages now so I’m guessing the issue is more on Google’s end now.

And if anyone runs into this issue with Google as well, following https://support.google.com/webmasters/thread/16201094?hl=en&msgid=33730812 did the trick

1 Like