开发者

Hashbang and escaped fragment

开发者 https://www.devze.com 2023-03-12 15:18 出处:网络
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 p

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:

  1. There is no HTML snapshot
  2. 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()

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号