SEO
Metadata API, Open Graph, sitemap.ts, robots.txt, JSON-LD per template, and canonical URLs.
Metadata
Use the Next.js Metadata API in layout.tsx and page.tsx files for titles, descriptions, and Open Graph images.
Sitemap
Ship app/sitemap.ts to enumerate marketing pages, docs, and dynamic routes such as blog posts.
robots.txt
app/robots.ts controls crawl rules; disallow staging hosts.
JSON-LD
Emit structured data per template:
- E-commerce —
ProductandOfferwhere applicable - Blog —
Articlewith author and dates - Corporate —
OrganizationandJobPostingon careers pages
Keep canonical URLs aligned with your primary domain to avoid duplicate indexing.