Summary: Meta tags are short pieces of HTML in a page’s head section that describe the page to search engines and browsers. For SEO, two matter most: the title tag, which is the headline Google shows in results, and the meta description, the text beneath it. Others control how a page is indexed (robots), how it displays on phones (viewport) and how it looks when shared (Open Graph). In WordPress you set them per page with an SEO plugin such as Rank Math or Yoast; no code is needed.
Every page on your site has a headline and a summary that appear in Google before anyone clicks, and most business sites leave them to chance: the page title repeated, a description Google invents from the first paragraph, or nothing at all. Meta tags are where you take control of that. This guide explains what meta tags are, which ones matter, how to write the two that earn clicks, how to add them in WordPress, and how to check they are live, as part of your wider on-page SEO.
Meta tags are HTML elements placed in the head section of a web page, the part visitors never see. They tell search engines, browsers and social platforms things about the page: what it is called, what it is about, whether it should be indexed, how it should scale on a phone, which image to show when the link is shared. The two you will deal with most look like this:
<title>Boiler Repair in Preston | Same-Day, Gas Safe Engineers</title>
<meta name="description" content="Same-day boiler repair across Preston from Gas Safe engineers. Fixed-price quotes, no call-out fee. Call us 7 days a week.">
Strictly, the title is its own HTML element rather than a meta tag, but it is managed in the same place and everyone groups it with them. The same goes for the canonical tag, which is a link element. This guide follows common usage.
| Tag | What it does | Does it affect ranking? |
|---|---|---|
| Title tag | The clickable headline in search results and the browser tab. The strongest single on-page statement of what the page is about. | Yes. A ranking signal and the biggest influence on whether people click. |
| Meta description | The summary shown under the title in results. | No. Google has said it is not a ranking factor. It affects click-through rate, which matters. |
| Meta robots | Tells search engines whether to index the page and follow its links (index/noindex, follow/nofollow). | Indirectly. A noindex removes the page from search entirely. |
| Viewport | Tells browsers how to scale the page on mobile devices. | Indirectly, through mobile usability. Every modern theme sets it. |
| Open Graph and Twitter cards | Set the title, description and image shown when the page is shared on social platforms and in messaging apps. | No. Affects how the link looks when shared. |
| Canonical (link element) | Tells search engines which URL is the preferred version when duplicates exist. | Yes, by consolidating signals on one URL. See our guide to canonical tags. |
| Meta keywords | A list of keywords for the page. | No. Google does not use it and has not for many years. Leave it out. |
Google rewrites titles it judges poor, truncated or misleading, often using the H1 instead. A clear, honest title that matches the page is the best way to keep the one you wrote.
Google replaces descriptions it thinks are unhelpful with a snippet from the page, so the description is a suggestion rather than a guarantee. A good one is used most of the time.
| Page | Title and description |
|---|---|
| Service page (plumber) | Boiler Repair in Preston | Same-Day, Gas Safe Engineers | Same-day boiler repair across Preston from Gas Safe engineers. Fixed-price quotes, no call-out fee. Call us 7 days a week. |
| Product page (running shoes) | Men’s Lightweight Running Shoes | Free UK Delivery Over £50 | Lightweight, durable men’s running shoes for road and trail. Free UK delivery on orders over £50 and 60-day returns. |
| Guide (this page) | Meta Tags for SEO: What They Are and How to Add Them in WordPress | What meta tags are, which ones matter, how to write titles and descriptions that earn clicks, and how to add them in WordPress. |
WordPress does not give you fields for the title tag or meta description out of the box. The practical answer is an SEO plugin, which adds the fields to every page and post and handles robots, canonical and social tags at the same time. Three options cover almost every site.
It is possible to add meta tags by editing the theme’s header.php, through a theme’s header scripts field, or with Advanced Custom Fields and a few lines of PHP. All three have the same drawback: tags added to the header apply to every page, so you get one title and one description for the whole site, which is worse than none. ACF can be made page-specific but needs a developer to wire the fields into the head. For any business site, use a plugin. Image alt text is set separately, on the image itself; see our guide to alt text.
Shopify has a “Search engine listing” section at the bottom of every product, collection and page editor with title and description fields. Squarespace puts them under the page’s Settings, SEO tab. Wix has them in each page’s SEO settings panel. The writing advice above applies unchanged. Our WordPress SEO and Shopify SEO services cover both platforms.
Open the page in Chrome or Edge, right-click and choose View Page Source (or press Ctrl+U on Windows, Cmd+Option+U on a Mac). Press Ctrl+F or Cmd+F and search for <title> or name=”description”. What you see is what Google sees. In Safari, enable the Develop menu under Settings, Advanced, then choose Develop, Show Page Source.
Detailed SEO Extension and SEO Minion (both free for Chrome) show the title, description, robots and canonical for the current page in one click, which is quicker than reading source.
Screaming Frog SEO Spider (free up to 500 URLs) lists every page’s title and description with their lengths, and flags duplicates and missing ones. For a site of any size this is the only way to find the pages you forgot.
After changing tags, use the URL Inspection tool to request indexing so Google picks up the change sooner. Then watch the page’s click-through rate in the Performance report over the following weeks; a rising CTR at a steady position means the new title and description are working. Caching plugins can serve an old version of the page for a while, so if the source still shows the old tags, clear the cache before assuming the change failed.
AI Overviews and AI assistants read the page, not just its tags, but the title tag is still the first thing they and every other system use to understand what a page is. A title that states the page’s subject plainly, a description that summarises its answer, and structured data that labels the page type give AI systems the same clear signals they give Google. Our guide to schema and structured data covers the third of those.
Title and description rewrites are one of the first things we do on any new client site, because they lift clicks without waiting for rankings to move. They are included in all our SEO packages, and if you want a view of yours, we offer a free SEO audit.
The title tag matters as a ranking signal and both title and description decide whether people click. The robots and canonical tags control indexing. Meta keywords do not matter at all.
Around 50 to 60 characters. Google cuts at about 600 pixels, so the exact number depends on the letters used. Put the important words first.
Around 155 characters. Longer ones are truncated, shorter ones are fine if they say what they need to.
Google rewrites titles and descriptions it judges poor, too long, duplicated or not matching the search. Make yours accurate, specific and the right length and it will usually be used. Also check caching: an old version of the page may still be served.
In the SEO plugin panel below the page editor (Rank Math, Yoast or All in One SEO). WordPress has no built-in fields for them.
No. Google ignores the tag. Spend the time on the title and description instead.
See also, our complete guide to SEO for UK businesses.
Get practical SEO and digital marketing tips that help your business win more customers from Google - straight to your inbox, no jargon.
By subscribing you agree to receive marketing emails from Studio 36 Digital. Unsubscribe any time. See our Privacy Policy.