Skip to main content

Every page has unique meta description (150-160 chars)

Issue No: 40

Category: page seo basics

Issue type: Issue

Priority: CRITICAL

Description

Verify that each crawlable page has one non-empty meta description and that description content is unique across pages, with recommended length target of 150 to 160 characters.

How do we capture it

  1. Fetch page HTML and validate response is HTML.
  2. Parse raw <head> section and extract <meta name="description"> content values.
  3. Normalize extracted description text:
    • Decode HTML entities.
    • Collapse internal whitespace.
    • Trim boundaries.
  4. Count description tags and determine primary value when multiple entries exist.
  5. Compute character length of normalized description.
  6. Generate deterministic description fingerprint for duplicate detection across crawl scope.
  7. Compare fingerprint against stored descriptions in same run/project.
  8. Mark compliance only when description exists, is singular, and unique.
  9. Constraint: no JavaScript-rendered metadata is considered; raw HTML response only.

What to store

FieldTypeComment
page_url TEXTTEXTCrawled page URL.
meta_description_text TEXTTEXTNormalized meta description value.
meta_description_tag_count INTEGERINTEGERNumber of meta description tags in head.
has_meta_description BOOLEANBOOLEANWhether meta description exists.
meta_description_length INTEGERINTEGERCharacter length of normalized description.
meta_description_length_in_range BOOLEANBOOLEANWhether length is between 150 and 160.
meta_description_fingerprint TEXTTEXTFingerprint used for duplicate detection.
is_meta_description_unique BOOLEANBOOLEANWhether description is unique in crawl scope.
duplicate_meta_description_urls JSONBJSONBURLs that share same description fingerprint.
meta_description_capture_error TEXTTEXTParsing or extraction error details.

Condition for trigger

This audit triggers when meta description is missing, duplicated, or poorly formed.

  • Trigger Rule 1: Missing Meta Description

    • Target Field: has_meta_description
    • Evaluation Logic: has_meta_description = FALSE
    • Severity: CRITICAL
    • Diagnostic Message: "Page is missing a meta description."
  • Trigger Rule 2: Duplicate Meta Description

    • Target Field: is_meta_description_unique
    • Evaluation Logic: is_meta_description_unique = FALSE
    • Severity: CRITICAL
    • Diagnostic Message: "Meta description is duplicated across multiple pages."
  • Trigger Rule 3: Description Length Outside Recommended Range

    • Target Field: meta_description_length_in_range
    • Evaluation Logic: has_meta_description = TRUE AND meta_description_length_in_range = FALSE
    • Severity: WARNING
    • Diagnostic Message: "Meta description length is outside the recommended 150-160 character range."

Sources

Long description

Meta descriptions provide concise page summaries that influence snippet selection and click-through quality. Missing, duplicated, or generic descriptions reduce contextual relevance and can produce weak search previews. Length recommendations are practical guidelines to reduce truncation risk while retaining message clarity.

Common failure scenarios checked by the crawler:

  • No meta description tag in head.
  • Multiple conflicting description tags.
  • Description text duplicated across many URLs.
  • Empty or non-informative description values.

How to Fix

Configure templates and content workflows so each indexable page outputs one descriptive, page-specific meta description. Enforce uniqueness checks in publishing pipelines and align description generation with page intent instead of reusing default boilerplate text.