Next.js App Router SEO: metadata, canonicals, hreflangdone right

next.js6 min readDecember 31, 2025

Author: 7kar7son7

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

Want this implemented for your business?

Related posts

Sitemap.xml and RSS Feed in Next.js App Router — Technical SEO 2026
6 min read
Multilingual website: i18n, translations and SEO 2026
6 min read
How to hit 90–100/100 Lighthouse in Next.js (without breaking design)
6 min read

About the author

Developer at DevStudio.it. Focused on performance, SEO and production-ready web apps.

Recommended links

From theory to production — Branchly, our hosting stack and shipped work.

Like how we think? Let's build something together.

Start project configuration