Html5 history api and google crawler?

per Google crawl, AJAX and HTML5 , Google can crawl dynamic pages using api history, but it says that Google will not execute javascript on the page. For me, this means that the ajax request and dom building will not be made, so Google will not be able to index the contents of the loaded page. Can anyone modify it?

+5
source share
2 answers

As the answer says, you need to provide hard links for bots.

Just treat it like a user without JavaScript. You must support users without JavaScript. Feel free to use the tag <noscript>.

+2
source

So the link on the page is a guide to Google on how to make your ajax site crawl Google. Following the indicated pattern, you can do it.

www.example.com/ajax.html#!key=value

This way you can crawl google crawlers that your site is ajax crawlable and they will do the rest.

+1
source

All Articles