OllieWP / ollie

A finely-crafted WordPress block theme by Mike McAlister
https://olliewp.com
GNU General Public License v3.0
370 stars 49 forks source link

Site title being added as h1 on each post #129

Closed rhuddlestone closed 10 months ago

rhuddlestone commented 10 months ago

Hi

I have been evaluating Ollie and I really like the theme's look. My only concern is that the site title is getting added as a "h1" on each post along with the post title (see below).

h1 class="wp-block-site-title has-base-font-size">Site title" h1 class="wp-block-post-title has-xx-large-font-size has-secondary-font-family">My Amazing Post title"

Is this by design? I don't believe this is very good for SEO, as H1 should be descriptive for the target keyword.

Thanks

Rob

rhuddlestone commented 10 months ago

I found that I can change the site title to

by going to "site editor -> patterns -> header and selecting the site title and changing from h1.

The reason I did this was that leaving it as H1 meant that all my posts had the same H1 Header (my site title) and then a H1 for post title. These duplicate H1 headers may be a potential problem for SEO.