The google guide Explaining AJAX Applications Crawling explains how to structure your URL with a hash and !
to ensure your site is crawlable. An excellent example of this is the revamped Twitter. For instance, if you enter the URL:
You will then be redirected to:
I have discovered that this redirection is carried out on the server side, as my attempts to do the same with JavaScript resulted in the page being reloaded whenever the URL was changed. I am now attempting to accomplish this server-side with Ruby on Rails, but have been unsuccessful so far.
Any advice?
UPDATE: I came across another post addressing a similar issue: How to Display Ajax Requests in URL?