What problem does it solve?
This guide helps you correct common Next.js SEO issues by ensuring your pages publish consistent metadata, robots rules, and sitemap coverage so search engines can discover and understand your content.
Core Features & Use Cases
- Metadata and Open Graph correctness: Set root and page-level titles, descriptions, canonicals, and social previews using the Next.js App Router metadata model.
- Sitemaps and robots.txt accuracy: Generate
app/sitemap.ts and app/robots.ts to control crawling behavior without blocking render-critical assets.
- Structured data (JSON-LD) readiness: Add JSON-LD structured data patterns (e.g., Organization, WebSite, Article) and validate that it matches visible content.
- Rendering strategy for indexable content: Use caching, SSG/SSR, and avoid CSR-only SEO pages to improve crawlable HTML and Core Web Vitals.
Quick Start
Apply the recommended patterns by implementing metadata and viewport in app/layout.tsx, then add app/sitemap.ts and app/robots.ts and verify via sitemap and page-source checks.