I’m searching for a way to have the H1 logo only for the homepage, and not for page and single post.
In fact, i made some modifications to move the entry title from H2 to H1, and it’s ok. But because of the H1 which is set on the header logo, i have now two H1 on both page and single, which is bad for SEO.
The H1 tag is only displayed on home page when you display site title in the header instead of logo.
We can’t display post titles in H1 tags because then the H1 tags will be duplicated on home page so please tell me where you want to display the H! tag on your site home page so that i can help you to achieve it.
Using the travelify theme I created a blog named www.itphobia.com.
I use h1 tag for each of my article.
But in SEO test it says that pages contain H1 tag but contents are blank.
The test report is like following:
<h1> Headings Status
Your page contains H1 headings but all of them have blank content.
How to Fix
How to fix - <h1> Headings Status
In order to pass this test you must indentify the most important topics from your page and insert those topics between <h1>…</h1> tags.
<h1>Important topic goes here</h1>
Thank you for your quick answer
Yes it would be great indeed! In fact it would be the better solution. Is it possible to have it only for my front page? I guess you will set it in a php function like : “if front, then display site title within H1 tag” right?
From my side , i tried last week to use the solution of “negativ css text-indent”, to hide the site title, but afterwards, i read that it was considered as cloaking by google .So i removed it.