Search code examples
jqueryajaxhashchangejquery-bbq

Is there any way to make jQuery BBQ Google Indexable?


I'm working on a AJAX powered web site and I decided to use Ben Alman's BBQ plugin for hashchange event.

But, with this plugin, I can't make Hashchanges for Google search (!#)

Is there any other plugin for it?

Thanks


Solution

  • There are two ways to make an ajax website SEO friendly.

    1. Graceful upgradation. This involves coding your website to work without any ajax, then merely using AJAX to gracefully upgrade the websites functionality. Example here
    2. The other way is to code your entire website in AJAX, and not care about SEO until it is too late. You can then use Google's HashBang proposal to implement a server-side hack to serve the static content for your website.

    You can read more about the comparison of these two solutions here: https://github.com/browserstate/history.js/wiki/Intelligent-State-Handling