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
-
Will google be able to crawl all of the pages given that the pages displayed or the info on a page varies according to the city of a user?
So the website I am working for asks for a location before displaying the product pages. There are two cities with multiple warehouses. Based on the users' location, the product pages available in the warehouse serving only in that area are shown. If the user skips location, default warehouse-related product pages are shown. The APIs are all location-based.
Intermediate & Advanced SEO | | Airlift0 -
Client wants to remove mobile URLs from their sitemap to avoid indexing issues. However this will require SEVERAL billing hours. Is having both mobile/desktop URLs in a sitemap really that detrimental to search indexing?
We had an enterprise client ask to remove mobile URLs from their sitemaps. For their website both desktop & mobile URLs are combined into one sitemap. Their website has a mobile template (not a responsive website) and is configured properly via Google's "separate URL" guidelines. Our client is referencing a statement made from John Mueller that having both mobile & desktop sitemaps can be problematic for indexing. Here is the article https://www.seroundtable.com/google-mobile-sitemaps-20137.html
Intermediate & Advanced SEO | | RosemaryB
We would be happy to remove the mobile URLs from their sitemap. However this will unfortunately take several billing hours for our development team to implement and QA. This will end up costing our client a great deal of money when the task is completed. Is it worth it to remove the mobile URLs from their main website to be in adherence to John Mueller's advice? We don't believe these extra mobile URLs are harming their search indexing. However we can't find any sources to explain otherwise. Any advice would be appreciated. Thx.0 -
The Wrong Page Is Still The Only One Ranking
For some reason, the search term "Tampa Personal Injury Attorney," shows this page of our's http://www.kempruge.com/personal-injury/ on the second page, but omits this page http://www.kempruge.com/tampa-personal-injury-attorney/ (the correct one). The correct one only shows up in omitted results. I have posted this question before. I made the changes suggested to me, and it actually worked for a couple weeks. But, it reverted back. I tried for the last two months to fix this on my own, but I just can't figure it out. Does anyone have any idea what to do here? Incredibly appreciative of any assistance, Ruben
Intermediate & Advanced SEO | | KempRugeLawGroup0 -
New website won't rank for branded keywords in Google, but does in Bing
We launched a website in October www.butterfly.com. The branded product name "Butterfly Body Liners" will not rank until page 2 of Google, but it ranks #1 in Bing. Organic traffic never really picked up so it's not easy to tell if it's been "hit" by any penalty. The strange thing is, this website: http://archive.is/PQZdO is ranking #1. This is an archived version of the site. Does anyone have any insight as to why this is happening?
Intermediate & Advanced SEO | | LaughlinConstable0 -
Do we need to remove Google Authorship from the blog?
http://www.virante.org/blog/2013/12/19/authorshippocalypse-google-authorship-penguin-finally-appeared/ Search Engine Land reported that Google confirms that Authorship results in search are being intentionally reduced. It appears that the Matt Cutts-promised reductions to the amount of Google Authorship results being shown in Google Search has begun. Do we need to remove a Google Authorship tag from the blog? Because it hurts the ranking?
Intermediate & Advanced SEO | | ross254sidney0 -
Does hiding responsive design elements on smaller media types impact Google's mobile crawler?
I have a responsive site and we hide elements on smaller media types. For example, we have an extensive sitemap in the footer on desktop, but when you shrink the viewport to mobile we don't show the footer. Does this practice make Google's mobile bot crawler much less efficient and therefore impact our mobile search rankings?
Intermediate & Advanced SEO | | jcgoodrich1 -
Will Google penalize a site that had many links pointing to it with utm codes?
I want to track conversions using utm parameters from guest blog posts on sites other than my own site. Will Google penalize my site for having a bunch of external articles pointing to one page with unique anchor text but utm code? e.g. mysite.com/seo-text?utm_campaign=guest-blogs
Intermediate & Advanced SEO | | wepayinc0 -
For multi language sites, what is best - two domains or one with both languages?
We are assisting a client in setting up English and Spanish sites in Texas. They want to be able to find customers who are Spanish speaking predominantly or totally along with the customers they now get who are English speakers. We are building them a new site and I have researched to find answers all over the board or less than clear. Should the structure be such that we have one site with a set of English and Spanish pages all with Spanish links to Spanish pages and English links to English pages. Should we instead just have an English site for those people who utilize English and a different site for those who utilize Spanish? Thanks
Intermediate & Advanced SEO | | RobertFisher0