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. 1

    First, identify the extra H1s: view page source (Ctrl+U) and search for '<h1'.

  2. 2

    The most common culprit is the logo in the header. Go to Online Store → Themes → Edit Code.

  3. 3

    Open sections/header.liquid (or snippets/header.liquid in older themes).

  4. 4

    Find where the site logo/title is wrapped in <h1> tags.

  5. 5

    Change <h1> to <p> or <div> for the logo — it should only be H1 on the homepage.

  6. 6

    Use the conditional code below to make it H1 only on homepage, <p> everywhere else.

  7. 7

    Save and verify by viewing source again — you should see only one <h1> per page.

foldersections/header.liquid
{%- 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 %}
menu_bookRead Google's official documentationopen_in_new

Related Fix Guides

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