Skip to main content
AI & Agents

Technical SEO Checklist for Next.js Sites (App Router, 2026)

A practical Next.js App Router SEO checklist: metadata and canonicals, sitemap and robots, structured data, OG images, Core Web Vitals, crawlable rendering, and the AI-search additions — llms.txt and AI crawler rules.

Ahsan Bilal

Principal Software Engineer

5 min read
On this page

A Next.js site is SEO-ready when every public page has a unique title and description, a canonical URL, server-rendered content, valid structured data and a place in the sitemap — and when it loads and responds fast. The App Router has built-in conventions for nearly all of this: metadata exports, sitemap.ts, robots.ts and opengraph-image files. This checklist covers each item, in the order that matters most, plus the additions that help with AI search.

1. Is your content rendered on the server?

Search engines and AI crawlers should receive the real text in the initial HTML.

  • Main content is in Server Components, not fetched client-side after load
  • Interactive widgets are client components _inside_ server-rendered pages
  • Important text isn't hidden behind tabs that only render on click
  • curl https://yoursite.com/page shows the headings and body copy

Many AI crawlers don't run JavaScript at all, so client-only content is invisible to them.

2. Does every page have unique metadata?

  • Root layout sets metadataBase, a title.template (e.g. "%s | Brand") and a default description
  • Dynamic routes use generateMetadata to build title and description from the content
  • Titles about 60 characters or fewer; descriptions about 155 characters or fewer
  • Each page sets alternates.canonical to its own absolute URL
  • Private routes (admin, account) are noindex and disallowed in robots

3. Are sitemap.xml and robots.txt generated?

  • app/sitemap.ts lists every public URL, including CMS-driven posts
  • lastModified uses the content's real updated date, not the build time
  • app/robots.ts points to the sitemap and blocks only private paths
  • The sitemap is submitted in Google Search Console and Bing Webmaster Tools

4. Is structured data (JSON-LD) in place and valid?

Render JSON-LD in a <script type="application/ld+json"> tag from the server component.

  • Organization (and Person for founder-led brands) with sameAs links to your profiles
  • WebSite on the homepage
  • BlogPosting / Article with datePublished, dateModified, author and publisher
  • Service pages, BreadcrumbList on nested pages
  • FAQPage only where the same questions and answers are visible on the page
  • Entities connected with stable @id URLs (e.g. https://site.com/#organization)
  • Every template passes Google's Rich Results Test

5. Do pages have share images?

  • opengraph-image.tsx per route group (generated with ImageResponse) so every post gets its own card
  • Twitter summary_large_image card set
  • Image alt text describes the page

6. Are Core Web Vitals in the "good" range?

  • LCP: hero image uses next/image with priority; fonts via next/font
  • INP: no long tasks on interaction; heavy components lazy-loaded — see our INP guide
  • CLS: images and embeds have dimensions; no layout shifts from late-loading banners
  • Pages are cached or prerendered where possible — see Next.js 16 Cache Components
  • Field data checked in Search Console's Core Web Vitals report, not just Lighthouse

7. Is the site structure crawlable?

  • Internal links use real <a href> (Next.js <Link>), not onClick navigation
  • Every page is reachable within a few clicks from the homepage
  • Posts link to related services and case studies; services link back to posts
  • Visible breadcrumbs match the BreadcrumbList schema
  • Custom not-found.tsx returns a real 404 status
  • One <h1> per page; headings in logical order
  • robots.ts explicitly allows AI answer crawlers such as OAI-SearchBot, PerplexityBot and Claude-SearchBot (some CDNs block unknown bots by default)
  • /llms.txt route lists key pages with one-line summaries; /llms-full.txt provides full content
  • Content opens each section with a direct, self-contained answer — see SEO for AI search
  • Posts show a visible "Updated" date that matches dateModified
  • RSS feed at /feed.xml with an alternates.types link in metadata

How we use this checklist

This site — built by AB Scale Forge with the Next.js App Router — follows this checklist: server-rendered pages, per-route OG images, a connected JSON-LD graph, a CMS-driven sitemap, llms.txt and llms-full.txt, and explicit AI crawler rules. We apply the same checklist on client builds through our SEO and Web App Development services.

Key takeaways

  • Server-render the content; many crawlers never run JavaScript.
  • Use the App Router conventions: metadata, generateMetadata, sitemap.ts, robots.ts, opengraph-image.
  • Connected, valid JSON-LD and real dateModified values build trust with search and AI engines.
  • Core Web Vitals and internal linking still decide a lot of rankings.
  • For AI search: allow AI crawlers, publish llms.txt, and write answer-first content.
#SEO#Next.js#Structured Data#AI Search#Performance
All articles →
AI & Agents••5 min read

SEO for AI Search: How to Get Your Brand Cited in AI Answers

AI Overviews and chat assistants now answer many searches directly. Here's how technical SEO, structured data and genuinely useful content help your pages get cited — without chasing gimmicks.

SEOAI Search