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
-
What is the best meta description for Category Pages, Tag Pages and Main Article?
Hi, I want to index all my categories and tags. But I fear about duplicating the meta description. for example: I have a tag name "Learn Stock Market", a category name "Learning", and a main article "What is Stock Market". What is your suggestion for meta description of these three pages that looks great for seo google?
On-Page Optimization | | mbmozmb0 -
Text that appears when hovering over navigation tabs
Hi, I have a Wordpress website and want to delete or edit the text that appears when I hover over my navigation tabs. In my case, the text is always the same as the page title, but I don't know where to edit it separately. When I change the title of a page that is in the navigation, the text that appears changes too. So the general setting is that this text is the same as the page title. Does somebody have an idea where to edit this? Thanks!
On-Page Optimization | | Mat_C0 -
Harms of hidden categories on SEO
On our website we have some invisible/hidden categories on our site. Can anyone advise whether these are harmful in terms of SEO?
On-Page Optimization | | CostumeD0 -
Removing navigation menu items/links on homepage
We are redesigning our website after a long stint with an SEO firm who also handled our design/dev. We want to clean up the links on our homepage but don't want to screw up our IA or SEO. We want to delete some navbar menu items and a whole bunch on random links to our evergreen content below the fold. Would we need to reposition those navbar items/content links to our footer or somewhere else on the homepage to maintain our internal linking structure? It would be great if you could take a look at our site and give us any suggestions or advice on the best way to go about this. Thanks!
On-Page Optimization | | Lorne_Marr1 -
How do i block an entire category/directory with robots.txt?
Anyone has any idea how to block an entire product category, including all the products in that category using the robots.txt file? I'm using woocommerce in wordpress and i'd like to prevent bots from crawling every single one of products urls for now. The confusing part right now is that i have several different url structures linking to every single one of my products for example www.mystore.com/all-products, www.mystore.com/product-category, etc etc. I'm not really sure how i'd type it into the robots.txt file, or where to place the file. any help would be appreciated thanks
On-Page Optimization | | bricerhodes0 -
How To Change Wordpress Category Title
My categories are indexed and I want to change the category page title. At present it just defaults to the category name but I want to set a different page title. For example I want the category to be 'Motor Cars' but I want the category page title to be 'Buy Motor Cars - New And Used'. How can I do this?
On-Page Optimization | | SamCUK0 -
WordPress and category/subcategory landing pages
Hey, Here's my situation. I'm building a WordPress blog for product reviews of a certain niche. Current category setup is 4 main categories with 4-8 subcategories each. Each subcategory has a unique description that will help it become a landing page for certain keywords, after which it lists the posts from that subcategory. The posts will always be assigned to a sub-category, never to a main category. My issue is what to do with the main categories. They're fairly general so they're not really targeting any keywords, and don't have any unique descriptions attached to them. I was thinking of choosing between three options on designing the main category pages: List the subcategories + normal posts loop that bring the latest posts from the subcategories (may create a lot of duplicate content since the subcategory pages are also listing their posts) List only the subcategories (+ maybe just the latest post from each subcategory) Don't link the main categories at all, instead only use them to create dropdowns for the subcategories So, what would you choose, and why?
On-Page Optimization | | mihaiaperghis0 -
Keywords in Navigation
Hi, What is best practice for main navigation links with regards to use of keywords in them. For example is it best to using the phrase 'Pricing", "Website Pricing" or "Website Design Pricing" To me 'Pricing' is more appropriate because to the user they know they are on a website designer's site so what else would pricing be for right?! Furthermore you use less 'real estate' on the nav bar! There is on page text around the site which has links to "see our website design pricing" etc so I assume that is perhaps a more natural place to include that phrase? Look forward to your insights 🙂
On-Page Optimization | | NeilD0