AngularJS single page application without hash fragments and web crawler bots

by alexanoid   Last Updated January 12, 2018 23:04 PM

I want to allow the website http://decisionwanted.com/decisions to be properly crawled by search engine bots. The UI of this website is implemented on AngularJS.

I think I have to use the following AJAX Crawling technic for this purpose https://developers.google.com/webmasters/ajax-crawling/docs/specification

Based on the mentioned documentation, I understand that must implement the following:

  1. I have to add <meta name="fragment" content="!"> to <head> tag of every page I'd like to be crawled
  2. URLs like http://decisionwanted.com/decisions will be transformed by search crawler to http://decisionwanted.com/decisions?_escaped_fragment_=

but how about the following URL: http://decisionwanted.com/decisions?sort=views

will it be transformed to http://decisionwanted.com/decisions?sort=views&_escaped_fragment_= or something else?

  1. In order to allow the website be properly crawled by SE bots, I have to intercept(for example on NGINX) all of the requests to my website to URLs that contain _escaped_fragment_ as part of the URL and return a rendered HTML as a response(for example by prerender.io functionality)?


Related Questions



Google crawler not seeing my nav

Updated December 19, 2017 17:04 PM

Single Page Application, Web Crawlers and SEO

Updated August 16, 2017 08:04 AM


What would be the best way to index react app?

Updated September 25, 2017 04:04 AM