All scenarios/ Developer
Five silent Next.js SEO bugs a green deploy hides, and how to find them on every route
The build is green, Vercel says Ready, the pages look right. Weeks later Search Console shows duplicate titles and pages Google chose not to index. In the App Router the usual causes are silent: a page marked "use client" falls back to the layout's metadata, a missing metadataBase leaves og:image relative, a trailing-slash setting adds a 308 to internal links, and hydration changes the canonical the server sent.
- Who
- A developer or founder shipping on Next.js, often with v0
- Site
- A Next.js App Router site on Vercel or another host
- What hurts
- Duplicate titles and unindexed pages after a clean build
- What you need
- Every affected route, grouped by the file that causes it
Steps in GLLmolfar
Crawl production or a preview
Paste the production or preview URL and choose Spider + sitemap: every linked route and every sitemap entry, with each redirect hop and status recorded.
Crawl — docs
In the screenshot: Starting a crawl Catch layout titles and bad canonicals
Page titles lists titles repeated across pages — the mark of metadata falling back to the layout. The Canonicals set lists canonicals pointing elsewhere or to a bad target.
Content and Canonicals — docs
In the screenshot: Duplicates and canonicals See what hydration changes
The JavaScript set flags pages whose title, canonical or meta robots change after JavaScript, where server HTML and client React disagree.
JavaScript — docs
In the screenshot: JavaScript tab Group by the file that causes it
Batch fixes gathers problems from one place — a template, the shared layout, the server — so one change in layout.tsx or next.config.js closes many routes.
Batch fixes — docs
In the screenshot: Batch fixes Check one route right after the edit
URL audit reads a single page on demand: title, canonical, Open Graph tags and structured data, before the next full crawl.
URL audit — docs
In the screenshot: URL audit Compare the deploys
Crawl after the release and compare the two crawls in History: what got better, what got worse.
History — docs
In the screenshot: Crawl history
What you get
Routes with broken metadata
Pages sharing the layout's title, and og:image or canonical that are not full URLs.
The redirect hops
Redirects that land on another redirect, and the links that still point at them.
Fixes by file
Problems grouped by template, layout or server, so one commit closes them.
Good to know
- GLLmolfar reads the pages Next.js serves; it does not read or change your repository.
- A clean crawl removes the technical cause; Google still takes time to recrawl.
Questions
- Why does npm run build stay green?
- A page with "use client" simply exports no metadata the router can use. That is not an error, so nothing fails.
- Does it record 308 redirects?
- Yes: every hop with its status, the final status, and the internal links that still point at the redirecting address.
- Does this work for Astro, Nuxt or SvelteKit?
- Yes. The checks read HTTP responses and the rendered page, so they apply to any framework.