Fix guide · WordPress
How to Fix a Missing Meta Description in WordPress (2026)
Your WordPress page is missing a meta description — the snippet Google shows below your title in search results. Without one, Google writes its own, often pulling a random sentence that doesn't represent the page well. This guide shows you how to add a meta description using Yoast SEO, Rank Math, AIOSEO, or plain PHP if you prefer no plugin.
Why it matters
What this issue costs you
A well-written meta description (140–160 characters) is a direct invitation to click. While it doesn't affect rankings, it controls the text searchers read before deciding to visit. Pages with a good meta description consistently see higher click-through rates than pages that leave it blank.
Step-by-step
How to fix: Missing meta description
WordPress
- 1
Option A: Yoast SEO (most common)
Open the page or post in the WordPress editor. Scroll down to the Yoast SEO meta box (or click the Yoast icon in the block editor sidebar). Click "Edit snippet". Type your description (aim for 140–160 characters) in the "Meta description" field. A green bar confirms you are in the ideal character range. Save or update the page.
- 2
Option B: Rank Math
Open the page or post. Click the Rank Math shield icon in the toolbar (block editor) or find the Rank Math meta box below the editor. Select "Edit Snippet". Type your description in the "Description" field. Rank Math shows a live SERP preview so you can see exactly how it will look. Save the page.
- 3
Option C: AIOSEO
Open the page or post. Find the AIOSEO Settings meta box below the editor (or via the AIOSEO icon in the toolbar). Click the "General" tab. Fill in the "Meta Description" field. The character counter turns green when you hit the ideal range. Save.
- 4
Option D: No plugin — add to functions.php or a theme file
If you prefer not to use a plugin, add this snippet to your theme's functions.php (ideally a child theme). It outputs the post excerpt as the meta description, falling back to the site tagline on the homepage.
functions.phpfunction sac_meta_description() { if ( is_singular() && has_excerpt() ) { $desc = wp_strip_all_tags( get_the_excerpt() ); } elseif ( is_front_page() ) { $desc = get_bloginfo( 'description' ); } else { return; } echo '<meta name="description" content="' . esc_attr( $desc ) . '">' . PHP_EOL; } add_action( 'wp_head', 'sac_meta_description', 1 );
Verify the fix
Run the checker to confirm the issue is resolved
After applying the steps above, paste your URL below. Our checker will re-run every applicable check and show whether missing meta description still shows as a failing check.
FAQ
Common questions about missing meta description
How long should a WordPress meta description be?
Google truncates snippets at roughly 155–160 characters on desktop and ~120 on mobile. Write your most important sentence first, keep it under 155 characters, and avoid keyword stuffing — write it as a human, not a bot.
What happens if I leave the meta description blank?
Google will pick a snippet automatically, usually the first sentence of visible text or any text near the relevant query terms. This is often generic or off-topic. Writing your own gives you control over the invitation-to-click.
Does a meta description affect my Google rankings?
Not directly — Google confirmed it is not a ranking signal. But a higher click-through rate (CTR) from a good description is an indirect quality signal, and it matters a lot for traffic.
I set a description in Yoast but Google shows a different one. Why?
Google can choose to override your description if it decides another excerpt from your page better matches a query. Make sure your description closely reflects the page content and is not too generic.
While you're here
Related fix guides for WordPress
Need a full audit?
This checker spots individual issues instantly. deepseoanalysis.com crawls your whole site and tracks changes weekly, from $24/mo.
See all WordPress fix guides, or run a free check now.