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. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. Will two navigation components (one removed by Javascript) impact Google rankings?

    Will two navigation components (one removed by Javascript) impact Google rankings?

    Intermediate & Advanced SEO
    3 3 58
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • CaddisInteractive
      CaddisInteractive last edited by

      We are trying to eliminate tedium when developing complexly designed responsive navigations for mobile, desktop and tablet. The changes between breakpoints in our designs are too complex to be handled with css, so we are literally grabbing individual elements with javascript and moving them around. What we'd like to do instead is have two different navigations on the page, and toggle which one is on the DOM based on breakpoint. These navigations will have the same links but different markup.

      Will having two navigation components on the page at page load negatively impact our Google SEO rankings or potential to rank, even if we are removing one or the other from the DOM with JavaScript?

      1 Reply Last reply Reply Quote 0
      • OlegKorneitchouk
        OlegKorneitchouk last edited by

        Great question, don't have definitive answer.

        My guess is that Google would use the final page source (post javascript) since this is what is does when a website adds content via javascript post load. So if you remove the links, they shouldn't be counted.

        I'd test this by fetching as google and seeing what it sees as the source.

        --

        Overall, I don't think having double links to the same URLs will hurt your SEO much. Overall consensus is that only the first link will be counted anyways.

        1 Reply Last reply Reply Quote 1
        • Vijay-Gaur
          Vijay-Gaur last edited by

          If I understand it correctly, you are trying to present different content/navigation to different devices. It is fine from SEO point of view, as long as you are not manipulating the content ( then it would be viewed as cloaking). Changing the markup for navigation isn't a bad thing till the time your links have good SEO friendly URLs.

          You should take help of Fetch as Google feature to review how spiders will look at your content on mobile/desktop devices.

          .I hope this helps, Let me know if you have further questions.

          Thanks,

          Vijay

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • If I have two brands and I market one in English (BrandA.com) and one in Spanish (BrandB.com), and the websites are identical but in different languages, would that have a negative impact on SEO due to duplicate content?
            Dalerio-Consulting
            Dalerio-Consulting
            1
            3
            68

          • Removing .html from URLs - impact of rankings?
            Gyorgy.B
            Gyorgy.B
            0
            5
            154

          • Two Similar Profile Pages: One Ranks 2 in Google - The Other 150
            chrisvogel
            chrisvogel
            0
            3
            122

          • Help! The website ranks fine but one of my web pages simply won't rank on Google!!!
            RuthBurrReedy
            RuthBurrReedy
            0
            8
            191

          • Homepage not ranking in Google AU, but ranking in Google UK?
            JaneCopland
            JaneCopland
            0
            6
            158

          • We have two different websites with the same products and information, will that hurt our rankings?
            ryanetc
            ryanetc
            0
            4
            2.2k

          • How Google Adwords Can Impact SEO Ranking ?
            voradius
            voradius
            0
            15
            47.4k

          • Will using a service such as Akamai impact on rankings?
            RyanKent
            RyanKent
            0
            7
            2.2k

          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