How to Fix Missing or Multiple H1 Tags on Every Page

This check flags any page whose HTML does not contain exactly one H1: pages with zero H1s and pages with two or more both fail, and the score drops as the share of failing pages rises. By the end of this guide you will have found every affected URL, fixed the template or content causing it, and confirmed that each page ships one H1 describing its topic.

By Updated ⏱ 30 minutes🎯 Beginner● High impactOn-Page
Illustration: Single H1 per page fix guide
ON-PAGE · FIX GUIDE Single H1 per page IMPACTEFFORT TIME30 minutes LEVELBeginner

Why it matters

The H1 is the strongest on-page signal of what a page is about. Search engines and AI answer engines use it to label the page in results and summaries, and screen-reader users jump to it to orient themselves. A missing H1 leaves the topic to guesswork.

Multiple H1s, often a logo, a promo banner and the real title, blur which phrase matters. Because the problem usually lives in a shared template, one bad header can affect hundreds of URLs at once.

✕Beforehttps://example.com/shop/ has 3 H1s:"Example Co" (logo), "Free shippingthis week" (banner) and "Shop All✓Afterhttps://example.com/shop/ has 1 H1,"Shop All Products". The logo is aplain link and the banner is a <p>.

What you need

A list of failing URLs from the audit or a crawler such as Screaming Frog SEO Spider
Browser DevTools (Chrome, Edge or Firefox)
Edit access to your CMS theme or templates
Optional: a staging site to test template changes

Step-by-step fix

1

List every page with zero or multiple H1s

Export the failing URLs from the audit. To see the counts yourself, crawl the site in Screaming Frog and open the H1 tab. Use the Missing and Multiple filters, then export both lists.

Sort by URL path so pages sharing a template are grouped together. That shows you whether the cause is one template or individual pages.

Pro tip: If every page of one type fails, such as all /blog/ posts or all product pages, fix the template once instead of editing pages.
2

Inspect the H1s on a sample page

Open one failing URL and paste the snippet below into the DevTools Console. It prints how many H1s the page has, their text, and whether each one is visible. The audit reads the HTML, so H1s hidden with CSS, such as duplicate mobile and desktop headers, still count.

javascript
const h=[...document.querySelectorAll('h1')];console.log(h.length);h.forEach(e=>console.log(JSON.stringify(e.textContent.trim()),e.offsetParent?'visible':'HIDDEN',e));
Pro tip: Also open view-source:https://example.com/page. If the H1 only appears after JavaScript runs, the raw HTML may contain none.
3

Remove H1s from the header, logo and banners

The most common cause is a site logo or site name wrapped in <h1> on every page. Change it to a link or a <div>, and keep the alt text on the logo image. Do the same for announcement bars, popups, footer titles and sidebar widgets.

html
<!-- Before -->
<h1 class="logo"><a href="/"><img src="/logo.svg" alt="Example Co"></a></h1>
<!-- After -->
<a class="logo" href="/"><img src="/logo.svg" alt="Example Co home"></a>
Pro tip: Keep the existing CSS class on the new element so the styling does not change.
4

Demote extra H1s in the content to H2

Inside the page body, keep the H1 that names the page topic and change every other H1 to H2. Change nested subsections to H3 so the outline stays logical. If the old H1s were styled large, add a class to the H2 instead of keeping the wrong tag.

html
<h1>Waterproof Hiking Boots for Women</h1>
<h2>How to choose the right fit</h2>
<h3>Measuring your foot</h3>
<h2>Care and cleaning</h2>
Pro tip: Style and semantics are separate. Use a CSS class such as .text-xl for size and leave heading levels for structure.
5

Add an H1 to pages that have none

Templates that show the title in a <div>, a <p> or a styled <span>, or that skip it entirely, need a real H1. Common places are homepages, category archives, search results, landing pages built with a page builder, and 404 pages. Make the H1 specific: "Running Shoes for Men" tells readers and search engines more than "Products".

It can differ from the <title> tag but should cover the same topic.

html
<main>
  <h1>Contact Example Co Support</h1>
  ...
</main>
Pro tip: On the homepage, use an H1 that describes what the business does, such as "Handmade Leather Bags by Example Co", not just the brand name.
6

Make sure the H1 is in the server-rendered HTML

If the site is a JavaScript single-page app, confirm the H1 appears in the initial HTML response and not only after hydration. Run the command below. It should print 1.

text
curl -s https://example.com/blog/sample-post/ | grep -o '<h1[ >]' | wc -l
7

Recrawl and confirm every page passes

Clear any page or CDN cache, then recrawl the site. In Screaming Frog, the H1 > Missing and H1 > Multiple filters should both be empty. Rerun the audit to confirm the share of failing pages has dropped to zero.

Spot-check one URL per template with the Console snippet from step 2.

Pro tip: Add an H1 count check to your release checklist or CI so a new theme or plugin cannot bring the problem back.

Platform-specific notes

WordPress

Classic themes often wrap the site title in <h1> in header.php. Change it in a child theme, or check Appearance > Customize for a header heading option. In block themes, go to Appearance > Editor > Patterns > Header and set the Site Title block's level to P. In the post editor, any Heading block set to H1 adds a second H1, because the theme already outputs the post title as H1.

Shopify

In Dawn-based themes, sections/header.liquid wraps the logo in <h1> only on the homepage ({% if request.page_type == 'index' %}). If the homepage also has an H1 in a section such as Image banner, set that heading or the logo to a non-H1. Product and collection templates already output the title as H1, so set rich-text section headings to H2 in Online Store > Themes > Customize.

Wix

Heading levels come from the text theme. Select the text, open the Themes dropdown in the text settings, and choose Heading 2 instead of Heading 1. Alternatively, open the SEO (Advanced) settings and change the HTML tag while keeping the visual style. Wix templates often style hero text as Heading 1, so check every section.

Webflow

Select the Heading element in the Designer, then change H1 to H2 using the tag buttons in the Settings panel. Check Symbols and Components such as nav and footer, because an H1 inside them repeats on every page. On CMS template pages, bind a single H1 to the item's Name field.

Next.js / React

Render the H1 in the page component, not in a shared layout.tsx, so each route gets exactly one. Make sure the H1 renders on the server (App Router server components or SSR/SSG), not only inside a client-only component that loads after hydration.

Check that it worked

✅ How to verify

  • Run document.querySelectorAll('h1').length in the DevTools Console on one URL per template. It should return 1.
  • Recrawl in Screaming Frog and confirm the H1 > Missing and H1 > Multiple filters are both empty.
  • Run curl -s URL | grep -o '<h1[ >]' | wc -l to confirm the raw HTML contains exactly one H1.
  • Rerun the audit and confirm the Single H1 per page check passes for all crawled pages.

⚠️ Common mistakes

  • Hiding an extra H1 with display:none or a mobile-only class. It is still in the HTML and still counts.
  • Fixing individual pages one by one when the duplicate H1 comes from a shared header, footer or theme section.
  • Converting every H1 to a <div> and leaving pages with no H1 at all, which fails the check just as multiple H1s do.
  • Using a vague H1 like "Welcome" or the brand name alone instead of a heading that states the page topic.

Is this still an issue on your site? Run a free audit — ZORO checks this and 294 other SEO, AI-visibility, accessibility and security signals, with fixes for your platform.

Check my site free

FAQ

Is it bad for SEO to have multiple H1 tags?

Google has said it can handle multiple H1s, but they dilute the main topic signal and confuse the heading outline that screen readers and AI summarizers rely on. One clear H1 per page is the safest, most consistent pattern, and it is what this check measures.

Should the H1 be the same as the title tag?

Not necessarily. Both should describe the same topic. The title tag can include the brand and be tuned for clicks in search results, while the H1 is the on-page headline readers see.

Can the logo be the H1 on the homepage?

It is better not to. A logo H1 usually contains only the brand name. Use a descriptive H1 such as "Handmade Leather Bags by Example Co" and make the logo a plain link.

Do hidden or visually hidden H1s count?

Yes. The check reads the HTML, so an H1 hidden with CSS still counts toward the total. A single visually hidden H1 is acceptable for accessibility, but it must be the only H1 on the page and must describe the page topic accurately.