Skip to content
Nazmul Nikhil
Menu

H1 Tag Missing or Empty (Ahrefs): Give Every Page a Clear Main Heading

Ahrefs flags pages with no H1 or an empty one. Usually the logo or a styled div took its place. Here's why a clear H1 helps and how to fix it on any platform.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 3 min read
H1 Tag Missing or Empty (Ahrefs): Give Every Page a Clear Main Heading
Photo: Iván Martínez Díaz on Unsplash

In short

Ahrefs reports "H1 tag missing or empty" for pages with an empty or missing <h1> tag. Ahrefs recommends a unique H1 on every page, consistent with the title but not necessarily the same. It's usually a quick template fix: mark the page's main visible headline as the H1.

The H1 is the visible headline of a page. Most pages that "miss" one actually have a headline. It just isn't marked up as an H1, so crawlers and screen readers can't tell it's the main heading.

Why it matters

  • For Google: Google uses headings to understand page structure. It also lists the main visual title and heading elements among the sources it uses for title links, and recommends a prominent main title such as the first visible H1.

  • For accessibility: screen reader users often jump to the H1 to confirm they're on the right page.

  • Priority: Ahrefs' Patrick Stox called a missing H1 "usually a quick fix", worth doing but not among the most important issues.

Common causes

Cause Example
Headline styled with a <div> or <p> instead of <h1> <div>Emergency Plumber in Leeds</div>
The theme uses H1 for the logo only on the home page Inner pages get no H1 at all
Page builder's hero block set to H2 by default The first heading on the page is an H2
Empty H1 left in the template <h1></h1> on pages without a title field
Headline added by JavaScript after load View-source shows no H1

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 fix it

  1. Open a flagged page and view source. Search for <h1.

  2. Find the visible headline and check which tag it uses.

  3. Change that tag to <h1> in the template or block settings, and make sure there's one H1 per page.

WordPress: in the block editor, select the heading block and set its level to H1, or use the theme's title display. In page builders such as Elementor, set the heading widget's HTML tag to H1.

Shopify: check the section that shows product or page titles. Most themes use <h1> in main-product and main-page sections. If a custom section changed it, set it back.

Webflow: select the headline element and change its tag to Heading 1 in the settings panel.

Wix: select the text and choose Heading 1 from the text theme options. Keep one per page.

Custom builds: render the page title as <h1> in the page layout on the server. Keep the logo as a link or image, not an H1, on inner pages.

A worked example

A design agency's site uses large, styled <div> headlines because the designer wanted full control over fonts. Every page looks like it has a headline, but Ahrefs flags all of them. Changing the CSS class to apply to an <h1> element instead keeps the exact same design, and the issue clears across the site in one template change.

Common mistakes

  • Adding a hidden H1 with display: none just to satisfy the audit. Hidden headings help no one and can look manipulative.

  • Making the logo the H1 on every page, so every page's H1 reads like your brand name.

  • Copying the title tag word for word into the H1 on every page. They should match in topic, but the H1 can be more natural.

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

Sources and references

TAGSAhrefs Site AuditH1 tag missing or emptyAhrefs h1 missingMissing h1 tag
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