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
-
What will SEO be like in the 2020's?
Hey guys, I would love to hear your thoughts on how you think SEO will change in the 2020's. The 2010's saw some pretty cool stuff like Panda, Penguin, penalties for non-mobile-friendly, non-secure and slow loading sites. What will be more or less important for SEO's in the 2020's than today? How will machine learning and AI change SEO?
Intermediate & Advanced SEO | | GreenHatWeb0 -
What would the Impact of having a sitemap be?
Hi, some more general question here: How important would you rate it to have a sitemap? Would you rate it fundamentally important or just something you can add as bonus? Thanks in advance
Intermediate & Advanced SEO | | brainfruit0 -
How good or bad is this for SEO?
I will try to make this as clear as possible. We represent the yellow pages - www.visalietuva.lt
Intermediate & Advanced SEO | | FCRMediaLietuva
For every single company that is listed we have Creditworthiness - that helps to find information about their payment history and their business status. It's pretty useful. An example could be found here: http://www.visalietuva.lt/en/company/dizrega-uab/creditworthiness Some companies that are proud of their result started putting Iframe on their pages:
http://dizrega.lt/lt/kontaktai/firmos-rodikliai We noticed this on Google Webmasters, when new links started to appear.
So we are not sure if this is good for SEO? Of course this is good for our Google Analytics:))
If this is good, maybe we should send offer for our clients, that we can help to put iframe like this for free, for people who are not able to do it themselves. Your opinions please!0 -
Domain name suffix impact on SEO
Hello there, We are about to launch a new website and were wondering what impact a specific suffix would have from an SEO point of view. We were thinking about going for a domain which ends in .london as oppose to .com We are based in London and sell world wide via our website. We are suggesting www.domain.london as oppose to www.domain.com I would appreciate your views... Thanks
Intermediate & Advanced SEO | | roberthseo0 -
Using the right Schema.org - & is there a penalty in using the wrong one?
Hi We have a set of reviewed products (in this case restaurants) that total an average rating of 4.0/5.0 from 800 odd reviews. We know to use schema/restaurant for individual restaurants we promote but what about for a list of cities, say restaurants in boston for example. For the product page containing all of Boston restaurants - should we use schema.org/restaurant (but its not 1 physical restaurant) or schema.org - product + agg review score? What do you do for your product listing pages? If we get it wrong, is there a penalty? Or this just simply up to us?
Intermediate & Advanced SEO | | xoffie1 -
Using exact keyword domains for local SEO
The website is for the attorney that serves several nearby cities. The main page is optimized for the biggest central city. I have several options how to go after the smaller surrounding cities: 1. Create optimized pages inside the main domain 2. Get more or less exact keyword domains for each city e.g. for the city ABC get yourABClawyer.com and then a) use 1 page websites that use the same template as main website and link all the menu items to the main website b)use 1 page website with a link "for more information go to our main website" c) point exact keyword domains to the optimized pages within the main domain. Which option would be the best in terms of SEO and user experience? Would people freak out if they click on the menu item and go to a different domain website even though it uses the same template (option 2a) Would I get more bounces with option 2b in your opinion? Would option 2c have any positive SEO effect? Should I not even bother with exact keyword domain and go with option 1?
Intermediate & Advanced SEO | | SirMax1 -
What Questions to Ask in SEO Interview
Tomorrow morning I have a call with an SEO company interested in doing some work with our company. Its a larger company who do a lot of SEO work, and seem to have good feedback around the place. But we have been very very white hat in our all our our SEO work so far, and some of their wording on their site talks about "Negotiations and acquisitions of link partners".. which gives me the feel they might be a little grey hat.. What are some good questions we should ask these guys to make sure what they are doing is legit, and not going to get us stung for anything? And what sort of work should we get them to do, if we are happy to take care of content creation, on page optimisation and social media activities? Thanks!
Intermediate & Advanced SEO | | timscullin0 -
In-House SEO - Doubt about one SEO issue - Plz guys help over here =)
Hello, We wanna promote some of our software's. I will give u guys one example bellow: http://www.mediavideoconverter.de/pdf-to-epub-converter.html We also have this domain: http://pdftoepub.de/ How can we deal about the duplicate content, and also how can we improve the first domain product page. If I use the canonical and don't index the second domain and make a link to the first domain it will help anyway? or don't make any difference? keyword: pdf to epub , pdf to epub converter What u guys think about this technique ? Good / Bad ? Is there the second domain giving any value to the first domain page? Thanks in advance.
Intermediate & Advanced SEO | | augustos0