SEO in a backbone application so that google can index home, after phantomjs

backbone.js, javascript, phantomjs, seo

Solution

The answer to this question was to use the fragment meta tag

<meta name="fragment" content="!">

This will force all pages including the home page to be requested with escaped fragments

Problem

I have Backbone website. I've used phantomjs so that search engines can look up though the js links (#!/something), following the _escaped_fragment_spec. I've checked using google webtools, to see how google will look my site, and mostly everything seems correct. However, the main page (ex: www.example.com; the one with no #! in the link), google does not send the _escaped_fragment_spec, so the page is not sent to phantomjs, and js are not applied, therefore google is looking to a nearly empty page. Does anyone knows how to indicate this, or solve the problem? Thanks Edit: According to google (https://developers.google.com/webmasters/ajax-crawling/docs/getting-started) You should add to head, however I've added it, and webtools - see as google, does not seam to be procesing the main page as javascript. Any help? The site with problems is http://www.boletus-app.com/ Thanks

Original source