Support » Plugin: Query Monitor » H1 tag conflict with Yoast

  • rifel

    (@rifel)


    Hi there

    First thank you for your wonderful plugin

    I may have a request though. When QM is activated the source code of a page, when viewed in admin mode include the following H1 tag :

    <h1 class="qm-title-heading">Query Monitor</h1>

    This is an issue because Yoast SEO seems to see it as a H1 post tag and then ask to have a single H1.

    Would it be possible to tweak this H1 tag to something else ? Thank you for you help

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Strange! There’s nothing inherently wrong with multiple <h1>s on a page. Do you have a link to the Yoast SEO docs about this?

    rifel

    (@rifel)

    Hello John

    Thank you for taking the time to answer this.
    In fact no. I do not have Yoas Seo doc about this

    But when i Activate Query monitor, Yoast plugin in analysis results displays:

    Single title: H1s should only be used as your main title. Find all H1s in your text that aren’t your main title and change them to a lower heading level!

    And I find the above html in the source code page so 2 h1 tags (the regular h1 and the code above). If I deactivate the plugin, only the regular h1 is in the source code.

    Just for info, on the source code page the tag is between a
    <!-- Begin Query Monitor output -->
    and just before
    <!-- Begin overview output -->

    Well. Its not a big deal anyway. I can live with that. Thanks for your help and THANK YOU for this amazing plugin of yours

    rifel

    (@rifel)

    Ok I found the problem.
    This is the bottom line title which is tagged h1

    https://imgur.com/uWsUySZ

    Not sure why it is reported in Yoast page analyser

    Thank you and sorry for the trouble

    • This reply was modified 3 months ago by  rifel.
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.