• Most of themes of WordPress set the site title as a h1. For example the Twentyseventeen:

    <h1 class="site-title"><a href="https://example.com/">My company name</a></h1>

    All further Sites and Pages title are set as a h2. For example the Twentyseventeen:

    <h2 class="entry-title">Product 1</h2>

    It means, all pages and posts always have the same H1 (in the example: My company name) instead the Product or point of interest of each page which is what I want to sell.

    Should not be in the other way around?

    <h2 class="site-title"><a href="https://example.com/">My company name</a></h2>
    <h1 class="entry-title">Product 1</h1>

    So I could optimize each Site on each own using the Keywords in the entry-title as H1 (Product 1, Product 2, etc) and the Company name as h2.

    I made that change in my site http:severus.es and now I could use the keyword as a H1 and title of each Page/Post.

    Does it makes sense?
    More important, does it affect negatively my site? (SEO, Google, accesibility, etc)

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • The accepted wisdom is that there should be only one H1 tag so this could be a problem. Have you thought of using a filter to control this ?

    One H1 tag per page or one per site? Only I’ve had exactly the same discussion many, many, times over the years and continue to find myself in the former camp.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    One h1 per page has been refuted by Google in 2009; https://www.youtube.com/watch?v=GIn5qJKU8VM

    The advice is just to create a logical and good heading level structure that makes sense for everybody.

    • This reply was modified 7 years, 4 months ago by Andrew Nevins.
    Thread Starter cyclades

    (@cyclades)

    I always thought (and read) the H1 as the title of a book, so there is just one, h2 chapter title (several), h3 subheading inside a chapter (several) an so on.

    A page with several “main topics” (H1) would be like a book with several titles. Which title should Google recognize as the main Topic of the Post/page?

    In the way WordPress does it, there is always a H1 (site-title) more important than the page-title (H2). This is not always the case. Therefore I think it should be the other way around.

    • This reply was modified 7 years, 4 months ago by cyclades.
    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    For me it’s easier to think about a person reading the page rather than Google.

    If you’re using an assistive technology, the heading levels used should represent the structure of the page. If you’re using a heading to act as an umbrella for all content on the page then it should be a H1.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    A page with several “main topics” (H1) would be like a book with several titles. Which title should Google recognize as the main Topic of the Post/page?

    You could have an umbrella title like “Blost articles” (H1) and then each article would be a H2. That would make a lot of sense:

    
    <h1> Blog articles </h1>
    <h2> Name of blog article 1 </h2>
    <h2> Name of blog article 2 </h2>
    
    • This reply was modified 7 years, 4 months ago by Andrew Nevins.
    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    But if you’re saying this is the H1:

    
    <h1 class="site-title"><a href="https://example.com/">My company name</a></h1>
    

    Then yea that’s not a good title. It might be only relevant for the Homepage, but should not persist on other pages because it the site name isn’t a good description of the page.

    Thread Starter cyclades

    (@cyclades)

    Hi Andrew,

    That was my point. I build sites for small companies. And they need to promote the products they sell.

    So, if I understood right: There is not harm in swapping the title and post title and it is up to each page what is the most relevant point to promote.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    There’s no harm in changing a H1 to a H2, however it’s all relative to what else is on the page.

    In the example of “My company name”, this should not be a heading at all. So there’s nothing to swap there.

    It’s also important to keep in mind that changing heading levels could have a domino effect on other headings on the page.

    There is harm in changing heading levels for supposed SEO benefit because those changes can impact negatively on accessibility.

    • This reply was modified 7 years, 4 months ago by Andrew Nevins.

    Hi @cyclades, can you please share your solution for this? I’m in the same boat. Thanks in advance.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Swap H1 and H2 Tags for better SEO’ is closed to new replies.