Moving H1 from header to page
-
Hello,
I d like to remove the page header. I used this code
.page-header {
display: none;
}But I ve heard many times that its not SEO-friendly to hide h1, and even less to hide and duplicate it (what I did on each pages).
Here is the kind of answer I got:“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.”
So is it maybe possible to move the code (<h1><?php echo kadence_title(); ?></h1>) from header to page, in order to get the title at the top of each page, and not in the page-header container ? And then, is it still SEO-friendly?
Thanks in advance!
- The topic ‘Moving H1 from header to page’ is closed to new replies.