Duplicate URLs on an 11-page Astro site traced to www and trailing-slash conflicts on Vercel
A small static browser game site built with Astro and hosted on Vercel saw its main keyword drop out of Google's top 10 in late November. Search Console showed split signals, with impressions divided between the apex and www domains and several pages flagged as redirects or not indexed. The author found that the sitemap, generated from a www site URL, listed addresses that Vercel redirected to the non-www domain. Canonical tags and structured data also disagreed about which host and trailing-slash format to use. Further investigation showed that Vercel served identical content at both slashed and non-slashed paths, requiring a routing configuration change.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in