Skip to content
SEO

Use the | and ~ separators in Yoast SEO titles

Yoast SEO removed the pipe and tilde title separators. Type them into your title templates instead, and see why Google may rewrite titles anyway.

By WP24×7 engineers4 min readPublished September 9, 2021Updated November 29, 2026

At a glance

Yoast SEO removed the pipe and tilde from its title separator picker around version 17.1, because Google often swaps them in results. You do not need to fork the plugin: type the symbol directly into your SEO title templates, which Yoast still outputs as written. Repeat it for every content type, check the page source, and remember Google may rewrite titles anyway.

Updated November 29, 2026 · For WordPress site owners and SEO editors using Yoast SEO

  • For owners who want a pipe or tilde between title and site name in Yoast SEO
  • Fix replace %%sep%% with the typed symbol in each SEO title template
  • Where Yoast SEO, Settings, Content types (older versions: Search Appearance)
  • No code needed; do not edit plugin files or rely on unmaintained filter snippets
  • Ranking effect no evidence the separator affects rankings
  • Check page source for the title element; Google may still rewrite titles
  • Help customization services and WordPress support

Yoast SEO's title separator picker used to include a pipe (|) and a tilde (~). In a release around version 17.1 those two were removed, because Yoast noted that Google frequently swaps them in results. If your brand style or an existing site relies on the pipe, you do not need to fork the plugin. Type the symbol directly into your title templates, which Yoast still outputs as written.

What is the title separator?

Every title Yoast builds is a template made from variables. A typical post template reads %%title%% %%sep%% %%sitename%%. The %%sep%% variable is replaced with the separator chosen in Yoast's settings, giving "My Post - My Site". Choosing a separator is one global setting. Typing a character in a template is local to that template, so it can override the global one wherever you need it.

How do I use a pipe or tilde now?

The exact menu names vary between Yoast versions, so look for the section that holds titles and meta descriptions per content type.

  1. Open settings

    In the dashboard open Yoast SEO and then Settings (older versions: Search Appearance).

  2. Open Content types

    and choose Posts.

  3. Find the SEO title field,

    showing a template such as %%title%% %%page%% %%sep%% %%sitename%%.

  4. Replace the separator

    Click the %%sep%% pill, press Backspace, then type | with a space on each side.

  5. Save
  6. Repeat

    for Pages, Categories, Tags, Archives, Products and any other content type. The homepage template is under Homepage or the site basics screen.

The result is %%title%% | %%sitename%%.

Can I still set it in one place?

Not with a pick-list in current versions. If you have many content types, set the templates once and then check each, rather than assuming they inherit. Do not edit Yoast's plugin files to put the options back, because the next update removes your change. Third-party filter snippets depend on Yoast's internal hooks, which have changed more than once: use them only if you can test against your exact version and expect to retest after updates. The template approach has no such risk.

Does the separator matter?

Hardly. It is there for humans scanning a results page, and Google uses its own system to generate titles and can ignore yours. Its documentation says titles are built from many sources, such as the title element, headings and anchor text, and the page title is not guaranteed to appear as written. You may see a hyphen or a pipe in results for pages you did not change.

ChoiceMatters?
Which separator characterBarely: a presentation choice with no evidence of ranking effect
A clear, specific title under roughly 60 charactersYes
Main topic first, brand lastYes: put the unique words first
Consistency across the siteYes: mixed separators look unfinished
A title template: title, separator, site name

Will old titles change at once?

No. Saving updates the HTML immediately, but search engines must crawl each page again. For key pages, request a recrawl with the URL inspection tool in Google Search Console. Expect days or even weeks, and some pages not to change at all.

How do I check the title is correct?

  • Open the page in a private window, right-click, choose View page source and search for <title>.
  • Or use Yoast's snippet preview in the editor, which shows how a title might look.
  • Check a post, a page, a category archive and the home page, since each uses its own template.
  • Look for double separators: if a template already includes %%sep%% elsewhere, you may see two symbols.

What mistakes are common?

MistakeEffect
Typing the symbol without spacesCramped title such as `Title
A template per post instead of per typeSet it per type and override only where needed
Forgetting custom post typesProducts, portfolio items and events often have their own templates
Mixing separatorsThe site looks unfinished
Expecting the character to rankIt does not

How can I keep titles consistent across the site?

Make a short list of every title template you changed, the content types they apply to and the separator you chose, and store it where your team can find it. When a plugin update or a new content type appears, compare against the list. Crawl the site with a tool such as Screaming Frog or a similar crawler's free mode and sort the titles to spot pages that still use the old separator. If you use a multilingual plugin, check each language's templates too, since some keep their own copies of the settings.

Need a hand?

Changing titles across a large site, a multilingual setup or a WooCommerce shop is easy to do wrong, and a bad template change affects hundreds of pages at once. Our team can check your templates and the result in a staging copy first.

Many templates to change?

We can check them on staging first.

See WordPress support. For other quick on-site changes, see how to remove version numbers from WordPress.

FAQ

Questions people ask

11 answers. Can't find yours? Ask an engineer.

Why did Yoast SEO remove the pipe and tilde separators?

Yoast stated in its release notes that Google often replaces those characters in search results, so it dropped them from the picker. They can still be typed into title templates.

Link to this answer
Does the title separator affect rankings?

No evidence suggests the separator character influences rankings. It is a presentation choice, and Google may rewrite titles whatever you set.

Link to this answer
Will my change show in Google immediately?

No. Google has to recrawl and re-process each page, which can take days or weeks, and it may choose a different title anyway.

Link to this answer
What is the %%sep%% variable?

A placeholder in Yoast title templates that is replaced with the separator chosen in the global settings. A typical post template reads %%title%% %%sep%% %%sitename%%.

Link to this answer
How do I type a pipe into the template?

In the SEO title field, click the %%sep%% pill, press Backspace to remove it, then type the pipe with a space on each side. Save, and repeat for each content type.

Link to this answer
Can I set the pipe in one place for the whole site?

Not with a pick-list in current versions, since the pipe and tilde are no longer offered. Set each template once and then check each, rather than assuming they inherit.

Link to this answer
Can I put the options back with a code snippet?

Snippets that add options through a filter depend on Yoast's internal hooks, which have changed more than once. Use them only if you can test against your exact version, and do not edit the plugin's files, since an update removes your change.

Link to this answer
Which content types need the change?

Posts, Pages, Categories, Tags, Archives, Products and any other content type you use, plus the homepage template. Custom post types such as portfolio items and events often have their own.

Link to this answer
How do I check the title is correct?

Open the page in a private window, view the page source and search for the title element, or use Yoast's snippet preview. Check a post, a page, a category archive and the home page, and look for double separators.

Link to this answer
How do I request Google to recrawl a changed title?

For key pages, use the URL inspection tool in Google Search Console. Do not expect a visible change for days or weeks, and expect some pages not to change at all.

Link to this answer
How long should a page title be?

A clear, specific page title under roughly 60 characters, with the main topic first and the brand last, matters more than the separator.

Link to this answer

Keep reading

Want an engineer on it?

Tell us what is wrong in plain words. A person reads it, today.