[Resolved] No H1 tag was found.

Home Forums Support [Resolved] No H1 tag was found.

Home Forums Support No H1 tag was found.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1570603
    Srikant

    Hi,
    I am facing an issue with the H1 tag not found while SEO analysis by rank math.
    It says: “No H1 tag was found. For the best SEO results, there should be exactly one H1 tag”
    How to fix this?

    #1570752
    David
    Staff
    Customer Support

    Hi there,

    is this on the Home page of your site? And is that page set to display the Latest Posts.

    If so then you can add your own <h1>My title</h1> to a Header Element on your Front Page

    https://docs.generatepress.com/article/header-element-overview/

    #1570973
    Srikant

    Hi David
    Yes this is on homepage. And homepage is set to display latest posts.
    I am not techy, so please can you tell me step by step or provide me any video of doing that.
    Thank You!

    #1571010
    Elvin
    Staff
    Customer Support

    Hi,

    Here’s a simple step-by-step:

    First we check if

    1.) Go to your site’s Admin Dashboard.

    2.) From the Dashboard, go to Appearance > GeneratePress.

    3.) You should see a list of modules. On the list, check if “Elements” is activated. If it is already activated, skip step #4.

    4.) If it isn’t, click Activate on its right hand side.

    Here’s a demo video on how to activate it: https://share.getcloudapp.com/kpuNbx5J

    5.) After activating, go to Admin Dashboard > Appearance > Elements.

    6.) If you’ve imported a template from the site library, this will probably already contain some Elements. If that’s the case, check the list for any Header element that has a “Location” set to “Front Page” or “Entire Site”.

    If you’re starting fresh, this list will most likely be empty.

    7.) If you’re starting a site fresh, you can create a new Header element by clicking “Add New Element”.

    8.) A pop-up with a select dropdown will appear. Select “Header” and click “Create”.

    9.) After clicking, you should be moved to the Header element settings.

    10.) The text field is for your HTML markup. The display rule tab lets you set a conditional display so you can specify which page the header will appear.

    Here’s a quick demo: https://share.getcloudapp.com/L1uOJwQv

    #1571126
    Srikant

    Sure It helped to add h1 to the homepage, but ‘BLOG’ is coming on the homepage and this is not required. How to hide this?
    please check through the site link:

    https://stayfitmastery.com/

    #1571147
    Elvin
    Staff
    Customer Support

    Sure It helped to add h1 to the homepage, but ‘BLOG’ is coming on the homepage and this is not required. How to hide this?

    On the same Header Element’s Display Rules, you can add your “Blog” page to the Exclude rule so the <h1> title doesn’t appear on that page.

    #1572298
    Srikant

    Yes I did all and ‘BLOG’ is not appearing on homepage but H1 is not found again after that.
    How to fix this?

    #1572305
    Elvin
    Staff
    Customer Support

    Yes I did all and ‘BLOG’ is not appearing on homepage but H1 is not found again after that.
    How to fix this?

    Ah right, if you want the page to have a <h1> but you don’t want to display the page title which is “Blog” on homepage then you can remove it from the Header Element’s Display Rule Exclude list and then add in this CSS.

    body.home.blog h1 { display: none; }

    Here’s how you add this CSS to your site:
    https://docs.generatepress.com/article/adding-css/

    With this, you can keep the <h1> inside the DOM structure but hide it from display.

    #1586859
    Srikant

    Thanks a lot!
    It’s done.

    #1588543
    Elvin
    Staff
    Customer Support

    No problem.:)

    Note: BING will ignore the hidden H1 as it kinda works differently from Google’s crawler bots.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.