Hashbang and escaped fragment
So ive been investigating the whole SEO AJAX malarkey, and set up a test page here: My Site
I used a sample code from GitHub, The hashbang #!
works fine as you can see, but try accessing any of the pages replacing the hashbang with ?_escaped_fragment_
as Google would interpret it. The pages don't load, to a certain extent. The hom开发者_StackOverflow社区e page loads.
I'm guessing this one of 2 things, maybe both:
- There is no HTML snapshot
- The Code is wrong..
Or I'm not getting this..
The code i used is here: https://github.com/bartaz/jquery-address/tree/master/samples/crawling
Any help?
It would be worth looking at what headers the page actually receives when you try visiting it using ?_escaped_fragment_
Try echoing out $_REQUEST
using var_export()
or print_r()
精彩评论