IHOR.DEVKNOWLEDGE_BASE
MENU

~/blog / Web Quality / technical-seo-checklist-for-next-js.md

// guide · 4 min read

Technical SEO Checklist for Next.js

Check Next.js statuses, canonical URLs, robots, sitemaps, language alternates, metadata, and rendered content using the deployed production response.

Quick answer

Audit the HTTP response and rendered page for each important route: correct status, indexability, preferred canonical, descriptive metadata, meaningful content, crawlable internal links, and sitemap inclusion. In a bilingual site, add reciprocal language alternates only for complete intended variants. A passing local build proves neither production indexing nor search visibility.

Treat SEO checks as consistency checks across the content model, route generator, and deployed origin. Framework defaults help generate tags, but cannot decide which URLs are valuable or whether an article answers its query. Keep technical eligibility and editorial usefulness visible as separate review tasks.

Practical implementation steps

Verify statuses and canonical routes

Check representative valid pages, redirects, missing records, and preview deployments. A missing page should not return a success status with only a friendly error heading. Choose the final HTTPS URL and use it consistently in internal links, canonical metadata, sitemap, and social metadata. Canonical is a signal, not an access-control mechanism or a guaranteed selection by Google.

Review indexability deliberately

Keep public canonical content indexable and private admin or preview surfaces appropriately restricted. Robots.txt governs crawling; it does not guarantee exclusion from the index. A crawler generally needs access to observe a noindex directive. Do not use robots rules to secure confidential content. Verify the deployed environment did not inherit preview noindex configuration accidentally.

Inspect metadata and rendered content

Use metadata or generateMetadata in Server Components according to whether values are static or data-dependent. Inspect actual output, including streamed metadata behavior when relevant, instead of relying on a source object alone. Titles should distinguish routes; descriptions should explain the specific page. Confirm the main content and links are available in the rendering path crawlers receive.

Reconcile languages and sitemap

For complete English and Ukrainian pages, use self-canonical URLs and reciprocal alternates including themselves. Avoid advertising a stale translation as equivalent content. The repository's metadata helper canonicalizes an untranslated Ukrainian fallback to English and marks it noindex; its sitemap derives language entries from translation availability. Those are inspectable choices, not proof that Google has processed the deployed release.

Implementation example

This static Next.js example describes one English route and its complete Ukrainian counterpart. Replace the illustrative origin and paths with the site's canonical URLs. The Ukrainian route should emit its own canonical and the same alternate set.

import type { Metadata } from "next";

export const metadata: Metadata = {
  title: "Project implementation notes",
  description: "Architecture, constraints, and verified behavior for this project.",
  alternates: {
    canonical: "https://example.com/projects/sample",
    languages: {
      en: "https://example.com/projects/sample",
      uk: "https://example.com/uk/projects/sample",
      "x-default": "https://example.com/projects/sample",
    },
  },
};

Do not infer translation completeness from the existence of a locale route. Check the actual body and source version. For data-dependent pages, generate metadata from the same validated record used by the page so unavailable records, titles, and canonicals cannot drift independently.

Tradeoffs and alternatives

Automated crawls catch deterministic failures such as broken links or inconsistent tags. Manual review is needed for intent, inaccurate claims, weak examples, and translated meaning. Search Console provides Google's observed indexing state after deployment, while a local crawl provides implementation evidence. Use each for the question it can answer.

Common mistakes

  • Returning HTTP 200 for unavailable content.
  • Blocking crawling while expecting the crawler to read noindex.
  • Listing redirects or private routes as canonical sitemap entries.
  • Canonicalizing all translated pages to English despite complete translation.
  • Reporting a local audit as completed live indexing.

Production checklist

  • Status and redirect behavior are checked.
  • Canonical, internal links, and sitemap agree.
  • Production robots differ intentionally from previews.
  • Titles, descriptions, and main content are inspected.
  • Complete translations have reciprocal alternates.
  • Live inspection is recorded separately after deployment.

FAQ

Does sitemap submission guarantee indexing?

No. It helps discovery and communicates intended URLs. Google still decides crawling, canonical selection, and indexing from multiple signals and page quality.

Should every URL be indexable?

No. Keep a deliberate public set and handle previews, admin pages, duplicates, and unavailable records according to their purpose. More indexable URLs are not automatically more useful content.

Conclusion

Make route, content, and metadata decisions agree, then verify the deployed result. Request indexing only after live eligibility checks pass, and continue editorial review independently of the technical audit.

Primary sources

Ihor Kharchyshyn

Independent full-stack product engineer writing source-backed implementation guides for browser extensions and modern web products.

Need this implemented in a real product?

React and Next.js applications with deliberate rendering, reliable data flows, and a clear path to production.