Check 10.06 · On-page SEO and metadata

Write a specific meta description

Write a meta description specific to each important page, generate them cleanly for large catalogs and set them up in WordPress, Shopify, Drupal or Next.js.

Priority
Important
Difficulty
Easy
Estimated time
2 h to 2 days
Free, no account: your progress is saved in this browser.

Ask an AI to check this point on your site

Opens the assistant with a ready-made question: this check, its goal and your site URL.

For Gemini, Copilot or another assistant, copy the question. The link opens the chosen service directly: nothing goes through this site.

In short

The meta description is a summary of the page placed in the <head>, in the <meta name="description"> tag. Search engines may use it for the snippet shown under a result's headline. Once this check is done, every important page has a description that accurately summarizes its own content, and repeated templates (product pages, articles) produce varied, readable descriptions instead of a single text copied everywhere.

Why it matters

Google builds the snippet mainly from the page's content and adapts it to each query. It uses the meta description when it describes the page more accurately than the text it would extract. In other words, a precise description has a good chance of being shown; a vague or duplicated one will be replaced.

Google's documentation asks for descriptions that differ from page to page: identical or similar descriptions on every page do not help. It advises including useful information the snippet would not otherwise show (author, date, price, manufacturer, opening hours), and it encourages large sites to generate descriptions automatically from each page's data, provided the result is readable and varied. A string of keywords, on the other hand, is less likely to be shown.

Google has long stated that it does not use the meta description in its ranking: its effect comes through click-through rate. It also serves as fallback text for some sharing platforms when no og:description tag is defined. No generative engine documents how it uses it.

What it improves

  • Click-through rate A snippet that answers the searcher's question makes them want to click. The effect varies; measure it.
  • Control over the snippet On the page's main queries, Google more often uses a faithful description.
  • Shares Fallback text for link previews when Open Graph is not set up.
  • Ranking No direct effect, according to Google.
  • AI answers Undocumented effect. Generative engines read the page's content; the description does not replace clear text there.

How to check

One page:

curl -s https://example.com/thes/the-vert/ | grep -o -i '<meta[^>]*name="description"[^>]*>'

Expected result: a single tag, with text specific to the page. Two tags often mean a theme and a plugin each writing their own.

The whole site: Screaming Frog, Meta Description tab, Missing, Duplicate and Multiple filters. The report also gives the length of each description.

What Google actually shows: type a query the page ranks for and compare the snippet with the description. A different snippet is not an error: Google adapts the snippet to the query.

How to implement

Before you start

What a good description contains:

  1. What the page offers, in the terms of the targeted query.
  2. One or two concrete facts: starting price, lead time, number of products, area, author, date, compatibility.
  3. What sets it apart from neighboring results: see convey a value proposition (opens in a new tab).

Examples (fictional sites):

Page Description
“Loose green tea” category 42 organic loose green teas from Japan and China: sencha, matcha, genmaicha. Brewing tips on every product page, delivery in 48 h.
“Boiler servicing in Nantes” service Annual gas or oil boiler servicing in Nantes and the surrounding area: inspection, certificate, no-commitment contract. Visit within 10 days.
Planifia feature Schedule your technicians' jobs with drag and drop, send work orders to their phones and track hours. 14-day free trial.

Priorities: homepage, categories, service pages and content that gets impressions. For a catalog's thousands of product pages, set up a template that assembles data specific to each product.

Good to know: a page without a description is not at fault: Google then generates the snippet from the content. An identical description on a hundred pages is worse than none. Never put a site-wide “default” description in the template of every page.

Length is covered by the check aim for 140–160 characters as a benchmark (opens in a new tab).

WordPress

Versions WordPress 6.4 to 7.1, Yoast SEO 20 and later, Rank Math 1.0.x.

WordPress does not write any meta description on its own.

With Yoast SEO: template per content type in Yoast SEO > Settings > Content types (meta description field, variables such as %%excerpt%% or %%wc_shortdesc%% for WooCommerce). Page by page: Yoast SEO panel in the editor, “Meta description” field.

With Rank Math: Rank Math SEO > Titles & Meta, Posts or Pages section, “Single Post Description” field; page by page, the “Edit Snippet” button in the editor.

Without a plugin, add to a child theme's functions.php a description taken from the excerpt, filled in by hand in the editor:

add_action('wp_head', function (): void {
    if (! is_singular()) {
        return;
    }

    if (! has_excerpt()) {
        return;
    }

    $description = wp_strip_all_tags(get_the_excerpt());

    echo '<meta name="description" content="'.esc_attr($description).'">'."\n";
});

This code writes nothing when the excerpt is empty: Google then generates the snippet itself. Do not use it alongside an SEO plugin.

Shopify

Versions Shopify admin, Online Store 2.0 themes (Dawn, Horizon), November 2026.

Homepage: Online Store > Preferences, homepage meta description field. Products, collections, pages, blog posts: “Search engine listing” section at the bottom of the item's page, “Edit” button, “Meta description” field. When it is left empty, Shopify uses the beginning of the product description, which often gives a truncated or commercially weak text on important pages.

The theme must contain, in snippets/meta-tags.liquid (Horizon and recent themes) or in layout/theme.liquid (Dawn):

{% if page_description %}
  <meta name="description" content="{{ page_description | escape }}" />
{% endif %}

For a bulk import, fill in the SEO description column of the products CSV file.

PrestaShop

Versions PrestaShop 8 and 9.

Product page: Catalog > Products, SEO tab, “Meta description” field. Categories: same field in the category form. Fixed pages: Shop Parameters > Traffic & SEO, “SEO & URLs” list.

Magento

Versions Magento Open Source and Adobe Commerce 2.4.6 to 2.4.9.

Per item: Search Engine Optimization section of the product or category, Meta Description field. For catalogs, Stores > Configuration > Catalog > Catalog > Product Fields Auto-Generation defines the mask applied to new products, for example {{name}} {{description}}. The site's default value (Content > Design > Configuration, store view, Other Settings > HTML Head > Default Meta Description) must not apply to every page: leave it empty or keep it for the homepage. Flush the cache afterward.

Drupal

Versions Drupal 10.3 and 11, Metatag module 2.x.

Metatag module, /admin/config/search/metatag: template per content type, for example with the summary token [node:summary]. To enter a description page by page, add a field of type “Meta tags” to the content type.

Joomla

Versions Joomla 5 and 6.

Article: “Publishing” tab, “Meta Description” field. Menu item: “Metadata” tab. The site description, in System > Global Configuration > Site, serves as the default value: keep it for the homepage and give important pages their own description.

Wix

Versions Wix editor and dashboard, all plans, November 2026.

Per page: the editor's Pages menu, page options, “SEO basics”, “Meta description” field. Per page type (products, blog posts): a template with variables in the dashboard's SEO settings.

Squarespace

Versions Squarespace 7.1, November 2026.

Pages panel, page settings, SEO tab, “SEO Description” field. For a blog post: open the post, settings, SEO tab. For a product: double-click the product on the store page, SEO tab. The site description, which represents the homepage, is set in the SEO panel (“SEO/AI Visibility” in the current interface), SEO Settings, Home tab.

Webflow

Versions Webflow, all site plans, November 2026.

Static pages: page settings, SEO settings section, “Meta description” field. Collection template pages: same field, inserting a collection field intended for this purpose (summary, teaser) rather than the body text.

Laravel

Versions Laravel 11 to 13.

In the Blade layout:

@props(['title' => null, 'description' => null])

<head>
    <title>{{ $title ? "{$title} | ".config('app.name') : config('app.name') }}</title>
    @if($description)
        <meta name="description" content="{{ $description }}">
    @endif
</head>

Then: <x-layouts.app :title="$article->title" :description="$article->meta_description">. Add a nullable meta_description column, and an accessor that builds a description from the attributes when it is empty.

Symfony

Versions Symfony 6.4, 7.4 and 8.x (Twig 3).

In templates/base.html.twig:

{% block meta_description %}{% endblock %}

In each template:

{% block meta_description %}
    <meta name="description" content="{{ article.metaDescription }}">
{% endblock %}

Next.js

Versions Next.js 15 and 16.

App Router

// app/services/[slug]/page.tsx
import type { Metadata } from 'next';
import { getService } from '@/lib/services';

export async function generateMetadata(
  { params }: { params: Promise<{ slug: string }> },
): Promise<Metadata> {
  const { slug } = await params;
  const service = await getService(slug);

  return {
    title: service.seoTitle,
    description: service.metaDescription,
  };
}

Do not define a description in the root layout: every page without one would inherit it.

Pages Router

Place the tag in the <Head> component from next/head, page by page:

// pages/services/[slug].tsx
import Head from 'next/head';
import type { Service } from '@/lib/services';

export default function ServicePage({ service }: { service: Service }) {
  return (
    <>
      <Head>
        <title>{service.seoTitle}</title>
        {service.metaDescription && <meta name="description" content={service.metaDescription} />}
      </Head>
      {/* content */}
    </>
  );
}

Do not put a shared description in pages/_app.tsx or pages/_document.tsx: every page would inherit it.

Nuxt

Versions Nuxt 4 (app/ directory); Nuxt 3 puts the same files at the project root.

// app/pages/thes/[slug].vue, in <script setup lang="ts">
const route = useRoute();
const { data: tea } = await useFetch(`/api/teas/${route.params.slug}`);

useSeoMeta({
  title: () => tea.value?.seoTitle,
  description: () => tea.value?.metaDescription,
});

Astro

Versions Astro 5 to 7.

---
const { title, description } = Astro.props;
---
<head>
  <title>{title}</title>
  {description && <meta name="description" content={description} />}
</head>

Generating descriptions for a large catalog

Assemble sentences from each product's data, then import the result into the SEO description column of your platform's import file (Shopify CSV, PrestaShop or Magento import). Example in Google Sheets with French locale settings, with the name in A, the type in B, the origin in C, the price in D and the stock in E:

=A2&": organic "&LOWER(B2)&" from "&C2&", starting at "&TEXT(D2;"0,00")&" €."&IF(E2>0;" In stock, ships within 48 h.";" Restocking under way.")

Result for a fictional row: “Sencha Fukamushi: organic green tea from Shizuoka, starting at 9,50 €. In stock, ships within 48 h.” Plan two or three sentence structures depending on the product type, so that a thousand descriptions do not differ only by name. In French-language Excel: MINUSCULE, TEXTE, SI.

Do not overwrite descriptions already written by hand. The rules: facts specific to the product, a readable sentence, no promise the page does not keep. An AI-generated description must be reviewed: see review AI-generated content (opens in a new tab).

Common mistakes

  • A site description copied into every page by the theme or the default configuration.
  • Two description tags: theme and SEO plugin at the same time.
  • A description that repeats the title word for word: it adds nothing to the snippet.
  • A list of keywords: less likely to be shown, according to Google.
  • An outdated description: price, lead time or offer that no longer matches the page.
  • A description generated in JavaScript after loading: missing from the initial HTML. See check title, description and canonical after rendering (opens in a new tab).
  • Blocking the snippet by mistake: a nosnippet or max-snippet:0 directive prevents any description from being shown. See check nosnippet, max-snippet and data-nosnippet (opens in a new tab).

Frequently asked questions

Why doesn't Google show my meta description?

Google builds the snippet mainly from the page's content and adapts it to each query. It uses the meta description when it describes the page more accurately than the text it would extract. A vague, duplicated, outdated or keyword-stuffed description is therefore often replaced. For a query far from the main topic, the snippet will almost always come from the page's text.

Does the meta description affect rankings?

No. Google states that it does not use the meta description to rank pages. Its value lies elsewhere: when it is used in the snippet, it helps searchers choose your result and can improve click-through rate. It is therefore worth polishing on pages that get impressions, without expecting a gain in position.

Should you write a meta description for every page?

For every important page, yes: homepage, categories, services, strategic content. For large catalogs, generate descriptions from each product's data, which Google encourages as long as they stay readable and varied. A page without a description is not at fault: Google then creates the snippet itself. An identical description on many pages, however, should be avoided.

Can meta descriptions be generated automatically?

Yes, Google encourages automatic generation on large sites, from data specific to each page: name, features, price, author, date. The result must be readable and varied, not one template where only the name changes. Descriptions produced by AI must be reviewed, because they may contain promises or facts that the page does not back up.

Updated on

Topic checklist (PDF)

And now?

In the “On-page SEO and metadata” topic

  1. Write a unique title for each important page
  2. Include the main topic naturally
  3. Place important terms early if relevant
  4. Aim for 50–60 characters as an optional benchmark
  5. Avoid generic and repetitive titles
  6. Write a specific meta description
  7. Aim for 140–160 characters as a benchmark
  8. Convey a value proposition and encourage clicks
  9. Use one clear main H1
  10. Align the H1 with search intent
  11. Structure H2/H3 headings
  12. Avoid purely decorative headings
  13. Introduce the topic naturally
  14. Use semantic variants
  15. Break up paragraphs
  16. Use lists and tables where helpful
  17. Add a table of contents and anchors to long content
  18. Optimize URLs and slugs
  19. Check the lang attribute
  20. Set up a favicon
  21. Configure Open Graph and X Cards
  22. Test social sharing
  23. Analyze CTR and optimize snippets