How to Write SEO Titles and Meta Descriptions in WordPress

Getting indexed by Google is only part of the problem. The other part is convincing someone to click your result over the nine others on the same page. Your SEO title and meta description are what make that case — they’re the first thing a potential visitor sees, and on a competitive search result page, they’re often the deciding factor.

Most WordPress sites handle this poorly. Titles are either too short and vague, stuffed with keywords, or left as the default post title with no thought given to how they’ll read in search results. Meta descriptions are left blank entirely, which means Google writes them from whatever text it finds on the page — sometimes a navigation link, sometimes a cookie notice.

This guide explains how SEO titles and meta descriptions work in WordPress, how to write them well, and the practical constraints to stay within.

Quick Answer

On Veravix, SEO titles and meta descriptions are handled via custom code in functions.php — the meta description is pulled from the post excerpt. If you’re using an SEO plugin like Rank Math or Yoast, set the title and description in the plugin’s fields on each post edit screen. Keep titles under 60 characters and descriptions under 155 characters. Write them for the reader, not just for keywords.

What SEO Titles and Meta Descriptions Actually Do

The SEO title (sometimes called the title tag) is the clickable headline that appears in Google search results. It’s also what appears in the browser tab. It’s separate from your post’s H1 heading — you can have a longer H1 on the page and a more concise, click-optimised title in search results.

The meta description is the short paragraph of text beneath the title in search results. Google doesn’t use it as a direct ranking factor, but it influences click-through rate — a well-written description that matches search intent gets more clicks than a generic one. More clicks from search results send a positive signal back to Google over time.

It’s worth noting that Google doesn’t always use the meta description you write. Google’s own documentation confirms it may rewrite titles or pull alternative descriptions from the page content when it judges that a different snippet better serves the searcher’s query. Writing a good meta description still matters — it increases the likelihood Google uses yours rather than generating one from random page text.

How WordPress Handles Titles and Descriptions

By default, WordPress outputs your post title as the HTML <title> tag. It doesn’t output a meta description unless you add one via a plugin or custom code.

There are two main approaches:

  • SEO plugin (Rank Math, Yoast, or similar): Adds a dedicated panel to the post edit screen where you set a custom title and description for each post. These plugins also show character counts and previews of how the snippet will appear in search results.
  • Custom code in functions.php: Outputs the meta description from the post excerpt using a wp_head hook. This is simpler and avoids plugin overhead, but gives you less control over the title format without additional customisation.

Either approach is valid. The plugin route is easier to manage at scale and gives you a visual preview. The custom code route keeps your plugin count low and is sufficient if you’re disciplined about writing excerpts for every post. The basic SEO setup guide covers both options in the context of your full WordPress configuration.

Writing Effective SEO Titles

A good SEO title does three things: it includes the primary keyword, accurately describes the page content, and gives the reader a reason to click.

Length: Aim for 50–60 characters. Google truncates titles longer than roughly 600px in display width, which typically falls around 60 characters. Titles that get cut off mid-sentence look unprofessional and reduce click-through rates. Shorter titles — under 40 characters — often waste the available space and miss keyword opportunities.

Keyword placement: Put the primary keyword toward the beginning of the title where possible. Google gives slightly more weight to terms that appear early, and readers scanning search results see the start of the title first.

Format patterns that work:

  • How to [do something] in [context] — “How to Set Up SSL in WordPress”
  • [Number] Ways to [achieve outcome] — “7 Ways to Speed Up a WordPress Site”
  • [Topic] Explained: [specific angle] — “WordPress Permalinks Explained: What to Set and Why”
  • [Question the searcher is asking] — “What Is a Child Theme in WordPress?”

What to avoid: Keyword stuffing (“WordPress SEO Title WordPress Meta Description WordPress”), vague titles (“A Guide to SEO”), clickbait that doesn’t match the content (“The Secret Google Doesn’t Want You to Know”), and titles that are identical to the H1 on the page without any differentiation.

Writing Effective Meta Descriptions

A good meta description summarises what the page covers and gives the reader a clear sense of what they’ll get if they click. It should read naturally, not like a keyword list.

Length: Aim for 120–155 characters. Google truncates longer descriptions in most display contexts. Going shorter than 120 characters often leaves you with a description that feels thin and misses the chance to make a proper case for the click.

Match search intent: The description should confirm that the page answers what the searcher is looking for. If someone searches “how to add a sitemap to WordPress”, a description that opens with “This guide explains how to find your WordPress sitemap and submit it to Google Search Console” is more likely to get clicked than one that starts with “WordPress is a popular CMS used by millions of websites.”

Include the primary keyword naturally: Google bolds keywords in the meta description that match the search query. A description that includes the target phrase reads as more relevant to the searcher — but only if it reads naturally.

Don’t duplicate descriptions: Every post and page should have a unique meta description. Duplicate descriptions across multiple pages create confusion for both search engines and users.

The Role of Keywords in Titles and Descriptions

Your SEO title and meta description should reflect the keyword you’ve targeted for that page — but they’re not a place to cram in every variation. Write for the reader first, and let the keyword appear naturally.

The keyword research you do before writing each post should directly inform your title. If you’ve identified that people search for “WordPress staging site” rather than “WordPress test environment”, use “staging site” in your title. Keyword research for beginners covers how to identify the right terms before you write.

Practical Tips

  • Write the excerpt as your meta description. If you’re using the excerpt-to-meta-description approach, treat every excerpt as a meta description from the start — keep it under 155 characters and write it as a reader-facing summary, not an internal note.
  • Check your titles in a SERP preview tool. Several free tools let you paste a title and see how it’ll look at different widths. This is faster than guessing character counts.
  • Revisit old titles after a few months. Once a page has been indexed and you have search data, you can see how many impressions it’s getting and what its click-through rate is. A low CTR on a page with high impressions is a signal that the title or description isn’t working.
  • Don’t obsess over perfect titles at publish time. Write something good and move on. You can update titles and descriptions at any time without affecting the post’s URL or content.

Common Mistakes

  • Leaving meta descriptions blank. Google will generate one, but it often pulls from an unhelpful part of the page — navigation text, a footer, or a mid-paragraph sentence with no context.
  • Using the same title format for every post. If every post title on your site follows the exact same structure, your results look repetitive in search. Vary the format while keeping the keyword placement consistent.
  • Writing descriptions that don’t match the page. If the description promises something the page doesn’t deliver, the reader clicks and immediately leaves. This hurts engagement metrics and signals to Google that the result wasn’t satisfying.
  • Ignoring title tags on non-post pages. Category pages, tag archives, and the homepage all have title tags too. These are often left as WordPress defaults — worth reviewing as part of your overall SEO setup.

Conclusion

Write a clear, keyword-relevant title under 60 characters and a descriptive meta description under 155 characters for every post you publish. Do it at publish time, not as an afterthought. Over time, reviewing click-through rates in Google Search Console will show you which titles are working and which need revisiting. For the full picture of on-page signals, the guide to adding schema markup in WordPress covers the next layer of search visibility beyond titles and descriptions. Start at Veravix for everything else you need to build a well-optimised WordPress site.