Guides โ€บ On-Page

How to Fix Multiple Meta Description Tags on a Page

This check flags pages whose HTML contains more than one <meta name="description"> tag. The cause is almost always two systems writing the same tag, such as a theme and an SEO plugin. By the end of this guide you will have found every source, kept one, and confirmed each page outputs exactly one description.

โฑ 20 minutes๐ŸŽฏ Beginnerโ— Medium impactOn-Page
ON-PAGE ยท FIX GUIDE Multiple meta description tags IMPACTEFFORT TIME20 minutes LEVELBeginner

Why it matters

When a page has two meta descriptions, search engines have to choose one, merge them or ignore both and write their own snippet from page text. The description you edited in your CMS may never appear in Google results or AI answer previews. Duplicate tags also show that two systems control your head markup, so a later edit in one place can silently override another. That makes snippets inconsistent across pages and harder to test for click-through rate.

โœ•Before<meta name="description"content="Example Co โ€“ Home"> ... <metaname="description" content="Shopโœ“After<meta name="description" content="Shophandmade oak and walnut furniture fromExample Co, built to order and shipped

What you need

Admin access to your CMS, theme files or code repository
A browser with View Source (Ctrl+U / Cmd+Option+U) or a terminal with curl
Access to your tag manager, if you use one
A list of flagged URLs from the audit

Step-by-step fix

1

Confirm the duplicates on flagged pages

Open a flagged URL, view the page source and search for name="description". Count only tags with name="description". Tags such as property="og:description" and name="twitter:description" are separate and are not duplicates. To check many URLs at once, use the terminal command below. Any result above 1 fails the check.

text
curl -sL https://example.com/ | grep -oi '<meta[^>]*name=["'\'']description["'\''][^>]*>' | wc -l
Pro tip: Check one page of each template type (home, post, product, category). Duplicates usually come from a template, so one fix often clears hundreds of URLs.
2

Identify which system outputs each tag

Look at the HTML just above and below each tag in the source. SEO plugins usually wrap their output in comments, for example <!-- This site is optimized with the Yoast SEO plugin --> or <!-- Rank Math -->. A tag sitting outside those blocks, often near the <title>, usually comes from the theme. To find hardcoded tags in your theme files, search them directly.

text
grep -rn 'name="description"' wp-content/themes/your-theme/
Pro tip: Also compare View Source with the Elements panel in DevTools. If a tag only appears in Elements, JavaScript is injecting it.
3

Pick one source of truth

Choose the single system that will own the meta description. Usually this is your SEO plugin or the platform's built-in SEO field, because editors can change it per page. Every other source gets switched off or removed. Do not try to make the two tags match. Matching duplicates still count as duplicates.

Pro tip: If two SEO plugins are active (for example Yoast and Rank Math, or All in One SEO alongside another), deactivate one completely. Running two causes duplicate titles, canonicals and schema as well.
4

Remove the hardcoded theme tag

Open the template that renders the <head>. That is header.php in WordPress, layout/theme.liquid in Shopify, or your root layout in a framework. Delete the static meta description line. If the platform owns the field, replace it with one conditional tag. Make the edit in a child theme or a duplicated theme so updates do not undo it.

liquid
{%- if page_description -%}
  <meta name="description" content="{{ page_description | escape }}">
{%- endif -%}
Pro tip: Search the whole theme, not just the header. Snippets such as meta-tags.liquid or seo.php are often included alongside a second tag in the layout.
5

Remove tags injected by scripts and custom code

Check these places for a second description:

  • Tag manager Custom HTML tags
  • Site-wide custom code fields
  • Framework head components

In Google Tag Manager, open Tags and look for Custom HTML containing name="description". Pause or delete those tags, then publish the container. In Next.js, do not combine the metadata export with a manual <meta name="description"> in a layout or <Head>.

javascript
// app/page.tsx (Next.js App Router)
export const metadata = {
  description: 'Shop handmade oak and walnut furniture from Example Co.'
};
Pro tip: Google renders JavaScript, so tags injected client-side still count as duplicates even though they are not in the raw HTML.
6

Clear caches and re-test every template

Purge your page cache (WP Rocket, LiteSpeed, W3 Total Cache), your CDN cache (for example Cloudflare: Caching > Configuration > Purge Everything) and any server cache. Then re-run the curl command from step 1 on one URL per template. Every result should return 1. Finally, re-run the audit so the full crawl confirms no page still fails.

text
for u in https://example.com/ https://example.com/blog/sample-post/ https://example.com/products/oak-table; do echo "$u: $(curl -sL $u | grep -oi '<meta[^>]*name=["'\'']description["'\''][^>]*>' | wc -l)"; done
Pro tip: In Google Search Console, use URL Inspection > Test Live URL > View tested page > HTML to see the rendered head Google gets.

Platform-specific notes

WordPress

The most common cause is a theme that hardcodes a description in header.php while an SEO plugin also outputs one. Remove the theme line in a child theme, or check the theme's options panel (Appearance > Customize or the theme settings page) for an SEO or meta toggle and turn it off. Keep only one SEO plugin active under Plugins > Installed Plugins.

Shopify

Edit via Online Store > Themes > ... > Edit code and open layout/theme.liquid and any snippets such as meta-tags.liquid. Some SEO apps inject their own description; either disable that feature in the app or remove the theme's tag, not both. Set descriptions in each product or page's 'Search engine listing' section.

Wix

Wix outputs the description from Page Settings > SEO basics. Duplicates usually come from Settings > Custom Code (or Advanced > Custom Code) snippets added to the Head on all pages. Delete any custom snippet containing a meta description.

Webflow

Webflow writes the tag from Page Settings > SEO Settings > Meta Description. Remove manual meta description tags from Site Settings > Custom Code > Head Code and from each page's Custom Code > Inside <head> tag, then republish.

Next.js

With the App Router, use only the metadata export or generateMetadata; nested layouts merge into one tag automatically. Duplicates appear when a manual <meta name="description"> is added in layout.tsx or via next/head in Pages Router components that render on the same page.

Check that it worked

โœ… How to verify

  • View source on one URL per template and confirm a search for name="description" finds exactly one match
  • Run the curl count loop and confirm every URL returns 1
  • Use Google Search Console URL Inspection > Test Live URL > View tested page to confirm the rendered HTML has one description
  • Re-run the audit and confirm the 'Multiple meta description tags' check passes

โš ๏ธ Common mistakes

  • Making both tags identical instead of removing one. The page still has two tags and still fails.
  • Editing the parent theme directly, so the next theme update restores the duplicate tag
  • Treating og:description or twitter:description as duplicates and deleting them, which breaks social previews
  • Forgetting to purge page and CDN caches, then assuming the fix did not work

Is this still an issue on your site? Run a free audit โ€” ZORO checks this and 294 other SEO, AI-visibility, accessibility and security signals, with fixes for your platform.

Check my site free

FAQ

Does Google penalize multiple meta description tags?

No, there is no penalty. Google may use either tag, combine them, or ignore both and generate a snippet from page text. The result is that you lose control over what appears in search results.

Is og:description the same as a meta description?

No. og:description (property="og:description") is Open Graph data for social and link previews. Having one og:description and one name="description" tag is correct and expected.

Which meta description does Google use if there are two?

Behaviour is not documented and can vary between pages and over time. Do not rely on the first or last tag winning. Keep exactly one.

Why does my page show two meta descriptions after installing an SEO plugin?

Your theme probably already outputs its own description tag. Disable the theme's SEO or meta option, or remove the tag from header.php in a child theme, so only the plugin writes it.