How to fix duplicate meta description on Next.js
Write a unique, page-specific meta description for every page on your store so Google can display a compelling, accurate snippet for each one in search results.
Steps for Next.js
- Identify every route that currently shares a meta description — common culprits are the home page (`app/page.tsx`), PDP (`app/products/[slug]/page.tsx`), PLP (`app/collections/[slug]/page.tsx`), blog post (`app/blog/[slug]/page.tsx`), and any static pages.
- For dynamic routes, export an async `generateMetadata()` function that fetches the page-specific data (product title, description, collection summary, etc.) from your headless CMS/commerce API and returns a unique `description` string derived from that data.
- For static routes (home, about, contact, etc.), export a static `metadata` object with a hand-crafted, page-specific `description` (150–160 characters, includes primary keyword, no duplicate of other pages).
- Centralise shared helpers — e.g. a `lib/seo.ts` utility that truncates copy to 155 characters and strips HTML tags — so every route builds its description the same way.
- Remove or stop inheriting any `defaultMetadata` / `metadataBase` description that was being re-used verbatim across all pages (a root `layout.tsx` description is fine only as an absolute last-resort fallback, never as the primary value).
- Verify uniqueness by running `next build` and scraping the rendered `<meta name='description'>` tags with a script or a tool like Screaming Frog; each URL must produce a distinct string.
What is duplicate meta description?
A meta description is a short summary (typically 150–160 characters) that appears beneath your page title in Google search results. When two or more pages share the exact same meta description text, Google detects the duplication and will often rewrite the snippet itself — usually pulling random text from the page — which rarely reflects your best selling points. Unique meta descriptions give each page its own tailored pitch to shoppers who are scanning search results before they click.
Google explicitly recommends unique meta descriptions for every page, and duplicate descriptions are flagged as a quality issue in its SEO guidance. When Google rewrites your snippet with arbitrary on-page text, you lose control of the first impression your store makes in search results — which directly hurts click-through rate (CTR). Lower CTR means fewer visitors even when you rank well, translating to lost revenue. On collection and category pages specifically, a generic description shared across dozens of pages also signals low content differentiation, which can lead Google to consolidate or devalue those pages in its index.
See the complete Duplicate meta description guide for every platform and the full background.
Not sure if your Next.js store has this?
Run a free SEOLZ scan — we’ll find duplicate meta description and every other issue across your whole site.
Scan my site free