How to Fix Multiple H1 Headings on Shopify & WooCommerce
errorThe Problem
Your page has more than one H1 heading tag. The H1 is supposed to be the single main headline that tells Google what the page is about — like the title of a newspaper article. Having multiple H1s is like an article with several competing headlines, diluting the page's topical focus.
trending_upWhy It Matters for SEO
Google uses the H1 as a primary signal for understanding page content. Multiple H1s create ambiguity — Google has to guess which one matters most. The most common cause on ecommerce sites is the site logo being wrapped in an H1 tag on every page, meaning every product page has two H1s: the logo text and the product name. This is easy to fix and immediately clarifies your page structure for search engines.
buildHow to Fix It
- 1
First, identify the extra H1s: view page source (Ctrl+U) and search for '<h1'.
- 2
The most common culprit is the logo in the header. Go to Online Store → Themes → Edit Code.
- 3
Open sections/header.liquid (or snippets/header.liquid in older themes).
- 4
Find where the site logo/title is wrapped in <h1> tags.
- 5
Change <h1> to <p> or <div> for the logo — it should only be H1 on the homepage.
- 6
Use the conditional code below to make it H1 only on homepage, <p> everywhere else.
- 7
Save and verify by viewing source again — you should see only one <h1> per page.
{%- comment -%} In sections/header.liquid — replace the logo H1 with this: {%- endcomment -%}
{% if template.name == 'index' %}
<h1 class="site-title">
<a href="/">{{ shop.name }}</a>
</h1>
{% else %}
<p class="site-title">
<a href="/">{{ shop.name }}</a>
</p>
{% endif %}Related Fix Guides
How to Fix Missing Canonical Tags on Shopify & WooCommerce
Fix missing canonical tags on your Shopify or WooCommerce store. Copy-paste code included. Prevent duplicate content from tanking your SEO rankings.
How to Fix Missing Meta Descriptions on Shopify & WooCommerce
Fix missing meta descriptions on your Shopify or WooCommerce store. Learn how to write compelling descriptions that boost click-through rates from Google.
How to Fix Missing Image Alt Text on Shopify & WooCommerce
Fix missing image alt text on your ecommerce store. Boost Google Image search traffic and accessibility with proper alt attributes on product images.
Want to check if YOUR store has this issue?
Scan your site for free — get copy-paste fixes in 60 seconds.
searchScan Now — It's Free