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
-
Mass Removal Request from Google Index
Hi, I am trying to cleanse a news website. When this website was first made, the people that set it up copied all kinds of articles they had as a newspaper, including tests, internal communication, and drafts. This site has lots of junk, but this kind of junk was on the initial backup, aka before 1st-June-2012. So, removing all mixed content prior to that date, we can have pure articles starting June 1st, 2012! Therefore My dynamic sitemap now contains only articles with release date between 1st-June-2012 and now Any article that has release date prior to 1st-June-2012 returns a custom 404 page with "noindex" metatag, instead of the actual content of the article. The question is how I can remove from the google index all this junk as fast as possible that is not on the site anymore, but still appears in google results? I know that for individual URLs I need to request removal from this link
Intermediate & Advanced SEO | | ioannisa
https://www.google.com/webmasters/tools/removals The problem is doing this in bulk, as there are tens of thousands of URLs I want to remove. Should I put the articles back to the sitemap so the search engines crawl the sitemap and see all the 404? I believe this is very wrong. As far as I know this will cause problems because search engines will try to access non existent content that is declared as existent by the sitemap, and return errors on the webmasters tools. Should I submit a DELETED ITEMS SITEMAP using the <expires>tag? I think this is for custom search engines only, and not for the generic google search engine.
https://developers.google.com/custom-search/docs/indexing#on-demand-indexing</expires> The site unfortunatelly doesn't use any kind of "folder" hierarchy in its URLs, but instead the ugly GET params, and a kind of folder based pattern is impossible since all articles (removed junk and actual articles) are of the form:
http://www.example.com/docid=123456 So, how can I bulk remove from the google index all the junk... relatively fast?0 -
Irrelevant Landing Pages are Ranking on Google SERP
Hi, I have noticed that Google likes to rank random pages on my site higher in the SERPs than the actual relevant content page for that service. Please let me know why it is happening?
Intermediate & Advanced SEO | | RuchiPardal0 -
Client WIll Not Rank for Targeted KW Terms
Good Morning Mozzers, I am at a total loss. I have been working with a client in a "difficult" (to say the very least) vertical for roughly the past two years and for the life of me, cannot get these clients to rank within the top 3 for the targeted keyword terms. It seems that every time our targeted keyword begin to gain a little bit of traction and improve their ranking position, it is immediately followed by the same keywords plummeting shortly thereafter. I have done everything (in my mind) I can to try and get this client's keyword terms to rank, everything from revising the on-/off-page content, building citations, submitting the site to services like Yext, advertising on AdWords and Yelp, etc. but it doesn't seem to make any significant difference. I'm hoping that someone can offer some guidance into how I can get these clients to start ranking highly for the targeted keyword terms because I'm at a complete loss. I look forward to all of your responses! Thank you for reading. If you'd like to check out the site, the URL is: www.lawtonmd.com
Intermediate & Advanced SEO | | maxcarnage0 -
Is Google Certified shops a ranking factor?
Hi This is to spark a debate, rather than an answer which has a specific answer. While Google may claim that being on the certified programme doesn't increase your ranking, but part of their algorithm looks into whether a website is trustworthy. To get accepted onto the certified shops you have to prove your a trust worthy reliable business that constantly gets audited. So surely this must be directly / indirectly be a ranking factor? Just thought I would throw it out there for a debate.
Intermediate & Advanced SEO | | Andy-Halliday1 -
Remove Google penalty or make a new website, Which is better??
My local website was hit by google and I have done all steps to remove the penalty, But it's still not ranked. So it is better to make a new website with new content and start working on it?
Intermediate & Advanced SEO | | Dan_Brown10 -
Impact of simplifying website and removing 80% of site's content
We're thinking of simplifying our website which has grown to a very large size by removing all the content which hardly ever gets visited. The plan is to remove this content / make changes over time in small chunks so that we can monitor the impact on SEO. My gut feeling is that this is okay if we make sure to redirect old pages and make sure that the pages we remove aren't getting any traffic. From my research online it seems that more content is not necessarily a good thing if that content is ineffective and that simplifying a site can improve conversions and usability. Could I get people's thoughts on this please? Are there are risks that we should look out for or any alternatives to this approach? At the moment I'm struggling to combine the needs of SEO with making the website more effective.
Intermediate & Advanced SEO | | RG_SEO0 -
What is the impact of excessive code on rankings
I am working on optimizing a page that utilizes a template that generates an excessive amount of code - 4 to 5 times what I am seeing with competitor pages. The entire site seems to have this problem and we have, according to webmaster tools a a medium to slow load time. In general, given the content and teh strength of the domain, I think this page should be performing better. I think the entire site should be performing better. Would it be worth it to replace the template I am using and replace it with a more lightweight page design? I would obviously keep the content and the url the same. Typically I want to try everything I can to improve rankings, but this change would take some time, so I don;t want to rush into it. Looking for some answers based on experience, not general best practices. Thanks
Intermediate & Advanced SEO | | AmyLB0 -
Will Google Revisit a 403 Page
Hi, We've got some pretty strict anti-scraping logic in our website, and it seems we accidentally snared a Googlebot with it. About 100 URL requests were responded to with a 403 Forbidden error. The logic has since been updated, so this should not happen again. I was just wondering if/when Googlebot will come back and try those URLs again. They are linked from other pages on the site, and they are also in our sitemap. Thanks in advance for any assistance.
Intermediate & Advanced SEO | | dbuckles0