Page has only one meta description

medium

meta_description_multiple

Checks that the page has only one meta description tag.

What does this rule check?

Having multiple meta description tags creates ambiguity about which description search engines should use. This typically occurs when a CMS, theme, and SEO plugin each inject their own meta description.

Why is this important?

Search engines may pick any of the descriptions or ignore them all in favor of auto-generated content. This removes your control over how the page appears in search results.

How to fix

Remove duplicate meta description tags. Ensure only one source in your application is responsible for setting the meta description.

Examples

Incorrect
<head>
  <meta name="description" content="First description" />
  <meta name="description" content="Second description" />
</head>
Correct
<head>
  <meta name="description" content="One clear, compelling description for the page." />
</head>

Agent fix snippet

Copy this snippet and paste it into your AI coding agent to fix this issue automatically.

Search for all meta description tags:

document.querySelectorAll('meta[name="description"]')

Remove duplicates, keep only one.