What are SEO tags in WordPress, and how do you set them?
SEO tags in WordPress means two things: meta tags such as the title tag and meta description, which tell search engines what each page is about, and post tags, which group related posts. Set meta tags in your SEO plugin, keep post tags few and useful, and use on-page SEO management to handle them on every site you run.

The short answer
"SEO tags" in WordPress means two things:
- Meta tags in the page head: the title tag, meta description, robots, canonical and Open Graph tags. They tell search engines and social networks about each page.
- Post tags: a WordPress taxonomy that groups related posts and creates an archive page for each tag.
WordPress adds the title tag on its own but no meta description, so set titles and descriptions in an SEO plugin such as Yoast SEO, Rank Math or All in One SEO. Use a small set of post tags, noindex thin tag archives, and skip the meta keywords tag: Google does not use it.
What are SEO tags in WordPress?
People who search for WordPress SEO tags usually want one of two things, and they work very differently.
Meta tags are lines of code in the <head> of each page. Visitors never see them on the page, but search engines and social networks read them: the title tag becomes the headline in search results, the meta description may become the snippet under it, and the robots tag decides whether the page is indexed at all.
Post tags are a WordPress feature for organizing blog posts. You add tags such as "backups" or "security" to a post, and WordPress creates an archive page for each tag that lists every post carrying it. They affect SEO indirectly, through the archive pages they create.
This guide covers both, starting with the meta tags, which matter more.
The meta tags that matter for SEO
A WordPress page can carry dozens of tags in its head. These are the ones that affect how it appears in search and when shared.
| Tag | What it does | Who adds it in WordPress |
|---|---|---|
<title> | The page title. Google usually uses it for the headline in results. | WordPress core on most themes; your SEO plugin lets you write it per page. |
meta description | A summary Google may show as the snippet below the title. | Your SEO plugin. WordPress core does not add one. |
meta robots | Rules such as noindex, nofollow and max-snippet. | Core adds a few automatically; your SEO plugin sets them per page. |
link rel="canonical" | Tells search engines which URL is the main version of a page. | Core on single posts and pages; your SEO plugin on archives too. |
Open Graph (og:) | Title, description and image used when the page is shared on social networks. | Your SEO plugin. |
X card (twitter:) | Card type and details for X. Falls back to Open Graph if missing. | Your SEO plugin. |
| Structured data (JSON-LD) | Describes the page to search engines; can enable rich results. | Your SEO plugin or a schema plugin. |
meta keywords | Nothing in Google. Google does not use it. | Leave it out. |
Sources: Google Search Central and the WordPress developer reference, checked 10 October 2026.
What WordPress adds on its own
Out of the box, WordPress handles some of this, and leaves the rest to plugins:
- The title tag. Since WordPress 4.1, themes that declare support for
title-taglet WordPress print the page title, and block themes always do. By default it is the post title plus the site name. - A robots tag, in some cases. Since 5.7, WordPress prints a robots meta tag:
noindexon every page when Settings > Reading has "Discourage search engines from indexing this site" ticked,noindexon internal search results, andmax-image-preview:largeon public sites. - A canonical tag on single posts and pages. WordPress adds
rel="canonical"to individual posts and pages, but not to archives such as tag pages.
What it does not add: a meta description, Open Graph or X tags, or structured data. That is why almost every WordPress site runs an SEO plugin.
How to add a title tag and meta description in WordPress
With an SEO plugin installed, you set both for each post or page in the editor:
- Yoast SEO: open the Yoast SEO sidebar in the editor and click Search appearance, or use the Yoast box below the content, to edit the SEO title, slug and meta description.
- Rank Math: click the Rank Math icon at the top right of the editor, then Edit Snippet on the General tab, and fill in the title and description.
- All in One SEO: scroll below the content to AIOSEO Settings and fill in the title and meta description. These override the site-wide format set under Search Appearance.
Without a plugin, you can add a description with a few lines of code. It is fine for a simple site, but an SEO plugin is easier to manage and avoids duplicate tags.
<?php
// Child theme functions.php or a small site plugin.
// Do not use alongside an SEO plugin, or the page gets two descriptions.
add_action( 'wp_head', function () {
if ( is_singular() && has_excerpt() ) {
$text = wp_strip_all_tags( get_the_excerpt() );
echo '<meta name="description" content="' . esc_attr( $text ) . '">' . "\n";
}
} );
How to write them
Google's documentation is the best guide here:
- Titles: give every page a unique title that is descriptive and concise, close to the page's main heading. Avoid vague titles such as "Home", boilerplate repeated across pages and keyword stuffing. Add the brand at the start or end with a separator. Google sets no character limit but shortens titles to fit the screen.
- Descriptions: write a unique summary of the page that a person would want to click, with the details that matter (what it covers, who it is for). Google builds snippets mainly from page content and uses your description when it describes the page better, so it is a suggestion, not a guarantee. There is no length limit either, but long descriptions are cut short.
Google rewrites titles it finds unhelpful. In 2021 it said it used the page's own title element about 87 percent of the time, so a clear, accurate title usually survives.
How to set robots, canonical and social tags
Robots. Use noindex for pages that should not appear in search, such as thank-you pages or thin archives, through your SEO plugin's per-page or per-archive settings. Do not also block those pages in robots.txt: Google cannot read a noindex on a page it is not allowed to crawl. And check that "Discourage search engines" in Settings > Reading is off on a live site, because it noindexes everything.
Canonical. When the same content is reachable at more than one URL, the canonical tag says which one is the main version. Google treats it as a strong signal, not a command, so keep internal links and redirects pointing at the same URL too. If you move a page, leave a 301 redirect behind: changing a WordPress page URL shows how to do it without breaking links.
Open Graph and X cards. The Open Graph protocol needs four properties: og:title, og:type, og:image and og:url, with og:description optional. X reads its own twitter: tags and falls back to Open Graph when they are missing. Every major SEO plugin writes these from a social tab in the editor, where you can set a separate image and title for sharing.
Structured data. Google recommends JSON-LD. It does not guarantee rich results, and the markup must describe content that is visible on the page.
WordPress post tags and SEO
Post tags are the other half of "SEO tags". WordPress describes categories as your site's table of contents and tags as its index.
| Categories | Tags | |
|---|---|---|
| Structure | Hierarchical, can have parent and child categories | Flat, no hierarchy |
| Required? | Yes, every post has at least one | No, optional |
| Think of it as | The table of contents | The index |
| Archive page | /category/name/ | /tag/name/ |
| Good practice | One main category per post | A small set of tags you reuse |
Source: WordPress.org documentation and Learn WordPress, checked 10 October 2026. Archive URLs are the defaults and can be changed under Settings > Permalinks.
Every tag you create adds a page at /tag/name/ listing the posts that carry it. That is where SEO comes in. A tag used on one post creates an archive page with one item on it, which is thin content. Yoast's advice is to keep the number of tags below a third of your posts, use tags only for topics with several articles and delete or redirect tags that hold a single post. Learn WordPress makes the same point: a limited number of well-used tags beats hundreds of rarely used ones.
Used that way, tags help visitors find related posts, and a strong tag archive can even rank as a landing page for its topic. Used as a list of keywords for each post, they create dozens of near-empty pages for search engines to crawl.
Should you noindex tag pages?
Noindex the thin ones and keep the useful ones. A practical rule: a tag archive stays indexed if it collects several posts on a real topic, ideally with a short introduction; anything thinner gets noindex, or is merged into a better tag.
Check your plugin's setting rather than assuming. In their current code, Yoast SEO and All in One SEO leave tag archives indexed by default, while Rank Math sets them to noindex when it is installed. In Yoast, the switch is under Yoast SEO > Settings > Categories & tags > Tags; in Rank Math, under Titles & Meta; in All in One SEO, set Show in Search Results to No for tags under Search Appearance. Turning it off also removes tag pages from the plugin's sitemap.
How to check the SEO tags on any WordPress page
It takes two minutes and needs no tools. Checking the live page matters, because what you set in a plugin and what the page actually sends can differ.
- Open the page in a browser. Use the live address, logged out if possible, so you see what visitors and search engines get.
- View the page source. Press Ctrl+U (Cmd+Option+U on a Mac) to open the HTML source.
- Find the title and description. Search the source for <title and for name="description". There should be exactly one of each.
- Check robots and canonical. Search for name="robots" and rel="canonical". Make sure the page is not set to noindex by mistake and the canonical points to the right URL.
- Check the social tags. Search for og: and twitter: to see the title, description and image used when the page is shared.
- Compare with your SEO plugin. If the source does not match what you set, a cache may be serving an old copy, or two plugins may be writing tags.
For a second opinion, Google Search Console's URL Inspection shows the page as Google last saw it, and the Rich Results Test checks structured data.
Common WordPress SEO tag mistakes
- Two plugins writing tags. An SEO plugin plus a theme or a second plugin that also prints titles or descriptions leaves pages with two of each.
- "Discourage search engines" left on after a site goes live, which noindexes every page. It is worth a line in your site monitoring routine.
- The same title or description on many pages, often from a template nobody customized. Google may rewrite them, and they compete with each other.
- Missing descriptions on key pages, leaving Google to pick a snippet from the text.
- Hundreds of one-post tags creating thin archive pages.
- Time spent on meta keywords, which Google ignores.
- Blocking noindex pages in robots.txt, which stops Google from seeing the noindex.
Managing SEO tags across many WordPress sites
On one site, an SEO plugin is all you need. Across twenty client sites, each with a different plugin, a different page builder and its own login, even changing one description becomes a project, and checking that every site is indexable rarely happens at all.
WPCentrify's on-page SEO management handles this from one screen, as part of a WordPress website management platform that also covers updates, backups, uptime and security. (Disclosure: WPCentrify is our product.)
- One editor for every site. Set the title and meta description with a character count, a pixel-width readout and a preview of the search result, on any page of any connected site.
- Saved through the plugin each site already runs. Yoast SEO, Rank Math, All in One SEO 4, SEOPress, The SEO Framework and Slim SEO are edited directly. Other SEO plugins are recognized and left alone, so two tools never fight over the same tags. On sites with no SEO plugin, WPCentrify covers the fields until one is installed.
- Share cards for Open Graph and X, with the image chosen from the site's media library and a preview of both.
- Indexing rules per page: index or noindex, follow or nofollow, the canonical address and the narrower directives such as nosnippet and max-snippet, where the plugin supports them.
- Structured data from the types your plugin offers, or your own JSON-LD, validated before it is saved.
- A score out of 100 for each page, with a named reason for every point lost, and filters to find every page set to noindex across a site.
- Configured against rendered. WPCentrify reads back what the public page actually sends and shows it beside what you set, so a cache serving last week's tags shows up as a difference.
- Tags and categories too. The page record lets you set taxonomy terms, the excerpt and the featured image without opening wp-admin.
To change the same words in titles and descriptions across many pages, WordPress search and replace covers SEO fields too. Anything that is not an SEO tag at all, such as a verification meta tag or a conversion pixel, belongs in a code snippet delivered to the site instead. It is a management layer, not a rank tracker or keyword tool, and it works on posts and pages. For bulk title and description changes, see how we bulk edit WordPress SEO titles and meta descriptions across sites.
Sources
- Influencing your title links, Control your snippets, Meta tags and attributes that Google supports, Robots meta tag specifications and Consolidate duplicate URLs, Google Search Central
- More info about titles (2021) and Google does not use the keywords meta tag (2009), Google Search Central Blog
- add_theme_support(), wp_robots() and rel_canonical(), WordPress developer reference
- Posts Tags Screen, WordPress.org documentation, and Categories vs tags, Learn WordPress
- The Open Graph protocol
- Why you should stop using tags and Meta descriptions, Yoast; Titles & Meta, Rank Math; Setting the SEO title and description, All in One SEO
All sources checked on 10 October 2026.
Questions about WordPress SEO tags
The phrase covers two different things. Meta tags are code in the head of each page, such as the title tag, meta description, robots and canonical tags, that tell search engines and social networks about the page. Post tags are a WordPress taxonomy that groups related posts and creates a tag archive page for each tag.
No. WordPress adds a title tag on themes that support it, a robots tag in some cases and a canonical tag on single posts and pages, but it has no meta description. You add one with an SEO plugin such as Yoast SEO, Rank Math or All in One SEO, or with a small piece of code.
Hook a small function to wp_head in a child theme or a site-specific plugin and print the tags you need, for example a meta description built from the post excerpt. Do not do this on a site that also runs an SEO plugin, or the page will carry two sets of tags.
Not on their own. Post tags help visitors find related posts, and a tag archive with several useful posts can rank. Hundreds of tags used once each create thin archive pages, so use a small set of tags and remove or noindex the ones with a single post.
Noindex tag archives that are thin, such as tags with one or two posts. Keep a tag indexed only if it collects several posts on a real topic and ideally has its own introduction. Use the robots setting in your SEO plugin rather than blocking tag pages in robots.txt.
Google sets no character limit for either, but it shortens them in results to fit the screen. Many SEO plugins guide titles to about 50 to 60 characters and descriptions to about 150 to 160, which usually shows in full on desktop.
No. Google has said since 2009 that it does not use the keywords meta tag, and its current documentation says the tag has no effect on indexing or ranking. You can leave it out.
Google builds the title link from several sources and may rewrite a title that is too long, repeated across many pages, out of date or does not match the page. In 2021 Google said it used the page's own title element about 87 percent of the time. Make each title unique, accurate and close to the main heading.
Categories are hierarchical and every post has at least one, like a table of contents. Tags are not hierarchical and are optional, like an index of specific topics. Both create archive pages.
Use a tool that edits them for every site from one place. WPCentrify gives you one editor for titles, descriptions, social cards, indexing rules and structured data on every connected site, and saves each change through the SEO plugin that site already runs.
Related reading
On-page SEO management
Titles, descriptions, social cards, indexing and schema for every site, from one editor.
See the featureBulk edit SEO titles and descriptions
Edit on-page SEO for every client site without logging in to any of them.
Read the postContent management
Every post and page across every site, searchable from one dashboard.
See the featureMore on this topic: how to check website traffic on WordPress and managing multiple WordPress sites from one dashboard.
Set SEO tags on every site from one editor
Titles, descriptions, social cards, indexing rules and structured data for every WordPress site you manage, saved through the SEO plugin each site already runs.
Free during early access. No credit card required.