The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. H1 tag found on page, but saying doesn't match keyword

    H1 tag found on page, but saying doesn't match keyword

    Intermediate & Advanced SEO
    5 3 351
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TrueluxGroup
      TrueluxGroup last edited by

      We've run a on-page grader test on our home page www.whichledlight.com with the keyword 'led bulbs'

      it comes back with saying there is a H1 tag, although the content of the keyword apperently doesn't contain 'led bulbs... which seems a bit odd because the content of the tag is

      'UK’s #1 Price Comparison Site for LED Bulbs`

      I've used other SEO checkers and some say we don't even have a H1 tag, or H2, H3 and so on for any page.

      Screaming Frog seems to think we have a H1 tag though, and can also detect the content of the tag.

      Any ideas?

      ** Update **

      The website is a single page app (EmberJS) so we use prerender to create snapshots of the pages.
      We were under the impression that MOZ can crawl these prerendered pages fine, so were a bit baffled as to why it would say we have a H1 tag, but think the contents of the tag still doesn't match our keyword.

      1 Reply Last reply Reply Quote 0
      • Changsst
        Changsst last edited by

        I did a 'View Source' and 'Inspect on your homepage.

        On View Source, there was no H1 Tag, however, on Inspect, there is clearly a H1 tag (H2, H3 exist too).

        "View Source" typically shows what was received from the server before javascript modifies it. I suspect your developer wrote it this way to optimize for speed (with jQuery).

        That being said, when you use the SEO checkers that claims you do not have a H1 tag, they are only reading the document and not the source code.

        In short, yes, your website has a H1, H2 and H3 tags.

        Just Curious, what results (content of H1) did the on-page grader came out with?

        TrueluxGroup 1 Reply Last reply Reply Quote 1
        • TrueluxGroup
          TrueluxGroup @Changsst last edited by

          Yes, see what you mean.
          We get the same if we view source.

          Inspect element shows it correctly.

          I take it you mean SEO checkers are checking the source code.. before JS modifies it?

          Do you think this is hurting our SEO?

          Changsst 1 Reply Last reply Reply Quote 0
          • Changsst
            Changsst @TrueluxGroup last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 1
            • Everett
              Everett last edited by

              I checked the source with my default user agent (in this case Firefox) and did NOT see an H1 tag.

              I checked with my user agent set to GoogleBot and DID see an H1 tag, which did have that keyword phrase in it.

              I checked again with a default user agent, but this time with JavaScript disabled, and could not see anything at all on the viewable page (blank white page), though the source code was there without the H1 tag.

              So it seems to me like you're pre-rendering the page for GoogleBot, and are including the H1 (and other header tags) as part of a fully-rendered page for search engines. However, because that Header tag does not exist if you turn JavaScript off - or if you're not Google - there may be a risk of Google seeing this page as "cloaking".

              Pre-rendering is good. It's not a "bad" type of cloaking if you serve the EXACT same page to search engines that you serve to everyone else. Unfortunately, this does not seem to be the case with the way this page is set up. Google sees one thing, other visitors (with or without JavaScript enabled) see something else.

              I know developers are head-over-heels for single-page apps and JavaScrpt frameworks, but this stuff is starting to drive me nuts. It's like trying to optimize Flash sites all over again. On the one hand you have Google bragging about how great they are at crawling JavaScript, even going so far as to say pre-rendering is not necessary... And on the other hand there are clear, sustained, organic search traffic drops whenever developers start turning flat HTML/CSS pages into these single-page JavaScript framework applications.

              My advice to you is that if you're going to Pre Render a page for Google, to A: make sure the page a user with JavaScript enabled sees is exactly the same as what Google sees, and B: See if you can pre-render pages for visitors without JavaScript enabled as well.

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              • Magento 1.9 SEO. I have product pages with identical On Page SEO score in the 90's. Some pull up Google page 1 some won't pull up at all. I am searching for the exact title on that page.
                CTOPDS
                CTOPDS
                0
                3
                63

              • Crawl and Indexation Error - Googlebot can't/doesn't access specific folders on microsites
                Everett
                Everett
                0
                2
                87

              • WordPress posts Title field inserts title into blog posts like a headline but doesn't ad H1 tag how to change?
                SEO4leagalPA
                SEO4leagalPA
                0
                3
                87

              • Why doesn't the Wikipedia homepage have meta tags?
                Deacyde
                Deacyde
                0
                7
                325

              • Pagination and View All Pages Question. We currently don't have a canonical tag pointing to View all as I don't believe it's a good user experience so how best we deal with this.
                PeteC12
                PeteC12
                0
                3
                117

              • Company name doesn't have keyword: use domains instead?
                Travis_Bailey
                Travis_Bailey
                0
                5
                131

              • Why is google ranking me higher for pages that aren't optimised for keywords those that are?
                Towelsrus
                Towelsrus
                0
                3
                285

              • Hide H1 tags on pages. Don't chuckle-Need assistance.
                ballanrk
                ballanrk
                0
                4
                619

              Get started with Moz Pro!

              Unlock the power of advanced SEO tools and data-driven insights.

              Start my free trial
              Products
              • Moz Pro
              • Moz Local
              • Moz API
              • Moz Data
              • STAT
              • Product Updates
              Moz Solutions
              • SMB Solutions
              • Agency Solutions
              • Enterprise Solutions
              • Digital Marketers
              Free SEO Tools
              • Domain Authority Checker
              • Link Explorer
              • Keyword Explorer
              • Competitive Research
              • Brand Authority Checker
              • Local Citation Checker
              • MozBar Extension
              • MozCast
              Resources
              • Blog
              • SEO Learning Center
              • Help Hub
              • Beginner's Guide to SEO
              • How-to Guides
              • Moz Academy
              • API Docs
              About Moz
              • About
              • Team
              • Careers
              • Contact
              Why Moz
              • Case Studies
              • Testimonials
              Get Involved
              • Become an Affiliate
              • MozCon
              • Webinars
              • Practical Marketer Series
              • MozPod
              Connect with us

              Contact the Help team

              Join our newsletter
              Moz logo
              © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
              • Accessibility
              • Terms of Use
              • Privacy