views:

71

answers:

1

So Google takes:

http://www.mysite.com/mypage/#!pageState

and converts it to:

http://www.mysite.com/mypage/?_escaped_fragment_=pageState

...So... Would be it fair game to redirect that with a 301 status to something like:

http://www.mysite.com/mypage/pagestate/

and then return an HTML snapshot?

My thought is if you have an existing html structure, and you just want to add ajax as a progressive enhancement, this would be a fair way to do it, if Google just skipped over _escaped_fragment_ and indexed the redirected URL. Then your ajax links are configured by javascript, and underneath them are the regular links that go to your regular site structure.

So then when a user comes in on a static url (ie http://www.mysite.com/mypage/pagestate/ ), the first link he clicks takes him to the ajax interface if he has javascript, then it's all ajax.

On a side note does anyone know if Yahoo/MSN onboard with this 'spec' (loosely used)? I can't seem to find anything that says for sure.

+1  A: 

If you redirect the "?_escaped_fragment_" URL it will likely result in the final URL being indexed (which might result in a suboptimal user experience, depending on how you have your site setup). There might be a reason to do it like that, but it's hard to say in general.

As far as I know, other search engines are not yet following the AJAX-crawling proposal.

John Mueller
Can't seem to get into my old account, but I marked this up anyway for you :)
Bob