Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Backups & maintenance · Guide

How to Update Title Tags in WordPress (Step by Step)

How to Update Title Tags in WordPress (Step by Step)

Short answer

Open the post, find your SEO plugin's panel, edit the SEO title field and update the post. Change site-wide patterns in the plugin's title templates. Without a plugin, edit the post title or the site title in Settings, General.

Key takeaways

  • WordPress builds title tags from the post title and site title.
  • Yoast and Rank Math add a separate SEO title field per post.
  • Title templates set defaults for posts, pages and archives.
  • Aim for about 50 to 60 characters with the topic first.
  • Google may rewrite titles that are long, vague or repeated.

How do you update title tags in WordPress?

Edit the post, open your SEO plugin's panel, change the SEO title field and update; use the plugin's title templates for site-wide patterns.

Without a plugin, you can only change the post title or the site title, unless you add a small code filter.

The title tag is the text in the browser tab and, usually, the blue headline in search results. WordPress builds it automatically from the post title and your site name.

An SEO plugin lets you set a different title tag from the on-page headline. That is useful when the best headline for readers is not the best one for search.

The MDN reference for the title element explains what the tag is and where browsers show it.

What does WordPress use as the title tag by default?

By default, WordPress combines the post or page title with your site title, separated by a dash, as long as your theme supports the title-tag feature.

Modern themes declare support with add_theme_support for title-tag. WordPress then outputs the title for every page type, including archives and search results.

You can change the site title part in Settings > General. That change affects every page on the site at once.

Our guide on how to change a page name in WordPress covers editing the post title itself.

Step 1: How do you change a title tag with Yoast SEO?

Open the post in the editor, scroll to the Yoast SEO box or open the Yoast sidebar, find the search appearance section, edit the SEO title field and update the post.

Yoast fills the SEO title with variables such as title, separator and site title. You can replace them with plain text or mix the two.

A preview shows roughly how the title may look in search results. The length bar turns green, orange or red as a rough guide.

Yoast explains why Google may still show something different in its help article on titles not showing as entered.

Step 2: How do you change a title tag with Rank Math?

Open the post, click the Rank Math icon in the editor's top bar, choose Edit Snippet, change the Title field and update the post.

Rank Math also uses variables, such as title, sep and sitename. You can type over them for a fully custom title.

The snippet editor shows a desktop and mobile preview. Check both, as mobile results can show fewer characters.

Our comparison of Yoast and Rank Math settings shows where each plugin keeps the same options.

Step 3: How do you change title templates for the whole site?

Open your SEO plugin's settings for content types or titles and meta, then edit the default title pattern for posts, pages, categories and other archives.

In Yoast, templates live under Yoast SEO > Settings, in the content types and categories sections. Yoast's help page on changing title and meta description templates shows each screen.

In Rank Math, go to Rank Math > Titles & Meta. The Rank Math titles and meta guide explains each tab.

Templates save time. Set a good default once, then only override titles for important pages.

Page typeCommon templateExample output
Blog postTitle, separator, site titlePost headline - Site
PageTitle, separator, site titleAbout Us - Site
Category archiveCategory name, separator, site titleRecipes - Site
Home pageSite title, separator, taglineSite - Tagline
Search resultsSearch phrase, separator, site titleYou searched for x - Site

How do you change title tags without a plugin?

Without a plugin, change the post title or site title, or add a small code filter to adjust the title format, since WordPress has no separate SEO title field.

Developers can use the document_title_parts filter to change pieces of the title, such as removing the tagline or changing the separator.

Here is a short example that changes the separator to a vertical bar:

add_filter( 'document_title_separator', function () {
    return '|';
} );

Put code like this in a child theme's functions file or a code snippets plugin, never in a parent theme that will be overwritten on update.

If you want per-post control, a free SEO plugin is simpler than custom code. Our explainer on whether an SEO plugin matters weighs the choice.

What makes a good title tag for each page type?

A good title tag matches the page's purpose: specific topics for posts, clear service names for pages, product names for shop items and plain brand names for the home page.

Blog posts work best with the main question or topic up front. Readers scan the first few words, so lead with what the post answers.

Service and landing pages benefit from naming the service and, if relevant, the location. Keep the brand at the end.

Product pages should start with the product name and a key detail, such as size or model. WooCommerce product titles feed into the default title tag, so clear product names help twice.

The home page is the one place where the brand name can come first. Follow it with a short phrase about what the site offers.

Avoid using the same title tag on several pages. Duplicate titles make it harder for search engines and visitors to tell pages apart.

How long should a title tag be?

Keep title tags short enough to show in full, roughly 50 to 60 characters for most titles, with the main topic near the start.

Google does not use a fixed character limit. It cuts titles based on pixel width, so wide letters take more space.

Google's guide to influencing title links recommends unique, descriptive titles and warns against stuffing keywords.

Good title tags usually:

  • Describe the page in plain words.
  • Put the main topic or keyword near the beginning.
  • Stay unique across the site.
  • Match what the page actually delivers.
  • Include the brand name when it helps recognition.

Why does Google show a different title from yours?

Google sometimes rewrites title links when your title tag is too long, stuffed with keywords, repeated across pages or does not match the page content.

Google may use your H1 heading, anchor text or other prominent text instead. That is normal and can change over time.

To reduce rewrites, make the title tag and the H1 close in meaning. Our guide on how to add an H1 tag in WordPress explains how themes handle headings.

After you change a title, it can take days or weeks for search results to update. Requesting reindexing in Google Search Console can speed that up.

How do you update title tags in bulk?

Use your SEO plugin's bulk editor, or change the title templates, to update many title tags at once instead of opening each post.

Yoast includes a bulk editor under its Tools section that lists posts with their current and new SEO titles.

Rank Math lets you edit SEO titles from the posts list in some setups. Check its settings for bulk editing options.

Before a big bulk change, export a list of current titles. That gives you a record to roll back to if traffic drops.

Should you change title tags on old posts?

Change old title tags when a page ranks but gets few clicks, targets the wrong search intent, or contains outdated details like an old year.

Small, clear improvements often help click-through rates. Avoid changing titles on pages that already perform well without a good reason.

Combine title updates with content updates. Our guide on how to update old posts for SEO shows a full refresh process.

What other tags should you update with the title?

Update the meta description and social titles at the same time, since they appear alongside the title in search and on social networks.

Your SEO plugin usually has a meta description field right below the SEO title. Our guide on how to add meta tags in WordPress covers it.

Social platforms use Open Graph titles, which can differ from the title tag. See how to add Open Graph tags in WordPress for that step.

Frequently asked questions

Where is the title tag in WordPress?

WordPress generates the title tag automatically from the post title and site title. To edit it separately, use the SEO title field from a plugin such as Yoast SEO or Rank Math in the post editor. The site title part lives in Settings, General.

Is the SEO title the same as the post title?

Not always. The post title is the headline on the page, usually the H1. The SEO title is the title tag used in browser tabs and search results. By default they match, but SEO plugins let you set them differently.

How long does it take for a new title to show in Google?

It depends on how often Google crawls the page. It can take from a few days to several weeks. You can request indexing for the page in Google Search Console to prompt a recrawl sooner.

Can I use two SEO plugins to manage titles?

It is best not to. Two SEO plugins can output duplicate title tags or override each other, which causes confusing results. Pick one plugin and remove the other after moving its settings.

Why does my title tag show the site name twice?

This usually happens when the SEO title template adds the site name and the post title also contains it, or when the theme adds a title tag the old way. Check the template variables and make sure the theme supports the title-tag feature.

Sources

  1. Influencing your title links in search results Google Search Central
  2. How to change SEO title and meta description templates Yoast
  3. Titles and Meta options Rank Math
  4. document_title_parts hook WordPress Developer Resources
  5. The Document Title element MDN Web Docs

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.