Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #288432
    Miaouu
    Participant

    Hello,
    I’m currently improving my SEO score and I notice that all my page have two H1. It’s very bad for my SEO.
    I checked the source code and I saw that there is one H1 generate by the theme…

    <header class=”entry-header”>
    <h1 class=”entry-title”>Blog</h1>
    </header>

    And the second one is the one I manually add in my page.

    I would like to delete the one generate by the theme. I don’t want to use a CSS snippet because from the Google robot point of view, there are still two h1.
    Can I have another solution please?

    Many thanks in advance.

    #288437
    Skandha
    Participant

    @miaouu: Hello there,
    Can you please post in your site URL so that I can look into the issue?

    Kind Regards,
    Skandha

    #288527
    Miaouu
    Participant

    Hello, thanks for the fast answer.
    Here the website: https://www.heavym.net
    and the example I gave was on https://www.heavym.net/blog/
    Many thanks

    #288556
    Skandha
    Participant

    @miaouu: Hello there,
    Copy the content.php file from your parent theme folder to your child theme folder.

    Edit the file and then remove the code on line no 25

    Let me know if this works out!
    Kind Regards,
    Skandha

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to get only one h1 in my pages ?’ is closed to new replies.