Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
H2s & H3s for Category Navigation
-
Hi all. I am wondering how best to format a category navigation menu. Currently I don't think we're using H2s correctly on our website.
Am I right to think that the top level category e.g. Games should be formatted as an H2 and the sub-categories underneath this should be formatted as H3s (to show a hierarchy)?
Is there a limit on how many H2s and H3s you should use? Obviously only one H1 per page.
Thanks in advance
Paul
-
There are mixed opinions on the use of them by Google. I happen to think it's zero for all of them except H1 and I'm not convinced even of them.. There is a case for H1 tags and keywords in them but I've ranked pages without strong H1 tags too.
It will depend on the design of your site but typically header tags are bold and slightly larger than the standard text on your page. You can check your websites files and change them around if you want to change the sizes. Think about reading a text book. It's nice to have the chapter titles one size, the sections another size and subsections another size. It's for your users. You want to make sure they can easily find what they want on your page. When we code sites, we generally indent too. That's not for Google, it's for us to find things faster. Same concept.
-
By the way, I didn't realise that using a header tag actually changed the look of the text? I thought it was simply used in the back end to signify hierarchy to Google? So if we use H2-H6 we would be changing the look of the menu items as well?
-
Thank you for the advice.
-
Your first thought is correct. You should use them to show hierarchy of content.
Directly from Google's Search Engine Optimization Starter Guide (page 20)
"Heading tags (not to be confused with the HTML tag or HTTP
headers) are used to present structure on the page to users. There are
six sizes of heading tags, beginning with, the most important, and
ending with
, the least important (1).
Since heading tags typically make text contained in them larger than
normal text on the page, this is a visual cue to users that this text
is important and could help them understand something about
the type of content underneath the heading text. Multiple heading
sizes used in order create a hierarchical structure for your content,
making it easier for users to navigate through your document."There isn't a limit to any of the header tags as far as I know. You are correct that most of us suggest that you only use one H1 tag. I generally don't put a limit on a page of the number of H2, etc tags I use. Remember, you are building your pages for your users and not for Google. Use your header tags to help people navigate information on your page.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Schema Markup for eCommerce Category Pages?
My research indicates that applying an ItemList schema markup to our category pages is likely the best way to go. However, I've also ready that Google discourages schema markup on category pages. I'm just wondering if any of you have applied schema markup to your category pages and, if so, how did you do it? John,
On-Page Optimization | | JohnBrown75
Essay Writer1 -
Q&A Page Titles
Hello All! I am currently updating page titles and metadata descriptions for a websites Q&A section and have run in to a problem while updating page titles. Since it is the Q&A section of the website, all of the page titles are around 100 characters and some are up to 200 characters long. Here is an example: Page Title: My child is working below grade level in math. Do I have to purchase the curriculum from the grade below as well? The problem is that this is obviously too long for a SERP to display however I know it is best practice to have matching titles on both the title tag and page title. My question is what hurts SEO value more: the title tag and title of the page not matching or having a very long title displayed on the SERP?
On-Page Optimization | | Myles921 -
Use of '&' in meta title
Hi, I know that use of '&' would be helpful to save space and also add more keyword variation to the title tag. But just want to make sure if it matters if I use '&' in most of my title tags? And also is it common to use more than & in one title? Would the following title be different in Google's perspective regardless of the title length? I am thinking they are all targeting the keywords 'fruit cake' and 'fruit bread', but the first one is the best. buy fruit cake & bread buy fruit cake & fruit bread buy fruit cake and fruit bread Thanks in advance.
On-Page Optimization | | russellbrown0 -
No-index all the posts of a category
Hi everyone! I would like no-indexing all the posts of a specific category of my wordpress site. The problem is that the structure of my URL is composed without /category/: www.site-name.ext/date/post-name/
On-Page Optimization | | salvyy
so without /category-name/ Is possibile to disallow the indexing of all the posts of the category via robots.txt? Using Yoast Plugin I can put the no-index for each post, but I would like to put the no-index (or disallow/) a time for all the post of the category. Thanks in advance for your help and sorry for my english. Mike0 -
301 Redirect to product page or category?
We manage an ecommerce website that sells health products. A few products have now been discontinued. I’m just wondering what would be the best practice in this case. Should we 301 redirect to a similar product or to a similar category page? ANY HELP IS GREATLY APPRECIATED!
On-Page Optimization | | odegi0 -
Wordpress & trailing slash on domain name
Hi recently changed my site so it is based on Wordpress, got my preferred domain set in Google webmaster as www.domian.co.uk but since moving to wordpress my domain is now having a slash put on the end of it like www.domain.co.uk/ Most of the links going to my homepage do not have the slash on the end so am I right in thinking I should get rid of the slash from my site so I have one consistent url? If so any ideas how to banish the slash? Cannot seem to do it through the Wordpress general settings (despite preferred domain being set as www.domain.co.uk !) Thanks T
On-Page Optimization | | Jon-C0 -
Duplicate Content for Spanish & English Product
Hi There, Our company provides training courses and I am looking to provide the Spanish version of a course that we already provide in English. As it is an e-commerce site, our landing page for the English version gives the full description of the course and all related details. Once the course is purchased, a flash based course launches within a player window and the student begins the course. For the Spanish version of the course, my target customers are English speaking supervisors purchasing the course for their Spanish speaking workers. So the landing page will still be in English (just like the English version of the course) with the same basic description, with the only content differences on that page being the inclusion of the fact that this course is in Spanish and a few details around that. The majority of the content on these two separate landing pages will be exactly the same, as the description for the overall course is the same, just that it's presented in a different language, so it needs to be 2 separate products. My fear is that Google will read this as duplicate content and I will be penalized for it. Is this a possibility or will Google know why I set it up this way and not penalize me? If that is a possibility, how should I go about doing this correctly? Thanks!
On-Page Optimization | | NiallTom0 -
Category Pages with Sub-Categories
The image will explain it all... Each category page starts on the subject of the first sub-category page. This happens twice (well actually 3 times since this section of the site is called showroom and it starts on the tab mowers). Is this a terrible approach? If so, how could a site like this be better navigation-ally organized. cat-subcat.png
On-Page Optimization | | drewschmaltz0