Skip to content
Rijan Bhattarai

Next.js SEO checklist (2026): 12 settings that get you indexed

By · · 6 min read

This Next.js SEO checklist covers the twelve settings that decide whether a Next.js site gets crawled, indexed and ranked in 2026. Each item uses the built-in App Router features, so you do not need an extra SEO plugin.

Short answer: A Next.js site is SEO ready when every page renders HTML on the server with its own title and canonical. Add a generated sitemap, structured data, fast Core Web Vitals and clean redirects, and the technical side is done.

Next.js SEO checklist: rendering and crawling

Search engines rank what they can read, so rendering comes first on this list. These three checks make sure Google and AI crawlers see your content without running JavaScript.

1. Render content on the server

Keep your main content in Server Components, which send finished HTML to the browser. Content that only appears after a client-side fetch may be missed or indexed late by crawlers.

Check this by viewing the page source in your browser, not the inspector. If your headline and body text are in the raw HTML, crawlers can read them on the first visit.

2. Generate a sitemap from your routes

Create an app/sitemap.ts file that returns every public URL from your data. Next.js serves it at /sitemap.xml, and it stays in sync whenever you add a page or post.

Submit that sitemap in Google Search Console and Bing Webmaster Tools after launch. Both tools then report which URLs were indexed and which ones had problems.

3. Control crawling with robots.ts

Add an app/robots.ts file that allows crawling and points to your sitemap. Block only private areas, such as admin pages or internal API routes, and nothing else.

Google's guidance on AI features says crawling must be allowed for pages to appear there. Check your CDN or firewall too, because some block crawlers without telling you.

Metadata, canonicals and social cards

Each page needs its own title, description and canonical URL. The Metadata API handles all three in a typed, consistent way across the whole site.

4. Write a unique title and description per page

Export metadata or generateMetadata from every page file in the App Router. Set a title template in the root layout so each page title ends with your brand name.

Keep titles under about 60 characters and lead with the main keyword. Write descriptions of about 150 characters that say what the reader gets from the page.

5. Set a canonical URL on every page

Set metadataBase once in the root layout, then add alternates.canonical on each page. This tells Google which URL is the main version when duplicates exist.

Duplicates appear more often than people expect, through tracking parameters, trailing slashes and filter pages. A canonical tag keeps ranking signals on one URL.

6. Add Open Graph images

Use an opengraph-image.tsx file to generate a share image for each route. Links shared on Facebook, LinkedIn and WhatsApp then show a clear title card instead of a blank box.

Structured data with JSON-LD

Structured data tells search engines what a page is about in a format machines can read. Next.js recommends rendering it as a script tag inside your layout or page.

7. Describe your business and people

Add Organization or Person schema once in the root layout, with links to your social profiles. Add Service, Product, BlogPosting or FAQPage schema on the matching pages.

Escape the < character when you serialise the JSON, as the Next.js documentation advises. This small step prevents script injection from content stored in your database.

8. Add breadcrumbs on inner pages

Show a visible breadcrumb trail and add BreadcrumbList schema to match it. Breadcrumbs help users move around the site and often replace the raw URL in search results.

Speed and Core Web Vitals

Core Web Vitals measure how fast and stable your pages feel to real visitors. Google judges each page at the 75th percentile of real user visits.

Metric What it measures Good score
LCP (Largest Contentful Paint) Loading speed of the main content 2.5 seconds or less
INP (Interaction to Next Paint) Response time after a tap or click 200 milliseconds or less
CLS (Cumulative Layout Shift) Visual stability as the page loads 0.1 or less

These thresholds come from web.dev's Core Web Vitals guidance, and they apply to both mobile and desktop.

9. Use next/image and next/font

The next/image component serves modern formats, lazy loads images and reserves space to prevent layout shift. The next/font module self-hosts fonts, which removes a request to a third-party server.

10. Keep client JavaScript small

Every Client Component adds code that the browser must download and run. Load heavy features like maps, charts or 3D scenes lazily, and only on the pages that need them.

Migrations and ongoing checks

Most SEO losses on Next.js sites happen during a redesign or a move from another platform. Plan redirects before launch, not after traffic drops.

11. Map every old URL to a new one

List every old URL from your sitemap, analytics and Search Console before you switch. Add permanent redirects in next.config.ts so each old address points to its closest new page.

12. Monitor Search Console after launch

Check the Pages and Core Web Vitals reports in Search Console every week for the first month. Fix any 404 errors, redirect chains or pages marked as crawled but not indexed.

Common Next.js SEO mistakes to avoid

The same few mistakes cause most of the indexing problems I see on Next.js sites. Each one is quick to fix once you know where to look.

The first is a page that sets no metadata at all, so it inherits the home page title. Google then sees many pages with the same title and struggles to tell them apart.

The second is a staging site that was indexed by mistake, because nobody blocked it from crawlers. Protect preview deployments with a password or a noindex header before you share the link.

The third is a redesign that changes URLs without redirects, which throws away years of links and rankings. A simple spreadsheet of old and new URLs prevents this, and it takes less than a day.

Frequently asked questions

Is Next.js good for SEO?

Yes, Next.js works very well for SEO when pages render on the server. It gives you full control over HTML, metadata and speed, which many page builders and plugins do not.

Do I need an SEO plugin for Next.js?

No, the App Router already includes the Metadata API, sitemap and robots files, and image optimisation. A plugin would mostly repeat features that Next.js provides out of the box.

Does client-side rendering hurt SEO?

Content that only loads in the browser can be indexed later or missed by some crawlers. Many AI crawlers do not run JavaScript at all, so server rendering is the safer choice.

Your next step is to open the page source of your three most important pages and check items one, four and five. If you would like a second pair of eyes, I offer a technical SEO audit.