TL;DR
- nextjs app router seo metadata canonical hreflang
- For Next.js projects with i18n (PL/EN/DE) and SEO goals.
Who this is for
- For Next.js projects with i18n (PL/EN/DE) and SEO goals.
Keyword (SEO)
- nextjs app router seo metadata canonical hreflang
Metadata API basics
- generateMetadata per route
- Title/description per intent
- OpenGraph for sharing
Canonicals + alternates
- One canonical per page
- Alternates languages
- Consistent URLs (avoid rewrite/redirect chaos)
Common pitfalls
- Duplicate paths
- Wrong noindex
- Inconsistent sitemap