ZamsDigital Solutions

Next.js

Next.js SEO checklist: how to help your site rank on Google

A practical Next.js SEO checklist for the App Router: metadata, sitemaps, robots.txt, canonical URLs, structured data, images and Core Web Vitals.

By Zams Digital Solutions · · 3 min read

Next.js is one of the best frameworks for SEO, because pages are rendered on the server and arrive as finished HTML. But a framework only gives you the tools. This checklist covers what every Next.js business site should have in place, using the App Router.

1. A unique title and description on every page

Use the Metadata API: export a metadata object from each page, or a generateMetadata function for pages built from data, such as blog posts and products. Set a title template in the root layout, for example %s | Your Brand, so every page title ends with your brand name automatically. Keep titles under about 60 characters and descriptions under about 160.

2. Canonical URLs

Set metadataBase in the root layout to your real domain, then add alternates.canonical to each page. This tells Google which address is the main one when the same page can be reached in several ways, such as with tracking parameters.

3. A sitemap and robots.txt

Add app/sitemap.ts and app/robots.ts. Generate the sitemap from the same data that builds your pages, so new blog posts and products are included automatically. Then submit the sitemap in Google Search Console.

4. One domain only

Redirect www to the main domain (or the other way round), and redirect any old hosting address, such as a vercel.app preview domain, so Google does not index duplicate copies of your site.

5. Structured data

Add JSON-LD in a <script type="application/ld+json"> tag. Useful types for a business site are Organization (or a more specific type such as ProfessionalService), WebSite, BreadcrumbList, FAQPage for real FAQ sections, BlogPosting for articles and Product for shop pages. Test it with Google's Rich Results Test.

6. Social sharing images

Add an opengraph-image file to the app folder, or generate one with code. Next.js adds the right meta tags, so links shared on LinkedIn, WhatsApp and X show a proper preview.

7. Fast pages (Core Web Vitals)

  • Use next/image for images, with the main above-the-fold image marked as a priority.
  • Use next/font so fonts are self-hosted and do not cause layout shift.
  • Keep components as Server Components unless they need interactivity, so less JavaScript is sent to the browser.
  • Load third-party scripts with next/script and a sensible loading strategy.

8. Real content in the HTML

Make sure your important text is rendered on the server, not fetched in the browser after the page loads. View the page source: if your headings and paragraphs are there, search engines can read them.

9. Clean headings and internal links

Use one h1 per page and a logical order of h2 and h3 headings. Link related pages to each other with descriptive link text, for example from a blog post to the matching service page.

10. Proper 404 pages and redirects

Call notFound() for content that does not exist, and add permanent redirects in next.config when you rename or remove pages, so old links and rankings are not lost.

After launch

Verify your site in Google Search Console, submit the sitemap and check the Pages report for errors. Then keep publishing useful content: technical SEO makes a site easy to read, but helpful pages are what earn rankings over time.

Every site we build with our Next.js development service includes this checklist as standard. Tell us about your website.

Let's build your next store or website

Tell us about your Shopify store, website or app idea. We will reply with a clear plan and a quote.