Indexing AJAX Sites

Yandex’s robot can index AJAX sites if the sites’ structure follows certain rules.

Every indexable AJAX page should have an HTML version. To let the robot know that an HTML version exists, include an exclamation mark in the page's URL:   >!blog

After encountering the "#!" combination in the page's link, the robot will ask for the HTML version.

  1. The HTML version of every AJAX page is available at the address in which the "#!" combination is replaced by the parameter "?_escaped_fragment_=". For the example given above, the HTML version of the page is located at the address

    The robot replaces the "#!" combination in all the links it finds with the parameter "?_escaped_fragment_=" and contacts the altered address (you can also use links containing "#!" in the sitemap).

  2. The main page’s HTML version is available at the address with the parameter "?_escaped_fragment_=" added to it. For example: Note: the value of the parameter should be empty.

    Include the mega tag <meta name="fragment" content="!"> in the page’s code in order to alert the robot of the main page’s HTML version.

    You can use this meta tag on any AJAX page. For example, if the page located at contains the meta tag <meta name="fragment" content="!">, the robot will index the page’s HTML version at the address .


    You should not place the meta tag in the HTML version of the document. If you do so, the page will not be indexed.

The link in search results will direct users to the AJAX version of the page.