• Hi,

    I use this CSS to hide the page header (with H1 inside) on my site :

    .page-header {
    display: none;
    }

    And I add H1 directly on pages instead.

    Do you know if that way to do is still SEO friendly ?
    I heard that when you hide H1 its not detected anymore by Google, but I wonder if it works when you put it again on pages. Is that optmized to have two same H1, one display, the other one hidden?

    Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • No, it’s not SEO friendly. Hiding chunks of your page using CSS is really not a good idea. Google sees that as cloaking and will penalise your site. The same thing goes with having multiple H1 tags on the page. You should only have one. Anything else should be a H2 or les.

    To really do this properly you should edit your theme’s header.php file (using a child theme of course!) so that you can make the HTML look how you want to without trying to use “tricks” to hide things in that way.

    Thread Starter edouardcoleman

    (@edouardcoleman)

    Thanks a lot for this clear answer.

    Thread Starter edouardcoleman

    (@edouardcoleman)

    I ve got another question.

    Can I remove

    <h1>
    <?php echo kadence_title(); ?>
    </h1>

    from page-header.php, put it inside page.php (for example), and still being SEO friendly ?

    Yes. The location isn’t quite as big a deal as it being on the page, but it should be on every page somewhere. Which template it is in doesn’t make a difference like that.

    Thread Starter edouardcoleman

    (@edouardcoleman)

    Thank you !

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Still SEO friendly ?’ is closed to new replies.