How to Change Your WordPress SEO Title

Change the SEO title of a WordPress post or page in Yoast SEO, Rank Math, SEOPress or without a plugin, set site-wide title templates, and decide which titles to rewrite first.

Cover Image for How to Change Your WordPress SEO Title

To change the SEO title in WordPress, open the post, find your SEO plugin’s box in the editor (Yoast SEO, Rank Math or SEOPress), and edit its title field. Without an SEO plugin, WordPress builds the title from the post title and your site title, so you change it by renaming the post or adding a little code. The SEO title is the <title> tag: the text in the browser tab, and usually the blue link in Google.

This guide covers each plugin step by step, the site-wide templates that set titles for posts you never edit, and how to decide which titles are worth rewriting first.

SEO title vs post title

Post titleSEO title
Where it showsThe heading on the page (usually the H1), post lists, menusBrowser tab, search results, social shares when no other title is set
Where you edit itThe title field at the top of the editorYour SEO plugin’s box, or a template
Without a pluginThe same textPost title plus site title, e.g. “Blue Mugs – Example Store”

They can be the same. Often the SEO title is shorter or phrased closer to what people search, while the heading reads naturally on the page.

In Yoast SEO

  1. Open the post or page in the editor.
  2. Open the Yoast SEO box: the Yoast icon in the top-right toolbar of the block editor, or the box below the content.
  3. Open Search appearance. The SEO title field shows the current title, often built from variables such as Title, Separator and Site title.
  4. Delete the variables you do not want and type your title, or mix text and variables.
  5. Click Update.

To change the default for every post that does not have its own title, go to Yoast SEO → Settings → Content types → Posts and edit the SEO title template. Pages have their own template under Pages. If your homepage shows your latest posts, its title is under Content types → Homepage; if it is a static page, edit that page.

In Rank Math

  1. Open the post and click the Rank Math icon in the top-right toolbar.
  2. On the General tab, click Edit Snippet.
  3. Edit the Title field. Rank Math variables look like %title%, %sep% and %sitename%.
  4. Close the snippet editor and click Update.

Site-wide templates are under Rank Math SEO → Titles & Meta → Posts (Single Post Title), with separate tabs for pages, categories and tags, and Homepage.

In SEOPress

Open the post, find the SEOPress box, and edit the title on its Titles settings tab. Templates for each content type are under SEO → Titles & Metas. SEOPress variables are written like %%post_title%%, %%sep%% and %%sitetitle%%.

In All in One SEO (AIOSEO)

Open the post and scroll to the AIOSEO Settings box below the content. The Post Title field is on the General tab; it holds “smart tags” for the post title, separator and site title, which you can delete or mix with your own text (type # in the field to list the tags). The template for every post is under All in One SEO → Search Appearance → Content Types, and the separator character is set on the same Search Appearance screen.

Categories, tags and products

Archive pages and WooCommerce products have SEO titles too, set the same way:

  • One category or tag: go to Posts → Categories (or Tags), click Edit on the term, and use your SEO plugin’s box at the bottom of the screen.
  • All categories or tags: Yoast SEO: Settings → Categories & tags. Rank Math: Titles & Meta → Categories (and Tags).
  • A WooCommerce product: Yoast SEO, Rank Math and SEOPress add their box to the product editor, so it works exactly like a post.

On paginated archives, keep the page-number variable in the template (%%page%% in Yoast, %page% in Rank Math) so page 2 of a category does not carry the same title as page 1.

Without an SEO plugin

WordPress (with a theme that supports it) prints <title> as the post title, a separator and the site title. You have three options:

  • Rename the post. This changes the heading on the page too.
  • Change the site title under Settings → General. This changes every title on the site.
  • Add a custom title with code. In a child theme’s functions.php or a code snippets plugin:
// Uses a custom field called seo_title when a post has one.
add_filter( 'document_title_parts', function ( $parts ) {
	if ( is_singular() ) {
		$custom = get_post_meta( get_queried_object_id(), 'seo_title', true );

		if ( $custom ) {
			$parts['title'] = $custom;
		}
	}

	return $parts;
} );

Then add a custom field named seo_title to the post. In the block editor, open the three-dot Options menu, then Preferences → General → Advanced, switch on Custom fields and reload the editor; the panel appears below the content. For most sites a free SEO plugin is simpler.

Older themes sometimes hardcode a <title> tag in header.php. If your page ends up with two title tags, or the title ignores your plugin, that is the cause; the theme needs add_theme_support( 'title-tag' ) instead.

Write a title that earns the click

  • Lead with the topic. The words someone searched should be in the first half, where they survive truncation.
  • Promise what the page delivers. “How to change your WordPress SEO title” beats “Ultimate title guide”.
  • Be specific. Name the plugin, the product, the place, the year if it genuinely matters.
  • Put the brand last, or leave it off long titles.
  • Keep each title unique. Two pages with the same title compete with each other.

Google usually shows your site name above the result, worked out from your homepage, so the brand at the end of the title is optional; on a long title, drop it before you drop the topic.

Three illustrative rewrites:

BeforeProblemAfter
Our Espresso Grind Guide – Bean NotesThe searched words (“grind size”) are missingEspresso Grind Size: Chart and How to Dial It In
Best Espresso Machines 2023 – Top Espresso Machine Reviews – Espresso MachinesOut of date, and the keyword repeated until Google is likely to rewrite itBest Espresso Machines Under $500, Tested at Home
HomeSays nothing about the siteBean Notes: Home Espresso Guides and Gear Reviews

Each “after” title leads with what people search for, makes a promise the page keeps, and fits within the width Google usually shows. Only claim “tested” if you did the testing.

Why Google sometimes shows a different title

Google uses your <title> most of the time, but it can build the title link from other text on the page, such as the main heading, when it decides that text describes the page better. Titles that do not match the page, repeat boilerplate across many pages or are stuffed with keywords are the usual triggers. A concise title that agrees with the page’s heading is rewritten less often.

Troubleshooting by symptom

The browser tab still shows the old title. Purge your caching plugin, host cache or CDN for that page and reload in a private window. If the source still has the old text, look for a second title source: a theme that hardcodes <title> (see above), a page builder with its own SEO setting, or a multilingual plugin where each translation has its own SEO title.

The tab shows variables such as %%title%% or %sitename%. The variable syntax does not match the plugin that is active, which usually happens after switching SEO plugins by copying text instead of importing. Run the importer instead: Rank Math SEO → Status & Tools → Import & Export, or Yoast SEO → Tools → Import and Export, each of which can bring titles across from some other SEO plugins.

The site name appears twice. The template adds the site name, and the title you typed already contains it. Remove it from one place. Check Settings → General → Site Title too, since the template variable reads from there.

The separator looks wrong. Yoast SEO sets it under Settings → General → Site basics, Rank Math under Titles & Meta → Global Meta. It changes every title that uses the separator variable at once.

Google shows a different title in results. See the section above. Make the title and the main heading agree, shorten it, and remove repeated words; Google picks the new title up after it recrawls the page.

Which titles to rewrite first

Rewriting every title is a lot of work for little return. Start with pages Google already shows often but that get few clicks for their position:

  1. In Search Console, open Performance → Search results, choose the last three months, and click the Pages tab with Average CTR and Average position switched on.
  2. Look for pages with many impressions and a CTR well below other pages at a similar position.
  3. Click a page, then the Queries tab, to see what people searched. Rewrite the title to answer the main query in its first words.

The CTR calculator does steps 2 and 3 for you: upload the Search Console export and it ranks queries by the clicks they are missing for their position. The click-through rate guide explains how to judge a “good” CTR for your site.

Check that it worked

View the page source (or use the title checker’s URL mode) to confirm the new <title> is live, and that the source contains exactly one <title> tag. Then inspect the URL in Search Console and request indexing; the Last crawl date under Page indexing tells you when Google has fetched the new version. Search the main query a few days after that date to see whether Google shows your title or its own. Keep a note of the old title and the date you changed it, so you can compare fairly and change it back if clicks fall. After Google recrawls the page, compare the same queries in Performance using the Compare date option, looking at CTR at a similar average position.

How RankHive handles this

On a connected WordPress site, RankHive reads your Search Console every week, finds the pages with plenty of impressions and few clicks, and drafts a new title for each, with the query, position and current title next to the proposed one. When you approve, the RankHive plugin writes the title into the SEO title field of Yoast SEO, Rank Math or SEOPress, and the Change Log keeps a Revert button for it. It works on posts and pages, not WooCommerce products.


Your job is to rewrite the titles that are costing you clicks, not all of them. Do it by hand with the steps above, or let RankHive find those pages each week and draft the new titles for you to approve.

Frequently asked questions

No, once an SEO plugin is installed. The post title is the heading on the page (usually the H1). The SEO title is the <title> tag, which browsers show in the tab and Google usually shows as the blue link. Without a plugin, WordPress builds the <title> from the post title and the site title.