Archived topic
change site title to h1
8 replies · Started by Chitika on November 30, 2021
For some reason, my site title on home page is showing in <title> tags.
It is enclosed in-between Yoast plugin setting, when I view source.
I see that other posts are also having <title> in place of <h1>
I would like to make it <h1> tag as required by Bing WMT.
I think <h1> was the default nature. But I feel I might have changed some time long back.
Dont remember where I did it?
Can you help ?
Hi there,
The Single Post URL you provided - see here:
https://www.screencast.com/t/OL1whk0a
The post title is a H1.
Your home page has no H1 on the page because:
a) Its set to display the Latest Posts
b) the Site Title is not displayed in the Header.
I see this .
https://ibb.co/JQTQcKq
Yes- thats correct. All pages have a <title> tag that will show the current page/post title by default.
Can't I make it to <h1>?
Ok. I got it. Yoast SEO is putting the titles in <title> tag. But your theme puts it in <h1> tag for posts.
But for homepage, I need to enable site title to see the <h1> tag. Right?
But for homepage, I need to enable site title to see the <h1> tag. Right?
Correct ... OR .. you can add a H1 to the Home page without a Site Title using a Block Element:
https://docs.generatepress.com/article/block-element-page-hero/
Exactly. I did that just now. Thanks.
You're welcome