• BBgmoro

        See all notifications

        Skip to content
        Moz logo Menu open Menu close
        • Products
          • Moz Pro
          • Moz Pro Home
          • Moz Local
          • Moz Local Home
          • STAT
          • Moz API
          • Moz API Home
          • Compare SEO Products
          • Moz Data
        • Free SEO Tools
          • Domain Analysis
          • Keyword Explorer
          • Link Explorer
          • Competitive Research
          • MozBar
          • More Free SEO Tools
        • Learn SEO
          • Beginner's Guide to SEO
          • SEO Learning Center
          • Moz Academy
          • MozCon
          • Webinars, Whitepapers, & Guides
        • Blog
        • Why Moz
          • Digital Marketers
          • Agency Solutions
          • Enterprise Solutions
          • Small Business Solutions
          • The Moz Story
          • New Releases
        • Log in
        • Log out
        • Products
          • Moz Pro

            Your all-in-one suite of SEO essentials.

          • Moz Local

            Raise your local SEO visibility with complete local SEO management.

          • STAT

            SERP tracking and analytics for enterprise SEO experts.

          • Moz API

            Power your SEO with our index of over 44 trillion links.

          • Compare SEO Products

            See which Moz SEO solution best meets your business needs.

          • Moz Data

            Power your SEO strategy & AI models with custom data solutions.

          Turn SEO data into actionable content briefs

          Turn SEO data into actionable content briefs

          Learn more
        • Free SEO Tools
          • Domain Analysis

            Get top competitive SEO metrics like DA, top pages and more.

          • Keyword Explorer

            Find traffic-driving keywords with our 1.25 billion+ keyword index.

          • Link Explorer

            Explore over 40 trillion links for powerful backlink data.

          • Competitive Research

            Uncover valuable insights on your organic search competitors.

          • MozBar

            See top SEO metrics for free as you browse the web.

          • More Free SEO Tools

            Explore all the free SEO tools Moz has to offer.

          Let your business shine with Listings AI

          Let your business shine with Listings AI

          Get found
        • Learn SEO
          • Beginner's Guide to SEO

            The #1 most popular introduction to SEO, trusted by millions.

          • SEO Learning Center

            Broaden your knowledge with SEO resources for all skill levels.

          • On-Demand Webinars

            Learn modern SEO best practices from industry experts.

          • How-To Guides

            Step-by-step guides to search success from the authority on SEO.

          • Moz Academy

            Upskill and get certified with on-demand courses & certifications.

          • MozCon

            Save on Early Bird tickets and join us in London or New York City

          Access 20 years of data with flexible pricing
          Moz API

          Access 20 years of data with flexible pricing

          Find your plan
        • Blog
        • Why Moz
          • Digital Marketers

            Simplify SEO tasks to save time and grow your traffic.

          • Small Business Solutions

            Uncover insights to make smarter marketing decisions in less time.

          • Agency Solutions

            Earn & keep valuable clients with unparalleled data & insights.

          • Enterprise Solutions

            Gain a competitive edge in the ever-changing world of search.

          • The Moz Story

            Moz was the first & remains the most trusted SEO company.

          • New Releases

            Get the scoop on the latest and greatest from Moz.

          Surface actionable competitive intel
          New Feature

          Surface actionable competitive intel

          Learn More
        • Log in
          • Moz Pro
          • Moz Local
          • Moz Local Dashboard
          • Moz API
          • Moz API Dashboard
          • Moz Academy
        • Avatar
          • Moz Home
          • Notifications
          • Account & Billing
          • Manage Users
          • Community Profile
          • My Q&A
          • My Videos
          • Log Out

        The Moz Q&A Forum

        • Forum
        • Questions
        • My Q&A
        • Users
        • Ask the Community

        Welcome to the Q&A Forum

        Browse the forum for helpful insights and fresh discussions about all things SEO.

        1. Home
        2. Digital Marketing
        3. Web Design
        4. Html 5 main and secondary navigation for SEO best performances

        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.

        Html 5 main and secondary navigation for SEO best performances

        Web Design
        3
        8
        3225
        Loading More Posts
        • Watching

          Notify me of new replies.
          Show question in unread.

        • Not Watching

          Do not notify me of new replies.
          Show question in unread if category is not ignored.

        • Ignoring

          Do not notify me of new replies.
          Do not show question in unread.

        • Oldest to Newest
        • Newest to Oldest
        • Most Votes
        Reply
        • Reply as question
        Locked
        This topic has been deleted. Only users with question management privileges can see it.
        • netbuilder
          netbuilder last edited by

          I am building a website which will have a main navigation related to the site and each link of the main navigation will have a secondary navigation. We do not want to use a megamenu style navigation. I will try to explain it with a example:

          Let's start with an example for a computer store "My PC Store", the Main Navigation would be:

          Desktop PC's Notebook & Tablets
          Multimedia

          When clicking on the "Notebook & Tablets" the user is directed to the page domain.com/notebook-tablet.html and on this page the secondary navigation appears: Laptop Netbook Tablets / iPad I am confused on how I should organize the semantic navigation for best SEO performances and I need advice / suggestions. I thought about 2 different ways to do it but which one is more appropriate in terms of SEO? PROPOSITION A Home Page:

          <header>

          My PC Store <nav>

          • Desktop PC's
          • Notebook & Tablets
          • Multimedia </nav> </header>

          Sub-Page (Notebook & Tablets):

          <nav>(or

          <aside>?)

          • Desktop PC's
          • Notebook & Tablets
          • Multimedia </aside>

          </nav>

          <header>

          Notebook & Tablets <nav>

          • Laptop
          • Netbook
          • Tablets / iPad </nav> </header>

          As you notice on the home page the Main Site Navigation is included in the

          <header>while it is not in the sub-pages.

          PROPOSITION B

          Home Page:

          <header>

          My PC Store

          <nav>

          • Desktop PC's

          • Notebook & Tablets

          • Multimedia

          </nav>

          </header>

          Sub-Page (Notebook & Tablets):

          <header>

          Notebook & Tablets <nav>

          • Desktop PC's
          • Notebook & Tablets
          • Multimedia </nav> # Notebook & Tablets * Laptop
          • Netbook
          • Tablets / iPad </header>

          The main navgation remains always in the

          <header>(home page / sub-pages) of all page.

          I need suggestions... How would you guys organize the nav ?

          </header>

          </header>

          1 Reply Last reply Reply Quote 0
          • MatthewBarby
            MatthewBarby @netbuilder last edited by

            Apologies, typed that up wrong. Have updated above post.

            1 Reply Last reply Reply Quote 0
            • netbuilder
              netbuilder @netbuilder last edited by

              Why are you inserting

              outside

              <header>?</header>

              1 Reply Last reply Reply Quote 0
              • MatthewBarby
                MatthewBarby @netbuilder last edited by

                My apologies. I would go with the following example in order to maintain a good SEO with your webpage headers and also a solid navigation:

                Home page:

                <header>

                My PC Store

                <nav>

                • Desktop PC's

                • Notebook & Tablets

                • Multimedia

                </nav>

                </header>

                Sub Page:

                <header>

                <nav>

                Notebook & Tablets

                *** Desktop PC's**

                • Notebook & Tablets
                  *** Multimedia**

                </nav>

                </header>

                **<nav>

                • Laptop
                • Netbook
                • Tablets / iPad </nav>**

                Hope this helps.

                Matt.

                1 Reply Last reply Reply Quote 0
                • netbuilder
                  netbuilder @netbuilder last edited by

                  OK but you don't answer to my question since we do not want any mega menu or drop down menu.

                  1 Reply Last reply Reply Quote 0
                  • MatthewBarby
                    MatthewBarby @netbuilder last edited by

                    This is true if it is wrapped within JavaScript, so that the search engines cannot read it. However, if you use two separate navigation menus then you can negate this problem.

                    Also, if you were to code up the 'mega menu' style navigation with CSS3 then you could also avoid these crawling problems and make the navigation much more search-engine friendly.

                    In general, I try to avoid using sub-pages within site to extend navigation (unless it is completely different product areas or business verticals).

                    Matt.

                    1 Reply Last reply Reply Quote 0
                    • netbuilder
                      netbuilder @MatthewBarby last edited by

                      Well there are in general SEO concerns in the use of navigation Mega Menu style and this is why we want to avoid it.

                      MatthewBarby netbuilder 5 Replies Last reply Reply Quote 0
                      • MatthewBarby
                        MatthewBarby last edited by

                        Hi There,

                        I think I have got the jist of what you're trying to achieve.

                        What I would recommend is that you have links to Desktop PC's, Notebook & Tablets, Multimedia, Laptop, Netbook, Tablets / iPad directly from your homepage. The reason being that this will allow the search engines to crawl your webpages easier and the subcategory pages won't be so deep within the domain.

                        What I mean is that I would use either a drop down list, so that when the Notebook & Tablets is hovered over, the subcategories are then displayed below it. Alternatively, you could have a secondory naviagtion on the homepage, i.e. with an extensive drop-down list lower down or at the side of the webpage.

                        Great examples of this type of navigation can be found on: http://www.ebuyer.com or http://www.musicmatters.co.uk/shop.html (look at the secondary nav on the right for the Music Matters shop page.

                        I hope this helps.

                        Matt.

                        netbuilder 1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post

                        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.

                        • See all categories

                        Related Questions

                        • QBSEO

                          What’s the best tool to visualize internal link structure and relationships between pages on a single site?

                          I‘d like to review the internal linking structure on my site. Is there a tool that can visualize the relationships between all of the pages within my site?

                          Web Design | | QBSEO
                          0
                        • PlanetDISH

                          Will having two wordpress themes installed hurt seo?

                          We currently have 3 sites built on WordPress that have little to no blogging capabilities. Currently, all published posts show up on a /category page which does not resemble the traditional blog format and is not aesthetically pleasing. We would like to have a more traditional blog and are considering installing a second wordpress theme on the site which will strictly be used for /blog and all the posts. My question is will having the second WordPress installation on the sites hurt us in any way on the SEO front and if we go this way should we place the install in a subfolder or on a subdomain? Is there anything else we need to worry about with making this transition? Thank you in advance for the advice! Patrick

                          Web Design | | PlanetDISH
                          0
                        • DRSearchEngOpt

                          Best way to indicate multiple Lang/Locales for a site in the sitemap

                          So here is a question that may be obvious but wondering if there is some nuance here that I may be missing. Question:  Consider an ecommerce site that has multiple sites around the world but are all variations of the same thing just in different languages.  Now lets say some of these exist on just a normal .com page while others exist on different ccTLD's.  When you build out the XML Sitemap for these sites, especially the ones on the other ccTLD's, we want to ensure that using <loc>http://www.example.co.uk/en_GB/"</loc> <xhtml:link<br>rel="alternate"
                          hreflang="en-AU"
                          href="http://www.example.com.AU/en_AU/"
                          />
                          <xhtml:link<br>rel="alternate"
                          hreflang="en-NZ"
                          href="http://www.example.co.NZ/en_NZ/"
                          /> Would be the correct way of doing this.  I know I have to change this for each different ccTLD but it just looks weird when you start putting about 10-15 different language locale variations as alternate links.  I guess I am just looking for a bit of re-affirmation I am doing this right.</xhtml:link<br></xhtml:link<br> Thanks!

                          Web Design | | DRSearchEngOpt
                          0
                        • madegood

                          Script tags and seo

                          Hi, I have a page on my site with a google map embed, and a path drawn on the map. The path is made from a long string of coordinates. For ease I have the co-ordinates placed in a script tag at the foot of the page, amongst my javascript My question is, will this script tag hurt the seo for the page? I've read that inline js and 'data islands' can be bad, so I've been careful to keep it out of the main body of the page. Thanks, any help appreciated!

                          Web Design | | madegood
                          0
                        • edlondon

                          Is it possible to redirect the main www. domain - but keep a subdomain active?

                          Hi Mozzers, Quick question, which I hope one of you can answer... Let's say I have a website (i) www.example.com and on that a subdomain exists, (ii) subdomain.example.com. Let's say I want to change my main domain from www.example.com to www.newwebsite.com.  I'd 301 all content, use GWT to notify Google of a change of address etc etc. Having done that, is it still possible to keep the original subdomain active? So, even though www.example.com has been redirected / transferred to www.newwebsite.com, subdomain.example.com would still exist. If that is possible, what is the implication for Domain Authority?  On the one hand, I have transferred the main site (so DA from that will transfer to the new site); but part of that root domain is still active. Make sense?  Any answers? Thanks everyone...

                          Web Design | | edlondon
                          0
                        • Bromtec

                          White Text / Black Background & SEO Impact

                          Does anyone know of any testing / studies with evidence that Google prefers dark text on a light background vs. light text on a dark background? I have a website that currently has light text on a black background, and really like the way it looks, but am concerned that the style may be hurting SEO. Moreover, redesigning something inverse with the same quality would be a large project and fairly costly, so I'd like to make sure the benefit will really be worth the cost before moving forward.

                          Web Design | | Bromtec
                          0
                        • Giorgio68

                          WIX? is it any good for SEO

                          Hi people. I have just built my website www.bellagiolimousines.com.au using WIX. I am in the process of optimising for SEO, and after reading a couple of older posts i.e 2012; I read that some SEO consultants do not like WIX. However with their recent upgrades, I was hoping if anyone else has had any recent experience with WIX? I have spent a considerable amount of time building this site, and I don't want to waste anymore time in optimising it, if I am not going to receive a top 3 organic SERP. Hope to hear from someone real soon!

                          Web Design | | Giorgio68
                          0
                        • Lusodados

                          Seo and CSS media queries

                          Hello to all participants! I'm starting on responsive design with css media queries and I was wondering if hidding content can, in this case, can also be bad for seo? I know that hidding content is bad (eg. display: none;), but is it also like that with responsive design or does Google see it other way? If I have a news column with title, image and text for 1024px and hide the text and image leaving just the title for 768px, or smaller, will Google consider this black hat and will it be bad for seo? are there any articles I can read about this subject, and other similar subjects? sorry for my english 🙂 thanks

                          Web Design | | Lusodados
                          1

                        Get started with Moz Pro!

                        Unlock the power of advanced SEO tools and data-driven insights.

                        Start my free trial
                        Products
                        • Moz Pro
                        • Moz Local
                        • Moz API
                        • Moz Data
                        • STAT
                        • Product Updates
                        Moz Solutions
                        • SMB Solutions
                        • Agency Solutions
                        • Enterprise Solutions
                        • Digital Marketers
                        Free SEO Tools
                        • Domain Authority Checker
                        • Link Explorer
                        • Keyword Explorer
                        • Competitive Research
                        • Brand Authority Checker
                        • Local Citation Checker
                        • MozBar Extension
                        • MozCast
                        Resources
                        • Blog
                        • SEO Learning Center
                        • Help Hub
                        • Beginner's Guide to SEO
                        • How-to Guides
                        • Moz Academy
                        • API Docs
                        About Moz
                        • About
                        • Team
                        • Careers
                        • Contact
                        Why Moz
                        • Case Studies
                        • Testimonials
                        Get Involved
                        • Become an Affiliate
                        • MozCon
                        • Webinars
                        • Practical Marketer Series
                        • MozPod
                        Connect with us

                        Contact the Help team

                        Join our newsletter
                        Moz logo
                        © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                        • Accessibility
                        • Terms of Use
                        • Privacy

                        Looks like your connection to Moz was lost, please wait while we try to reconnect.