Aleks Maksiuta Aleks Maksiuta - 1 month ago 30
Javascript Question

Angular 2 on Apache | search engines crawler

I've wrote simple Angular 2 app as a simple site. I've published it on hosting provider's Apache server. Is there any possibility my site to be crawled by search engines? I googled that site needs to be rendered by server side, I have find nothing more about this topic.

Answer

The GoogleBot can crawl your website just fine, since it also executes javascript running on that site.

In the case of Angular2 it is clear that the GoogleBot's JavaScript capabilities are good enough to render the rather sophisticated front end framework. The demo application rendering shows that GoogleBot does render everything ok - even without Universal Rendering.


Using the Google Webmaster tools you can get the GoogleBot to visit your page and render your site.