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
-
Two A Records or one CNAME and one A Record for www / naked domain?
What's the best way to point a domain to an IP address? Two A records one with host @ and the other with host www ? One A record pointing to the naked domain
Intermediate & Advanced SEO | | aj613
One CNAME record with host www pointing to nakeddomain.com Something else? Thanks so much! This seems so basic, but always seems to stump me. I'm using WordPress, if it makes difference.0 -
Can I undo a 301 redirect? Will it penalize my ranking?
I'm in charge of building a website for a company that made a mess. They own domain xxx.it (xxx is not the real domain, just a placeholder). Some years ago they 301 redirected xxx.it to xxx.com (they just changed TLDs). Last year they 301 redirected xxx.com to yyy.com (so, they actually changed domains). Now, after 13 months, the company failed and the new leadership wants me to undo everything and 301 redirect from yyy.com to xxx.it. So: 301 redirect is permanent. So, conceptually it's wrong to undo it. What happens if I undo it? Will my ranking be penalized, even if a significant amount of time has passed (13 months)? Will crawlers detect a loop (even if i remove any 301 redirect from xxx.it and theorically break the loop)? Here is the potential loop: xxx.it -> xxx.com -> yyy.com -> xxx.it -> etc... All of the articles I found on the web are quite old and not clear about this topic, that's why I'm asking this question.
Intermediate & Advanced SEO | | naska19900 -
Two websites (Domains) with same content for more than 4 years which one to choose now?
Hi, I need help with this decision, thanks in advance. My client has 2 websites but they have the same content: one has 4 years http://radiocolombia.com.co/ and the the other one 7 years: http://radiocolombiainternacional.com/web/ This content has been duplicated for years, how do I know which website is more relevant for google? we have to pick one. Please any advice? Thanks, David
Intermediate & Advanced SEO | | seoweb330 -
Will I lose traffic from Google for re-directing a page?
I’m currently planning to a retire a discontinued product and put a 301 redirect to a related product (although not identical). The thing is, I’m still getting significant traffic from people searching for the old product by name. Would Google send this traffic to the new pages via the re-direct? Is Google likely to display the new page in place of the old page for similar queries or will it serve other content? I’d like to answer this question so that I can decide between the two following approaches: 1) Retiring the old page immediately and putting a 301 redirect to the new related pages. This will have the advantage of transferring the value of any link signals / referring traffic. Traffic will also land on the new pages directly without having to click through from another page. We would have a dynamic message telling users that the old product had been retired depending on whether they had visited out site before. 2) Keep the old product pages temporarily so that we don’t lose the traffic from the search engines. We would then change the old pages to advise users that the old product was now retired, but that we have other products that might solve their problems. When this organic traffic decreases over time, then we will proceed with the re-direct as above. I am worried though that the old product pages might outrank the new product pages. I’d really appreciate some advice with this. I’ve been reading lots of articles, but it seems like there are different opinions on this. I understand that I will lose between 10% - 15% of page rank as per the Matt Cutts video.
Intermediate & Advanced SEO | | RG_SEO0 -
Remove URLs that 301 Redirect from Google's Index
I'm working with a client who has 301 redirected thousands of URLs from their primary subdomain to a new subdomain (these are unimportant pages with regards to link equity). These URLs are still appearing in Google's results under the primary domain, rather than the new subdomain. This is problematic because it's creating an artificial index bloat issue. These URLs make up over 90% of the URLs indexed. My experience has been that URLs that have been 301 redirected are removed from the index over time and replaced by the new destination URL. But it has been several months, close to a year even, and they're still in the index. Any recommendations on how to speed up the process of removing the 301 redirected URLs from Google's index? Will Google, or any search engine for that matter, process a noindex meta tag if the URL's been redirected?
Intermediate & Advanced SEO | | trung.ngo0 -
How Google Adwords Can Impact SEO Ranking ?
Hi SEO Gurus, I have a question. How Google Adwords Can Impact SEO Ranking ?
Intermediate & Advanced SEO | | Webdeal
Positive , negative or neutral impact? I will appreciate if you will provide detailed answer Thank you for your time webdeal0 -
Will swear words present on my pages affect my rankings?
Hi There, I am in the process of formulating a listing policy for my site and I'm not sure whether I should add something in there for swear words. My site is an adult site and swear words come with the territory, unfortunately. Will user generated content with swear words affect my ranking? Thank you
Intermediate & Advanced SEO | | Mulith0