GSC redirect error after 301 domain redirect in vercel

Good evening everyone, thanks for giving us the opportunity to share our issue here.

Description: We have a domain and a landing page on https://profitpath.app (live for about 1 year) and we started the past week to migrate this landing page to a new domain under https://profitpath.com. However, we started our SEO and Pages on the domain .app and want to move it now fully to .com. This brings us directly to the issue we are facing.

Configuration: We have added the new .com domain to vercel domains with all the necessary configuration to get SSL running etc. The domain is valid and accessible. From this point on, we added a “301 Moved Permanently” redirect in vercel from .app to .com (screenshot 1). Everything looks just fine, works fine and is redirecting correctly to the new domain. Our website uses next-intl. as internationalization, so once a user goes onto profitpath.com, there is always a redirect happening to Die beste Online Arbitrage Software (We add the /[locale] automatically based on the users origin - this is btw next-intl. default behaviour). Now the issues are coming up.

Google Search Console: Since we have the .app domain on the google search console, we try to use the tool “Change of address” from the old website (.app) to the new website (.com). Both websites are inside the console and the properties exist. As soon as we try to update the domain address change, google hits us with an error that it tries to access the http version (screenshot 2) and it fails saying that a 301 redirect is missing. Since we do not have the http in vercel, how am I supposed to fix this error? Adding a new https property (screenshot 3) to google and trying it from there returns me still a 301 error - the same as in “screenshot 2”.

Unfortunately we have spend almost a week now on it and we have no more ideas how to get the address change running. Our traffic declined by a lot and we cant get it back up working.

Any information you have, even if they are not helpful in the end, is much much appreciated. We have no more ideas so I want to thank everyone that could take the time and maybe help us out.

The domain troubleshooting guide can help with most custom domain configuration issues. You might be able to use that guide to solve it before a human is available to help you. Then you can come back here and share the answer for bonus points.

You can also use v0 to narrow down the possibilities.

Hey, @bearbricknik! Welcome :waving_hand:

It looks like Google Search Console is trying to check the HTTP version of your site, but Vercel enforces HTTPS by default and doesn’t expose HTTP endpoints.

You can add an explicit redirect in vercel.json to make sure GSC sees a proper 301:

{
  "redirects": [
    { "source": "/(.*)", "destination": "https://profitpath.com/$1", "permanent": true }
  ]
}

Let us know how you get on!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.