Skip to content
ThemesIonic — home
Troubleshooting

WordPress Site Title Not Changing? Header vs Browser Tab

WordPress keeps one site title, the blogname option, but the header and the browser tab reach it by different routes. Find which route is stale: a table of every place that writes it and every layer that can override it.

Updated 5 min read beginner

Quick fix: decide whether the old name is in the page header or in the browser tab. Both start from the blogname option, but the header gets it from your theme and the tab gets it from wp_get_document_title(), which SEO plugins routinely replace. Whichever one is stale tells you where to look.

WordPress has exactly one site title: the blogname option. Every "it won't change" case is either a save that never reached that option, or something downstream printing a different value over it.

Every place that writes the title

Several screens edit the same option, which is useful to know when one of them seems to undo another.

Where you edit it What it saves Catch
Settings → General → Site Title blogname Saves on Save Changes; the field shows whatever get_option() returns
Site Title block in the Site Editor blogname, through the REST settings endpoint (field title) Not written until you save, and only if the Title box under Site stays ticked
Appearance → Customize → Site Identity → Site Title blogname Classic themes always have it; block themes only when something registers Customizer settings
Multisite: Network Admin → Sites → Edit → Settings that site's blogname Network Title on Network Settings is a different setting
An SEO plugin's site name field the plugin's own setting Does not touch blogname at all

The Site Title block deserves a closer look, because it is the one people misread. It has no text attribute: its only settings are heading level, link and link target. When you type into it, the editor edits the site record, and on the server the block renders get_bloginfo( 'name' ). So you cannot "type static text into" a Site Title block, and changing it on one template changes it everywhere, including Settings → General. If the site title is empty, the block outputs nothing at all, which looks like a missing header rather than an old one.

Site Editor save panel after changing the Site Title block: the Site section says This change will affect your whole site, with a ticked Title checkbox.
WordPress 7.1.5 with Twenty Twenty-Five: changing the text of the Site Title block queues a site-wide Title change, the same setting as Settings › General.

Header title and tab title are different routes

Visible header title Browser tab / <title>
Built by Site Title block (block themes) or the theme's header template (classic) wp_get_document_title()
Front page The site title Site title, separator, tagline
Other pages The site title Page title, separator, site title
Overridden by Hard-coded header text, a theme option, a filter on bloginfo, a hidden-title setting pre_get_document_title, document_title_parts, document_title, a hard-coded <title>
Who usually overrides it Theme or child theme SEO plugin

The tab title has a few details worth knowing:

  • The default separator is a hyphen, filterable through document_title_separator, and texturised to an en dash on output. A different character means something is filtering it.
  • On the front page, even a static front page, the tab reads site title – tagline, not the page's own title. A stale tagline therefore looks like a stale title.
  • pre_get_document_title short-circuits everything: if any plugin returns a non-empty string, core's version is never built. That is how SEO plugins apply their templates and per-page SEO titles.
  • Block themes always print the <title> tag. Classic themes print core's only if they declare add_theme_support( 'title-tag' ); older themes write their own <title> in header.php, sometimes with the name typed in.

Search results are a third copy: they show what was crawled last, and an SEO plugin may also send its own site name in structured data. Fix the tag, then wait for the recrawl.

Symptom → cause → check

Symptom Likely cause How to check
Settings field shows the old name again after saving Save blocked, or code forcing the value through pre_option_blogname / option_blogname Search the theme and plugins for blogname; the field displays the filtered value
Typed a new name in the Site Title block, nothing changed Editor closed without saving, or Title unticked in the save panel Reopen the editor: an unsaved title is gone; Settings → General shows what was stored
Site Editor save fails with an error notice REST request to the settings endpoint blocked See response is not a valid JSON response
Header right, tab wrong SEO plugin template or per-page SEO title View the page source and read <title>; check the page's own SEO fields before the global template
Tab right, header wrong Theme header text, child theme, or logo-only header Classic: Customizer, Display Site Title and Tagline; block: does the header template contain a Site Title block at all?
Header shows nothing Empty blogname, or a logo that replaces the text Settings → General; site logo not changing covers logo overrides
New name logged in, old name logged out Page cache or CDN Purge the homepage, then the CDN; Cloudflare and WordPress covers the edge layer
Changed in the database, nothing moves Persistent object cache still holds the options Flush the object cache; see persistent object cache
One site in a network wrong Edited Network Title instead of the site's own title Network Admin → Sites → Edit → Settings, field blogname

Editing blogname directly in phpMyAdmin is the trap in that list: WordPress reads options from its cache, and with Redis or Memcached active the old value keeps being served until the cache is flushed. Settings → General updates both, so use it.

Verify

  1. Open /wp-json/ on your site. Its name field is get_option( 'blogname' ), untouched by the theme or the SEO plugin's title template.
  2. Open a logged-out private window, view the page source and read the <title> line.
  3. Compare the header text with both.

If the REST name is right and the <title> is wrong, the cause is a title filter or a theme-written tag. If both are right and the header is wrong, it is the theme. If all three are right only when logged in, it is cache. The WordPress SEO checklist covers the rest of what a title template should contain.

Common mistakes

  • Unticking Title in the save panel. The edit stays in the editor and never reaches the database.
  • Changing the site name in an SEO plugin and expecting the header to follow. It writes its own setting, not blogname.
  • Typing the site name as literal text in an SEO title template. The next rename then changes nothing in the tab.
  • Purging every cache first. Caching only explains the logged-out-only pattern; anything else survives a purge.

Frequently asked

Yes. The block stores no text of its own: typing into it edits the site-wide blogname option, the same one as Settings, General. Nothing is written until you save, and the save panel lists it under Site with the note "This change will affect your whole site."
The tab shows the title tag, not the header. Core builds it from the page title and the site title, but any plugin can replace it entirely through the pre_get_document_title filter, which is how SEO plugins apply their own title templates and per-page SEO titles.
Use Settings, General or click the Site Title block in the Site Editor. Block themes only get Appearance, Customize when a theme or plugin adds Customizer settings, so its absence is normal rather than a fault.

Related guides