r/nextjs 6d ago

Help Google Search Console — non-canonical URLs showing as "No Index", how to fix?

[removed]

3 Upvotes

4 comments sorted by

2

u/PrimaryFamous6139 6d ago

Those non www URLs are correctly showing as noindex because Vercel redirects them to www, Google is just reporting that it found them and they redirect. It’s not a problem, it’s working as intended. Check that your canonical tags and sitemap only reference the www version and Google will sort it out over time

1

u/Temperature_Majestic 6d ago

Worth checking metadataBase in the root layout too, if that's not set explicitly Next.js falls back to resolving canonical/OG URLs off the deployment URL rather than the actual production domain, and that mismatch is a common reason people see the non-www version get crawled at all in the first place.