Will two navigation components (one removed by Javascript) impact Google rankings?
-
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?
-
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
-
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.
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
-
Negative SEO impact of two Similar Domains on Same IP
Our ecommerce company has acquired a former competitor which has similar content & largely sells the same set of products. Both domains run on the same ecommerce platform version and do well organically on an overlapping set of keywords. Currently the websites are separate instances which are hosted separately. There is no interlinking or cross branding between the sites. Since each brand has strong equity & SEO, there are no plans to combine brands or domains. For several reasons, it would be ideal to combine platform instances and hosting, but we are concerned about potential SEO impact of shared IP addresses. Is it likely that moving the sites to the same IP/C-Block could have a negative SEO impact since they rank on the same keywords. Would Google devalue one site if they were seen to be connected or owned by the same company? I know this issue has been addressed for domains with more variance between products and content, but since there is a large overlap (but not duplicate content) between our two domains, we wanted additional insight. Obviously there are other SEO factors when you move a site, but we are currently trying to understand this specific factor. Thanks Community for your help! -Amber
Intermediate & Advanced SEO | | AmberHanson0 -
How good is Google at reading geo-targeted dynamic content -- Javascript?
We are using a single page application for a section of our website where it generates content based on the user's geographical location. Because Google's Search Console is searching from Virginia (where we don't have any content), we are not able to see anything render in Google Search Console. How good is Google at reading geo-targeted dynamic content? Do we have anything to worry about in terms of indexing the content because it's being served through JS?
Intermediate & Advanced SEO | | imjonny1230 -
Why is Google no longer Indexing and Ranking my state pages with Dynamic Content?
Hi, We have some state specific pages that display dynamic content based on the state that is selected here. For example this page displays new york based content. But for some reason google is no longer ranking these pages. Instead it's defaulting to the page where you select the state here. But last year the individual state dynamic pages were ranking. The only change we made was move these pages from http to https. But now google isn't seeing these individual dynamically generated state based pages. When I do a site: url search it doesn't find any of these state pages. Any thoughts on why this is happening and how to fix it. Thanks in advance for any insight. Eddy By the way when I check these pages in google search console fetch as google, google is able to see these pages fine and they're not being blocked by any robot.txt.
Intermediate & Advanced SEO | | eddys_kap0 -
Google ranking 301 redirected vanity urls
We use vanity URLs for offline marketing. An example vanity URL would be www.clientsite.com/promotion, this URL 301 redirects to a page on the site with tracking parameter ex: www.clientsite.com/mainpage?utm_source=source&utm_medium=print&utm_campaign=xyz. We are running into issues with Google ignoring the 301 redirect and ranking these vanity URLs instead of the actual page on the website. Any suggestions on how to resolve?
Intermediate & Advanced SEO | | digitalhound0 -
Google is squashing my rankings, insight please?
Last year with penguin, our rankings took a hit. We have worked hard, tirelessly, to recover. Last june we had no social media. We had an old website. We completely updated our website to responsive design, over 500k pages. We post daily fresh content, we expanded into social media. We now have 100k followers on Facebook. We are seeing thousands of Google + in the last few months, and not by hiring a single SEO consultant, and we use no ad-words or any paid advertising (except for adsense, limited on our site). We got thousands of Google +1's simply by sharing content in different circles and they liked us the old fashioned way. And yet our rankings have actually decreased. Just Saturday night, suddenly rankings that were on page 2 of Google dropped to page 5. Rankings on page 5 dropped to page 13, over night. Mind you, last year (prior to the penguin update), those page 2 and page 5 rankings were in the top 3 spots on page one. So its been quite a fall. We are doing something wrong, and I don't know what it is. The overnight rankings drop did not correspond with anything we did whatsoever. They just literally dropped abruptly. here is our site: (redacted for privacy, thanks for answering my question!) here is a sample of a fallen ranking. Friday, for example, we ranked on page one of google in this search:(redacted)
Intermediate & Advanced SEO | | marshill
and now we are on page 3. I am open to ideas, suggestions. I want to raise our D/A and have worked hard over the last year to do so, but it doesn't seem to be working too well. Do i have bad inbound links? Is our site not a quality enough user experience? Outside advice is well received. Thank you to anyone who can lend their insight. 🙂0 -
Does Google throttle back the search performance of a penalised website/page after the penalty has been removed?
Hi Mozzers. Back in 2013 my website www.octopus-hr.co.uk was hit by a Penguin 2.0 penalty owing to a harmful backlink profile built by a dodgy SEO consultant (now fired). The penalty seemed to apply to the homepage of the site but other pages were unaffected. We got what links we could removed, disavowed the rest and were informed in September 2013 that the penalty had been removed and our re-inclusion request had been successful. However our website homepage still ranks poorly for the search terms we're targeting in the UK: "HR Software" "HR Systems" On page factors are in my opinion pretty well optimised for these search terms. In terms of link building post penalty we've focused on high authority and relevant sites. I believe that compared to most of our search competitors the back link profile to our homepage is in pretty good shape, however it still ranks badly. Has anyone had any experience of a penalty hangover from Google in the past? Are there other things I should consider? Thanks David
Intermediate & Advanced SEO | | OctopusHR0 -
My website has disapeared from all google queries except the ones that contains it´s own website name
Hi, My website URL is: www.nixiweb.com Before June of 2013 my website was always shown at first or second place at google when searching for "hosting gratis". After June of 2013 my website has disappeared from all searches, it only appears when I search for the site name, eg: "nixiweb" or “www.nixiweb.com” At webmaster tools, the search queries table only shows queries related to my website name (eg: "nixiweb" or “xixiweb”), and none related to any other keyword. Can anybody help me understanding which is the problem with my site? Thanks
Intermediate & Advanced SEO | | nixiweb0 -
How to remove wrong crawled domain from Google index
Hello, I'm running a Wordpress multisite. When I create a new site for a client, we do the preparation using the multisite domain address (ex: cameleor.cobea.be). To keep the site protected we use the "multisite privacy" plugin which allows us to restrict the site to admin only. When site is ready we a domain mapping plugin to redirect the client domain to the multisite (ex: cameleor.com). Unfortunately, recently we switched our domain mappin plugin by another one and 2 sites got crawled by Google on their multsite address as well. So now when you type "cameleor" in Google you get the 2 domains in SERPS (see here http://screencast.com/t/0wzdrYSR). It's been 2 weeks or so that we fixed the plugin issue and now cameleor.cobea.be is redirected to the correct address cameleor.com. My question: how can I get rid of those wrong urls ? I can't remove it in Google Webmaster Tools as they belong to another domain (cf. cameleor.cobea.be for which I can't get authenticated) and I wonder if will ever get removed from index as they still redirect to something (no error to the eyes of Google)..? Does anybody has an idea or a solution for me please ? Thank you very much for your help Regards Jean-Louis
Intermediate & Advanced SEO | | JeanlouisSEO0