Archived topic
The use of and is confusing!
7 replies · Started by Peter on June 6, 2022
I would like to report a problem that has been discussed a lot on this site.
GP says that the <title> is an <H1>… But I work with a mega menu and the system always says: "Page has more than 100 links before H1 tag".
That's true, but I can't place my mega-menu (with +200 links) before the header, can I?
I also don't understand why the H1 tag exists then...According to GP's advice, there should only be one H1 in a post/page.
So the H1 is automatically created via the header… Don't you think that's weird?
Then GP should better disable the possibility that a user can use an H1… (remove from the editor)
Most of my pages consist of links to Amazon because I am an affiliate.
What can be done about that?
In short: DO NOT use <H1> anymore!!!
In both situations I get an error :
if I put another H1 I'm being warned that the title is already an H1
If I don't put a second H1 I get "Page has more than 100 links before H1 tag
Does anyone have a solution?
Thanks in advance!
Hi there,
Any chance you can link us to the page in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Let me know :)
Hello,
It are all the pages and poss on "topfishinggadgets.com"...
This happens because the H1 is already connected with the title...
Best regards,
Hi Petar,
SEO-wise, H1 tags are important. These are also added by default by WordPress.
If you would like to turn your H1 Content Titles to H2 Content Titles, one approach is:
1. You’ll need GenerateBlocks plugin for this. Create a Block Element - Page Hero. Disable the title. Add a Headline Block. Set the Dynamic text type to title: https://share.getcloudapp.com/QwunGvW4
2. Create a Layout Element. In the Disable Elements tab, check Content Titles. Create a Hook Element. Add this code:
<?php
echo '<h2>' . get_the_title() . '</h2>';
?>
set Hook to generate_before_main.
check Execute PHP.
Set the display rules to your preference.
Example: https://share.getcloudapp.com/4gurxwb2
Hope this helps!
So you admit that the <H1> can no longer be used? I had already started changing all my H1s to H2s...
I wonder how many people know that?
Thanks anyway!
Hi there,
can we take a step back to this:
In both situations I get an error :
if I put another H1 I’m being warned that the title is already an H1
If I don’t put a second H1 I get “Page has more than 100 links before H1 tag
Where are these warnings being reported ? Is this from an SEO Plugin ?
That comes from "SiteChecker.pro"... For My SEO I use AIOSEO...
So when you create a Post or Page and you add the Content Title to the post, that title is output as a H1 by the Theme by default in the post entry header:
https://www.screencast.com/t/roQnmJcnhQls
Which means you do not need to add one inside your post content. ie. Your first heading in your content should be a H2.
And thats how your site is and 100% correct.
But this: If I don’t put a second H1 I get “Page has more than 100 links before H1 tag I do not understand.
If you added a second H1 then that would be below the first H1 ( the one added by the theme ). So you would have 100 links before 2 x H1 tags.
As it is the most common design pattern on a website that the Site Header and Navigation is displayed before the Title and Content of the page, then that 'warning' would effectively mean that you should not use a mega menu with over 100 links inside it.... Personally i have never seen this flagged as an issue. It may be worth taking advice from SiteChecker.pro support on this.
If however you want to restructure your posts so you have:
Site Header
H1 Post ( or page ) Title
Navigation
Post content ( starting with H2 )
That is possible. But i would only do that if you really think its a good design for your users and not because some software flagged it....