- This topic has 9 replies, 3 voices, and was last updated 3 years, 4 months ago by Elvin.
-
AuthorPosts
-
December 7, 2020 at 9:06 am #1570603Srikant
Hi,
I am facing an issue with the H1 tag not found while SEO analysis by rank math.
It says: “No H1 tag was found. For the best SEO results, there should be exactly one H1 tag”
How to fix this?December 7, 2020 at 11:55 am #1570752DavidStaffCustomer SupportHi there,
is this on the Home page of your site? And is that page set to display the Latest Posts.
If so then you can add your own
<h1>My title</h1>
to a Header Element on yourFront Page
https://docs.generatepress.com/article/header-element-overview/
December 7, 2020 at 4:52 pm #1570973SrikantHi David
Yes this is on homepage. And homepage is set to display latest posts.
I am not techy, so please can you tell me step by step or provide me any video of doing that.
Thank You!December 7, 2020 at 5:43 pm #1571010ElvinStaffCustomer SupportHi,
Here’s a simple step-by-step:
First we check if
1.) Go to your site’s Admin Dashboard.
2.) From the Dashboard, go to Appearance > GeneratePress.
3.) You should see a list of modules. On the list, check if “Elements” is activated. If it is already activated, skip step #4.
4.) If it isn’t, click Activate on its right hand side.
Here’s a demo video on how to activate it: https://share.getcloudapp.com/kpuNbx5J
5.) After activating, go to Admin Dashboard > Appearance > Elements.
6.) If you’ve imported a template from the site library, this will probably already contain some Elements. If that’s the case, check the list for any Header element that has a “Location” set to “Front Page” or “Entire Site”.
If you’re starting fresh, this list will most likely be empty.
7.) If you’re starting a site fresh, you can create a new Header element by clicking “Add New Element”.
8.) A pop-up with a select dropdown will appear. Select “Header” and click “Create”.
9.) After clicking, you should be moved to the Header element settings.
10.) The text field is for your HTML markup. The display rule tab lets you set a conditional display so you can specify which page the header will appear.
Here’s a quick demo: https://share.getcloudapp.com/L1uOJwQv
December 7, 2020 at 9:54 pm #1571126SrikantSure It helped to add h1 to the homepage, but ‘BLOG’ is coming on the homepage and this is not required. How to hide this?
please check through the site link:December 7, 2020 at 10:29 pm #1571147ElvinStaffCustomer SupportSure It helped to add h1 to the homepage, but ‘BLOG’ is coming on the homepage and this is not required. How to hide this?
On the same Header Element’s Display Rules, you can add your “Blog” page to the Exclude rule so the
<h1>
title doesn’t appear on that page.December 8, 2020 at 9:11 pm #1572298SrikantYes I did all and ‘BLOG’ is not appearing on homepage but H1 is not found again after that.
How to fix this?December 8, 2020 at 9:30 pm #1572305ElvinStaffCustomer SupportYes I did all and ‘BLOG’ is not appearing on homepage but H1 is not found again after that.
How to fix this?Ah right, if you want the page to have a
<h1>
but you don’t want to display the page title which is “Blog” on homepage then you can remove it from the Header Element’s Display Rule Exclude list and then add in this CSS.body.home.blog h1 { display: none; }
Here’s how you add this CSS to your site:
https://docs.generatepress.com/article/adding-css/With this, you can keep the <h1> inside the DOM structure but hide it from display.
December 19, 2020 at 3:56 am #1586859SrikantThanks a lot!
It’s done.December 20, 2020 at 3:08 pm #1588543ElvinStaffCustomer SupportNo problem.:)
Note: BING will ignore the hidden H1 as it kinda works differently from Google’s crawler bots.
-
AuthorPosts
- You must be logged in to reply to this topic.