Skip to content
Nazmul Nikhil
Menu

Multiple H1 Tags (Ahrefs): Allowed, but Is It Helping Your Page?

Ahrefs flags pages with more than one H1. HTML allows it, and Google handles it. Here's when multiple H1s are fine and when they signal a messy template.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 2 min read
Multiple H1 Tags (Ahrefs): Allowed, but Is It Helping Your Page?
Photo: Justin Morgan on Unsplash

In short

Ahrefs flags "Multiple H1 tags" for pages with more than one <h1> element. Multiple H1s are allowed in HTML5, as Ahrefs' Patrick Stox points out, and Google can still work out the main heading. Fix it when the extra H1s are your logo, a sidebar title or repeated widgets. That's a template cleanup that helps readers and screen readers. Leave it when each H1 is meaningful.

This is one of the most debated items in any audit. The short version: more than one H1 isn't an SEO error, but it's often a sign the page's heading structure wasn't planned.

When multiple H1s are fine

  • A long page with clearly separate sections, each with its own H1 inside <section> or <article> elements.

  • A component library that uses H1 inside self-contained blocks, where the visible design still makes the main topic obvious.

When to clean them up

Extra H1 is... Why it's a problem Fix
The logo, on every page Every page's "main heading" becomes your brand name Make the logo a link or image, not a heading
A sidebar or footer title ("Recent posts", "Newsletter") Unrelated text competes with the real topic Change it to an H2 or a styled paragraph
Every section title on a landing page No clear hierarchy for readers or screen readers Keep one H1, use H2s and H3s for sections
A hidden or duplicate H1 for mobile The same heading twice, once hidden Use one heading and style it responsively

Google recommends a distinctive, prominent main title, such as the first visible H1. One clear H1 makes that easy.

How to fix it

WordPress: check the theme's header (logo markup) and widget titles. Many themes let you set the heading level for widget titles. In page builders, set each heading widget's HTML tag.

Shopify: check that the logo uses <h1> only on the home page (many themes do this on purpose), and that section headings in product templates use H2.

Webflow: select each extra heading and change its tag in the settings panel. The visual style can stay the same.

Wix: change extra text from Heading 1 to Heading 2, keeping the design.

Custom builds: let the page layout render one H1 from the page title, and give components a headingLevel prop so they don't hardcode H1.

Common mistakes

  • Treating it as urgent. It's a tidy-up, not a ranking emergency.

  • Removing the only meaningful H1 and keeping the logo one.

  • Changing tags but breaking styles. Move the CSS class with the element so the design doesn't change.

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

Sources and references

TAGSAhrefs Site AuditMultiple h1 tagsAhrefs multiple h1 tagsMore than one h1
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