Multiple Title Tags: How to Fix Duplicate Titles

No Comments
Multiple title tags: how to fix duplicate titles
TL;DR

Your page is outputting more than one HTML title element, which is invalid markup and leaves Google guessing, so track down the second source (usually a theme that hardcodes a title alongside your SEO plugin) and make sure exactly one component sets the title.

What "Multiple Title Tags" means

The HTML specification allows a document to contain exactly one <title> element, and it must live inside the <head>. This audit issue fires when a crawler finds two or more <title> elements on the same page. Tools like Screaming Frog and Sitebulb flag it because a page should expose a single, unambiguous title, and anything beyond one is a signal that two different systems are both trying to write the head of your document.

It is almost always a generation problem rather than a content problem. The words in each title might even be fine on their own. The defect is that there are two of them where there should be one.

Why multiple title tags are a problem

Invalid markup

A second <title> breaks the HTML contract. Browsers and crawlers are forgiving and will not show an error to your visitors, but lenient parsing is not a guarantee. When the markup in your <head> is malformed, you are relying on each parser to clean up after you in the same way, and they do not always agree. Valid markup is the only state you fully control.

Ambiguity for search engines

The title is one of the most important on-page elements Google uses to build the clickable title link in search results. When you hand it two titles, you are forcing it to pick, and you lose a say in the outcome. Google already rewrites titles when it judges the supplied one to be weak or mismatched, and giving it conflicting signals only makes a rewrite more likely. You want your title to be the single, prominent, distinctive string on the page, not one of two competing candidates.

Which one does Google use?

When a document contains more than one title element, HTML parsers honor the first one they encounter in the <head> and ignore the rest. Google generally follows the same behavior and reads the first title, but that is not a promise it will display it. Google draws title links from several sources, including the title element, the main heading, and other prominent on-page text, and it may rewrite the displayed title if the first one looks off. The practical takeaway: do not count on a predictable winner. Fix the duplication so the title you actually want is the only one present.

Common causes

On WordPress and similar CMS platforms, the issue nearly always traces back to two components both writing a title into the head:

A theme that hardcodes a title. Older or custom themes sometimes print a literal <title> directly in header.php instead of letting WordPress manage it. Modern themes are supposed to declare add_theme_support( 'title-tag' ) and let the core wp_head() hook output the title once.

An SEO plugin that adds its own title. Plugins such as Yoast, Rank Math, or All in One SEO inject an optimized title through wp_head(). If the theme is already printing one, you now have two. Running two SEO plugins at once produces the same collision.

The classic scenario is exactly this pair: a theme hardcodes a title in the template, and an SEO plugin adds a second one through the hook. Page builders, cached fragments, or a stray title placed in the <body> can also be culprits.

How to diagnose

View the rendered page source (right click, View Page Source, then search for <title) and count the matches. If you see two, note where each sits, one will typically be near the top of the head from the theme, the other lower down from the plugin. To confirm the theme is the source, temporarily switch to a default theme such as Twenty Twenty-Four and recheck the source. To confirm a plugin, deactivate your SEO plugins one at a time. Whichever change makes the second title disappear identifies the offender.

How to fix it: ensure exactly one title source

The goal is a single title, generated by one system. In nearly all WordPress cases you keep the SEO plugin as the title authority and stop the theme from printing its own. Remove the hardcoded <title> from the theme template and rely on wp_head() plus theme support.

// BAD: header.php hardcodes a title AND the plugin adds one via wp_head()
<head>
  <title><?php wp_title(); ?> | My Site</title>
  <?php wp_head(); // SEO plugin prints a second <title> here ?>
</head>
// GOOD: theme declares support and lets one source manage the title
// in functions.php
add_theme_support( 'title-tag' );

// in header.php, NO hardcoded title element
<head>
  <?php wp_head(); // the title is output exactly once ?>
</head>

If you run more than one SEO plugin, deactivate all but one. After any change, reload the page, view source, and confirm a single <title> remains. Then re-crawl to clear the issue.

Common mistakes

Do not "fix" this by deleting the SEO plugin title and keeping the hardcoded one; you lose your per-page title control. Do not add add_theme_support( 'title-tag' ) while still leaving a literal title in the template, because that produces two again. Do not assume a caching plugin will update instantly, clear the cache and CDN before you re-test. And do not edit a parent theme directly; use a child theme so your change survives the next update.

FAQ

Q: Will two title tags get my page penalized?

A: There is no specific penalty, but it is invalid HTML and it makes Google more likely to ignore or rewrite your intended title, which can cost you clicks. It is worth fixing.

Q: I only see one title in my SEO plugin settings, so why does the audit show two?

A: The plugin sets one title, but your theme template is printing a separate one directly. View the rendered page source rather than the plugin UI to see both.

Q: Which title should I keep?

A: Keep the one from your SEO plugin, since it gives you editable, per-page control, and remove the hardcoded title from the theme so only one source remains.

Need a full technical audit?

SEO ProCheck runs deep crawls that catch issues like this across your whole site.

Get in touch

Claude Vincent is a technical SEO consultant focused on crawlability, rendering, and AI-search visibility. He writes the field guides and case studies at SEO ProCheck, with a bias toward the durable, unglamorous work that decides whether search engines and AI answer engines can actually read and cite a site.

About SEO ProCheck

Technical SEO consulting and GEO strategy with 20 years of enterprise experience. Case studies, resources, and tools for search and AI visibility.

Work With Me

Technical SEO audits, GEO strategy, site migrations, and international SEO. Hourly consulting for teams who need hands-on support, not just reports.

Subscribe to our newsletter!

More from our blog