문제

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 home 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()

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top