Skip to content
Nazmul Nikhil
Menu

Multiple Title Tags (Ahrefs): Why Pages Get Two Titles and How to Fix It

Ahrefs flags pages with more than one title tag. Search engines may pick the wrong one. Here's how to trace the extra title to a plugin, theme or SVG and remove it.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 3 min read
Multiple Title Tags (Ahrefs): Why Pages Get Two Titles and How to Fix It
Photo: Patrick Fore on Unsplash

In short

Ahrefs flags "Multiple title tags" on indexable pages with more than one title tag. Search engines may struggle to pick the right one, and Ahrefs notes extra titles can even look like keyword stuffing. The cause is usually a misconfigured plugin or theme, or a leftover from A/B testing. Remove the extra so each page has one relevant title.

A page should have exactly one <title> element in its head. When Ahrefs finds two, it's almost always a technical leftover, not someone's deliberate choice.

Why it matters

The title element is the main source Google uses for the clickable headline in results. Google also looks at headings, og:title tags and other prominent text when it builds that title link. Two competing titles make your intended headline less certain. A page might show "Home | My Site" instead of "Emergency Plumber in Leeds | 24/7 Callouts".

Common causes

  • Two SEO tools writing titles. For example, a theme with a title setting plus an SEO plugin, or two plugins during a migration.

  • A hardcoded <title> in the header template in addition to the one WordPress or your framework generates.

  • Inline SVG icons with a <title> element. These are for accessibility and are fine inside the body. But a badly placed SVG, or a crawler that reads the whole page, can confuse the count, so check where the second title sits.

  • A/B testing or personalization scripts that inject a second title.

Free SEO audit

Not sure which issues matter on your site?

I'll review your site and send you the fixes that matter most, in plain English.

Get my free audit →

How to find the second title

  1. View source on a flagged page and search for <title.

  2. If one result is inside <svg> in the body, it's an icon title. Confirm whether Ahrefs counts it by checking the issue's title column.

  3. If both are in the <head>, look at nearby comments or search your theme files to find which code prints each.

How to fix it

WordPress: themes should declare add_theme_support( 'title-tag' ) and not print a <title> in header.php. Remove any hardcoded <title> from the child theme. Use one SEO plugin's title setting: the SEO title field in Yoast or Rank Math's General tab.

Shopify: the theme prints <title>{{ page_title }}...</title> in theme.liquid. If an SEO app adds another, turn off the app's title output.

Webflow and Wix: set the title in page SEO settings, and remove any <title> added through custom code.

Custom builds: one component should own <title>. In Next.js, use the metadata title field rather than rendering <title> manually in a layout and in a page. In React SPAs, check that a helmet library isn't stacking titles from nested components.

A worked example

A site adds a conversion-testing tool that rewrites headlines for half of visitors. On its test pages, the tool inserts a new <title> without removing the original. Ahrefs catches the test pages, while every other page is clean. Configuring the tool to replace the existing title, rather than add one, fixes the issue. So does ending the finished tests.

Common mistakes

  • Removing the page-specific title and keeping the generic one.

  • Stripping titles from SVG icons that are inside the body. Those help screen readers and aren't the problem unless they leak into the head.

  • Not rechecking after a theme update, which can bring back a hardcoded title.

This guide isn't affiliated with or endorsed by Ahrefs.

Sources and references

TAGSAhrefs Site AuditMultiple title tagsAhrefs multiple title tagsDuplicate title tag on page
Nazmul Nikhil

About the author

Nazmul Nikhil

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.

Need help with this?

Get it fixed with On-Page SEO

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Site Audit Issues posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com