Next.js SEO on a site your team edits every week
Next.js SEO starts with metadata, a sitemap and 404s in code. If your team edits weekly, run the checks on every change. The checklist, and how Vunora runs it.

Next.js SEO is set up in code once, and then it breaks one page at a time. Your developer sets the metadata, the sitemap and the 404s. Then your team adds a landing page, renames a product or publishes a post. One of those pages goes live with no description, or with a title another page has too. To keep a site like that in shape, run the checks on every change, not once at launch. This post gives the Next.js checklist, then shows how Vunora runs it after each import and each publish.
What Next.js does for SEO
On the App Router, each layout and page can export a metadata object or a generateMetadata function. Next.js turns them into the title, description and other tags in the page's head. The docs say these exports "are only supported in Server Components", so the server can put the metadata in the first HTML it sends.
When generateMetadata waits on a fetch, Next.js can stream the metadata after the first part of the page. The tags then land in the body, which the docs say Googlebot reads correctly. For crawlers that cannot run JavaScript, Next.js waits and puts the tags in the head. The htmlLimitedBots setting in your Next.js config decides which crawlers get that.
Next.js next to a Vite app
A React app built with Vite sends an almost empty HTML file, and the browser builds the page with JavaScript (client-side rendering). A search engine sees your words only after it runs that JavaScript. Next.js renders the page on the server. The HTML that arrives already holds your words and your metadata.
For the Vite side, read how to fix React SEO on a Vite single-page app. For the wait before a crawler runs your script, read why search engines skip your vibe coded pages. Pages Next.js builds ahead of time use static site generation, so their HTML is ready before anyone asks for it.
Lovable now draws the same line inside one tool. Its docs, read 1 Dec 2026, say apps created from May 13, 2026 (June 22, 2026 on Enterprise plans) use TanStack Start with server-side rendering, so they send their words in the HTML the way Next.js does. Older Lovable apps are React with Vite and keep that setup unless the owner upgrades. The JavaScript SEO guide for vibe coded sites covers every kind of site.
A Next.js SEO checklist
A Next.js SEO checklist
- Not done yet: Each route sets its own title and descriptionWithout one, a page takes the title of the closest parent.
- Not done yet: metadataBase is set in the root layoutA relative URL in a URL field without it causes a build error.
- Not done yet: Each page has a canonical URLalternates.canonical, made absolute through metadataBase.
- Not done yet: Each page that sets openGraph sets all of itA page's openGraph replaces the whole openGraph of its layout.
- Not done yet: A sitemap lists every page and postapp/sitemap.ts on the App Router.
- Not done yet: Each page has one H1, and each image has alt textNext.js leaves these to your components.
- Not done yet: A missing page returns a 404notFound() on the App Router, { notFound: true } on the Pages Router.
Most of these sit in your root layout. A title template there gives every page the same suffix:
// app/layout.tsx
export const metadata = {
metadataBase: new URL("https://www.example.com"),
title: { default: "Example", template: "%s | Example" },
}
// app/pricing/page.tsx
export const metadata = {
title: "Pricing",
description: "Plans for one site or many.",
}
// The pricing page's title reads "Pricing | Example"Two of the checks catch developers out:
- Open Graph fields. Next.js merges metadata from the layout down to the page, but only one level deep. If a page sets
openGraph.titleand nothing else, the layout's Open Graph image and description are gone from that page. - 404s that stream.
notFound()returns a 404 when it runs before the response starts. If the page has already started to stream, the status stays 200, and Next.js adds anoindextag instead.
Three subjects need more than one line of a checklist. How to set the canonical tag explains how to pick each page's canonical URL. How to add schema markup covers structured data in JSON-LD. Why Core Web Vitals fail on a vibe coded site covers Core Web Vitals, Google's measures of load speed, response to input and layout shift.
For the sitemap, app/sitemap.ts "is a special Route Handler that is cached by default". One sitemap holds up to 50,000 URLs, and generateSitemaps splits a larger site.
Check this Next.js app against this SEO list. Report first, and change nothing until I say yes.
1. Is metadataBase set in the root layout?
2. Which routes set no title or description of their own?
3. Which pages have no canonical URL in alternates.canonical?
4. Which pages set openGraph without all of title, description and images? A page's openGraph replaces the layout's whole openGraph.
5. Is there an app/sitemap.ts or a pages/sitemap.xml.ts? Is there also a fixed public/sitemap.xml?
6. Which pages have no h1, or more than one? Which images have no alt text?
7. Does a missing page return a 404, through notFound() or { notFound: true }? Flag any notFound() that may run after streaming starts.
For each problem, name the file and propose the fix.Paste it in your tool, opened in your site's repository.
Why a site your team edits drifts
Your developer checks these once, when the site launches. Each week after that, your team changes words and pages. Each change can break one check:
- A new landing page goes live with no description of its own.
- Two pages end up with the same title.
- A post goes live, and the sitemap does not list it.
- An image arrives with no alt text.
A check you ran at launch does not see any of them. The checks need to run when the words change.
How Vunora runs the checks
Vunora's SEO checklist checks a whole site in five groups: crawl and index, content, speed, structured data and AI search. It runs at four times:
- Once, when your site arrives in Vunora.
- Before each page or post goes live.
- Every Monday at 7 AM, in your workspace's time zone.
- When anyone who can edit the site chooses Run checklist.
A run reads up to 50 pages of your live site and uses no AI Usage Credits. Only the Fix with AI buttons use Vunora AI.
When someone presses Publish on a page with a problem, Vunora shows "SEO check for this page" first. They can fix it now or publish anyway.
SEO check for this page
- Needs a fix: Page titlesThis page shares the title Pricing with another page.Fix with AI
- Done: Meta descriptions
- Done: One H1 per page
- Done: Images have alt text
How to run an SEO check on every page lists every check and how each one gets fixed.
Fix the Next.js sitemap in your repo
Fix sitemap.xml sends one change to your repo, as a commit or a pull request.
- App Router: it writes
app/sitemap.ts, which lists every page and post you publish in Vunora and refreshes each hour. If Vunora does not answer, the sitemap lists nothing rather than failing. - Pages Router: it writes
pages/sitemap.xml.ts. ItsgetServerSidePropspasses Vunora's sitemap through, with a one-hour cache on your host's CDN.
Vunora does not overwrite a sitemap your code already builds. If your repo has its own app/sitemap.ts, Vunora leaves that file as it is. It tells you: "Your site builds sitemap.xml in app/sitemap.ts, and your own files win, so Vunora leaves it alone. Add your Vunora pages and posts to that file in your repository."
If your repo has a fixed public/sitemap.xml, Vunora asks you to delete it first. A fixed file goes out of date as your team adds pages.
Titles on the pages your team adds
The import adds a catch-all route that serves the pages your team adds in Vunora. Its generateMetadata reads each page's title and description from that page's SEO tab. It builds on your layout's metadata and never replaces it, and it adds no Vunora name to your titles.
Pages that were in your code before the import may set their title in code. On such a page, the SEO tab locks its title and description boxes and says where to edit them. The post how to give your marketing team a CMS for your Next.js site shows what the import adds to your repo.
Where this stops
- Vunora does not submit your sitemap to Search Console. You do that once, in Search Console.
- It does not change how your site renders.
- A run reads up to 50 pages of your live site.
- No check can promise a ranking. Checks remove the reasons a page gets skipped.
Questions
Is Next.js good for SEO? Next.js renders pages on the server, so crawlers get your words and metadata in the HTML. Each page's title, description and links still come from your code and your team, so the checks still matter.
How do I add a sitemap in Next.js? On the App Router, add app/sitemap.ts. It returns a list of URLs, and Next.js serves it at /sitemap.xml. On the Pages Router, a route at pages/sitemap.xml.ts returns the XML.
What about a React app built with Vite? It builds the page in the browser. A crawler has to run JavaScript to see its words. Next.js sends the words in the HTML. For the fixes on a Vite app, read how to fix React SEO on a Vite single-page app.
Does Vunora's SEO check cost AI Usage Credits? No. Only the Fix with AI buttons use Vunora AI.
Sources
- Next.js, generateMetadata, read November 23, 2026: https://nextjs.org/docs/app/api-reference/functions/generate-metadata
- Next.js, metadata and Open Graph images, read November 23, 2026: https://nextjs.org/docs/app/getting-started/metadata-and-og-images
- Next.js, sitemap.xml, read November 23, 2026: https://nextjs.org/docs/app/api-reference/file-conventions/metadata/sitemap
- Next.js, notFound, read November 23, 2026: https://nextjs.org/docs/app/api-reference/functions/not-found
- Lovable, SEO and AI search, read December 1, 2026: https://docs.lovable.dev/features/seo-aeo
Terms in this post
New posts by email
One email when a post goes up, about editing and publishing a vibe coded site.


