Google, AJAX, and HTML5 crawl

HTML5 allows us to update the current URL without updating the browser. I created a small framework on top of HTML5, which allows me to use this transparently, so I can execute all requests using AJAX, while preserving bookmark URLs without hashtags. So, for example, my navigation looks like this:

<ul>
   <li><a href="/home">Home</a></li>
   <li><a href="/news">News</a></li>
   <li>...</li>
</ul>

When a user clicks the News link, my infrastructure actually issues an AJAX GET (jQuery) request for the page and replaces the current content with the extracted content. After that, the current URL is updated using HTML5 pushState (). However, you can still simply enter http://www.example.com/news in your browser, in which case the content will be provided synchronously, of course.

The question now is, does Google crawl pages for this site? I know that Google provides guidance for crawling Ajax applications, but the article assumes that hash tags are used for bookmarking and I don’t want (want) to use hashtags.

+1
source share
1 answer

Since you have real hard links to pages and they download the same content, Google will crawl your site just fine.

+3
source

All Articles