How to remove H1 Tag on Logo for Pages

Posted in: Newsmag
Post count: 25

Hello

I have searched the forums and found some threads on this subject already but couldn’t fix it.

I see the Logo on Header Style 9 (NewsMag) has a H1 tag for the home page and Pages, but doesn’t on Posts.

Is there an easy way to ether remove it completely or remove it from Pages also? My Pages are customised with VC.

Thanks!

Post count: 22421

Hello,

We have added the h1 for the logo as users requested a h1 on the page for seo purposes. It can only be removed from the theme code. Please access this file and change the h1 tags to a div tag: https://www.screencast.com/t/5GaAwCL1qN

Thank you!

Post count: 25

I have tried that before, I still see this in source

<h1 class="td-logo">
Bet.nl - Wedden op sport
<span class="td-visual-hidden">Bet.nl</span>
</h1>

Post count: 25

<h1 class="td-logo">Bet.nl - Wedden op sport<span class="td-visual-hidden">Bet.nl</span></h1>

  • This reply was modified 9 years by aspirin29.
Post count: 23312

Hello aspirin29,

If you want to change the H1 for the logo you should check the following topic here -> https://forum.tagdiv.com/topic/h1-in-the-logo-newspaper-7/ and edit the theme core files where the H1 is created for the logo.

Thanks for the message!

Post count: 25

I don’t want to change it, I would like to remove the H1 tag from the logo completely if possible.

Post count: 23312

Hello aspirin29,

You should replace the h1 tag with a div, like this -> https://www.screencast.com/t/FmbpUXf81.

Thanks.

Post count: 25

Think I have done it now thanks!

One more thing, can I add parts/header/logo-h1.php to my child theme? So I wont have to update this every time there is an update?

Post count: 23312

Hello aspirina,

For more information about child theme support, please check here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thanks for your understanding!

Post count: 226

I did what you guys propose here, but i has not changed, do i need to chenge it on mobile too? logo-mobile-h1.php

Post count: 226

I see that is the case, this guy was a bad call. it really affects many sites I build with your theme and lost traffic because of it. I need a permanent solution so I can update, the child theme is too complicated. this is not ok…

Post count: 23312

Hello salocharly,

Sorry for this inconvenience but notice that until now, we do not receive any bar reports in this regard, sorry! If you want to make some change in the logo, you should edit the theme core files and edit it, like this -> https://www.screencast.com/t/yvPZrven7 If you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom services at the moment, sorry!

Thanks for the message!

Post count: 92

I just noticed this as well. What was the logic in putting the logo in H1 tags? Maybe I’m missing something, but I don’t see how that could possibly help with SEO. Now I’ve got to go back and recode the H1 to a div. Sigh…

Post count: 9544

I have a long winded explanation about this for those who don’t understand how HTML5, the DOM works, or semantic markup. You can search for it if you want.

An H1 tag on logo inside the header element simply indicates it’s the most important element within the header area, vs the article area or footer area. And falls back for text logo vs image logo.

It helps in identifying most important branding, link, site specific element within the header, vs menu links, and other elements such as logins, dates, search, super menus, etc.

It does *not* hurt to have it in the header area in modern markup.

Anybody who tells you it’s a problem simply doesn’t understand how modern ‘mark up’ works.

So, peeps can like chill out! 😉

Post count: 92

Interesting Chris. I’ve seen different theories on this, things like not having more than 1 set of h1 tags. So are you saying to leave the H1 in the logo and then have another h1 for the page title (or designate the page title as an h2)?

I’m always keen to learn. Thanks in advance for any advice you can provide.

Kind regards

Post count: 226

Hi Chris,
You help a lot of people around here, and you are clearly a good programmer. But this time your are wrong! I have over 8 years experience in SEO and it doesn’t matter how “correct” is this from a stand point of programing. I an SEO I spend many hours correcting stuff programmers didn’t do properly from an SEO standpoint.

In this case, there is only one way to know, and that is testing. I was disconcerted when I lost my rank for the main keyword at my homepage suddenly jumped from position 3 to 40 *(all the rest of the post that don’t have dup h1 didn’t lose their ranks), when I discovered this I did the change so there is only one h1 and my main keyword is now back at the top ten and climbing.

I t may be one day google algo is updated to allow this but right now this affect ranks.

It is also very bad Tagdiv changed this without notifying, I personally lost a lot of money.

MESOTU I would correct this if I where you, you have nothing to gain by having more than an h1 in the same page.

Cheers

s

Post count: 9544

Actually, I’ve been doing SEO since 1995, and ran a leading company in that space from Jan. 1996 to Jan. 2005, and have 10 million impressions per month. But whatever… not wrong.

If you look at Google’s own information on their algo – you can have more than one h1 on the page with proper modern markup … the header section is separate from the article section, and the h1 for the site name on the logo is totally acceptable in the DOM for that.

Their algo looks at h1 for ‘content’ in the article area to match page content, and *that* h1 should match the meta tag for page title and be semantic to the content within the article area – the de-facto page content.

HTML5 specifically is engineered to support more than one H1 tag to identify the ‘header’ element per ‘section’ — h = header, not seo.

If your site is, for some reason on old HTML, xHTML, etc., then yes only *one* h1 tag per page is correct. Under HTML5, more than one h1 tag used within ‘sections’ is correct.

Again, anybody telling you otherwise doesn’t know what they are talking about and has not lived on Google’s dev site, or the HTML/W3C dev community as I do.

So, if your site is “Giant Killer Puppies” and you do a page about “Best Food for Brown Puppies” then you can have h1 tag on your logo with site name in the ‘header’ section, and this is *separate* than the h1 tag for “Best Food for Brown Pups” which would *also* be used for referential links within site, inbound and social links, meta tags, and possibly alt tag for the hero photo on page.

Duh.

If that doesn’t work for your site, you have some DOM / markup errors.

We use this methodology on 25+ sites with top ranking for all content, millions of page views, and we’ve been building sites for 23 years, doing marketing since 1981, and doing SEO longer than most folks on here had a web connection.

Share and enjoy!

Read up on HTML5, Google’s own help site, webmaster tools info (search console), PageSpeed Insights, etc.

Welcome to the ‘semantic’ web — using header tags in proper way, with good content helps SEO, doesn’t hurt it, and there is *no* penalty with Google for using h1 tags correctly in modern markup — where appropriate and not intended to ‘black hat’ the usage.

I won't be on this site anymore starting Sept. 1, so winding down my help here *forever* -- so take of it what you will.

  • This reply was modified 8 years by simchris.
Post count: 9544

FYI:
my prior rant on topic with references to both Matt Cutts answer before he left Google, and the Google Webmaster Tools (OFFICIAL) forum where it has been WIDELY discussed, and officially stated with HTML5 not an issue if page otherwise properly designed:
https://forum.tagdiv.com/topic/h1-in-logo/

If it causes you issues, that may be unique to your content and nothing to do with how Google now works.

  • This reply was modified 8 years by simchris.
Post count: 226

Hi Chris,
I really don’t have the time for a long form debate on this. I will just add one more reply for the sake of the people you are confusing here.

“Google’s own information on their algo”

There is no information on google algo, these are just guidelines for webmasters, let’s not pretend your or me know how Google algorithm works.

So, if your site is “Giant Killer Puppies” and you do a page about “Best Food for Brown Puppies” then you can have h1 tag on your logo with site name in the ‘header’ section, and this is *separate* than the h1 tag for “Best Food for Brown Pups” which would *also* be used for referential links within site, inbound and social links, meta tags, and possibly alt tag for the hero photo on page.

it’s all nice and good theoretically, but when I removed this, my ranks are all coming back slowly across different sites.

https://forum.tagdiv.com/topic/h1-in-logo/

regarding this, I don’t think they are penalizing for this, so you are correct. but this doesn’t mean in some cases this will not affect your ranks due to relevancy or god knows what. Anyway, google is nice to inform us but many times things are different on the field, you must know that if you are such a hot shot SEO

for anyone who’s websites, like mine, lost ranks because of this. Just change this and see how it affects your ranks and report back on this thread. This is the only way to really know.

Anyways, last response here. Time is money. I just come here when I need help and wanted the info to be here for those how need help as well, not interested in participating in a pissing contest.

Post count: 92

I’ve done a bit of digging on this and I think Chris is right. In HTML5, if the page is properly formatted, then it is possible to use multiple H1 tags provided they are clearly attributed to the header in the header section and within the body you use <article> tags. Here’s a quick run-down: https://www.greenlanemarketing.com/blog/seo-101-seo-and-multiple-h1-tags/

I think the most important point is that, as Chris said, they must be used correctly. Was definitely a learning experience for me. Thanks for the debate guys.

Cheers

Viewing 20 posts - 1 through 20 (of 20 total)
The forum ‘Newsmag’ is closed to new topics and replies.