The main navigation is using JS, will this have a negative impact on SEO?
-
Hi mozzers,
We just redesigned our homepage and discovered that our main nav is using JS and when disabling JS, no main nav links was showing up. Is this still considered bad practice for SEO? https://cl.ly/14ccf2509478
thanks
-
Thanks Jose!
-
Googlebot does not render JavaScript
We hear very often about JavaScript rendering is the assumption that the crawler is responsible for the rendering. But that's not the case. The rendering is done by the indexer (from Google Caffeine).More specifically, the Web Rendering Service (WRS), which is part of Google Caffeine. And this is exactly where the second great difficulty lies in the area of JavaScript SEO.
Gary Illyes says: "Also, to clarify, WRS is a subsystem of Caffeine, just like the PageRanker (cos yes, we still use it) or the canonicalization algorithm."
The process flow between the crawler and the indexer:
HTML files are downloaded.
CSS and JavaScript data will be downloaded in parallel.
WRS (Web Rendering Service) (part of Google Caffeine) is used to run JS.
WRS renders all files.
Now Google Caffeine can index the content if necessary.
And that's when Googlebot can crawl new links.
Why is that a problem? For the crawler to be able to enter the content and follow the links, it must first pass the data to the indexer. The indexer renders the content and returns it to the crawlers. Only now can the crawler see the content and follow the links. On the next page, the game starts again. Page by page. (many processes)Unlike conventional pages, where the crawler crawls numerous pages and, after crawling, passes everything collectively to the indexer. (few processes)
This process presents another challenge to search engines.
Regards
-
The only bad SEO Practice regarding JS that I've of is trying to hide the JS files from Search Engines, apparently, Google needs to render a whole page as it indexing it; so blocking any JS (& CSS for that matter) isn't a good thing.
-
Hi There,
JS rendered UI isn't negative, it is however not a good practice also.
You can find complete information to the concept of JS rendered pages and UI on this link, https://www.portent.com/blog/seo/javascript-bad-for-seo.htm .
I hope this helps.
Regards,
Vijay
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
-
Redirection of 100 domain to Main domain affects SEO?
Hi guys, An email software vendor managed by a different area of my company redirected 100 domains used for unsolicited email campaigns to my main domain. These domains are very likely to get blacklisted at some point. My SEO tool now is showing me all those domains as "linking" to my main site as do-follow links. The vendor states that this will not affect my main domain/website in any way. I'm highly concerned. I would appreciate your professional opinion about this. Thanks!!
Intermediate & Advanced SEO | | anagentile0 -
Question about using abbreviation
Hello, I have this abbreviation inside my domain name, ok? now for a page URL name, do you recommend me to use the actual word (which shortened form of it is inside domain name) in a page name? Or when have abbreviation in domain name, then using its actual word in a page name is not good? It's all about how much google recognize abbreviation as the actual word and gives the same value of word to it? do I risk not using the actual word? Hope made myself clear ) thanks.
Intermediate & Advanced SEO | | mdmoz0 -
Negative seo problem
Hello, Someone attacked our website with negative SEO and our website fell drastically. If i use bing webmaster tools link explorer i see dozens and dozens spam links but if open a link i don't find this link in that website. Is it possible that someone added the links and then remove thouse links when we got hit? Or is it possible to hide the links that they don't show up on webpage but they are still there? How can i use Google disavow links tool if there is no links in thouse websites but Bing link explorer shows spam domains pointing to our website. BR, T
Intermediate & Advanced SEO | | otsinguturundus0 -
Using Canonical Attribute
Hi All, I am hoping you can help me? We have recently migrated to the Umbraco CMS and now have duplicate versions of the same page showing on different URLs. My understanding is that this is one of the major reasons for the rel=canonical tag. So am I right in saying that if I add the following to the page that I want to rank then this will work? I'm just a little worried as I have read some horror stories of people implementing this attribute incorrectly and getting into trouble. Thank you in advance
Intermediate & Advanced SEO | | Creditsafe0 -
Domain Forwarding for SEO
Hey guys, I recently created a new website for a client who was ranking #1 for the term "jupiter obgyn" but they have now dropped down to #4. This happened because their old home page was at www. instead of just jupiterobgyn.com. When you type in the www. version, it does take you to the root domain but it's not carrying the old PA! The www. version of the page had a 22 PA and the new root domain hosted page is a 1. How can I fix it so that "link juice" carries over? Is this something i need to do in 1and1 (their web host) or within Wordpress? Thanks!!!
Intermediate & Advanced SEO | | RickyShockley0 -
Will changing my wordpress permalinks add SEO value?
I'm considering changing my permalinks from: http://www.musicliveuk.com/corporate-entertainment-1 http://www.musicliveuk.com/corporate-entertainment-2 to: http://www.musicliveuk.com/corporate-entertainment-london etc... (these are example pages and don't actually exist) as I want to optimise pages for specific cities. This will create a load of 404 errors which I will have to 301 redirect (I presume that's the best way of doing it?). Does having the keyword in the url help and is the added SEO value (if their is any) worth it?
Intermediate & Advanced SEO | | SamCUK0 -
Are there any negative effects to using a 301 redirect from a page to another internal page?
For example, from http://www.dog.com/toys to http://www.dog.com/chew-toys. In my situation, the main purpose of the 301 redirect is to replace the page with a new internal page that has a better optimized URL. This will be executed across multiple pages (about 20). None of these pages hold any search rankings but do carry a decent amount of page authority.
Intermediate & Advanced SEO | | Visually0 -
Keyword Rich Domain Redirects to Brand Name But How Will SEO Work For It?
If i have a keyword rich domain name, but i redirect it to a brand domain name, will doing seo for the keyword rich domain name be effective in showing up on google under that domain, for the keyword i do SEO for? or does this cause a conflict for spiders/robots as soon as they realize the page they want to check out is getting redirected to another domain name?
Intermediate & Advanced SEO | | lafurniturestore2