How JavaScript Can Impact A Website's Search Engine Optimization Situation

When it comes to developing a universal website across platforms, perhaps no framework is more suited for the task than Angular.

Angular started out as a Javascript library and was known as angular.js. Today, it's on version 6 of its standalone framework, and its maturity makes it a nice choice for developers who want a simple way to make sure that their site is rendered properly on all of today's many handheld and desktop devices.

But what about SEO? Is a Javascript-based site good for indexing during a Google search? As it turns out, there's some complications.

It's common knowledge that Google is able to index Javascript once it's rendered, but there are two caveats. First, if the part of the rendered script that is to be indexed is rendered on the client side of the operation, then no indexing will take place at all, obviously. It pays to take great care of where specific parts of code is running. Making sure that the SEO parts of the code run server side (like a Firebase back end) can help Google find it.

However, there's a problem there as well. According to reports, Google will only index rendered Javascript as long as it is completely rendered within a certain time, which is believed to be between two and four seconds. This can be problematic for complicated Javascript operations, which is basically what Angular framework is.

Thankfully, there are other options. Instead of creating an entire site in Angular, this concern about SEO gives a valid reason to use the framework for a single page, like a homepage, instead, letting the SEO responsibility fall on other pages of the site.

Other SEO strategies could benefit an Angular site as well, such as using lots of link direction from blogs and other outside sites. For more information click here https://www.reddit.com/r/SEO/comments/8hf16o/angular/.