Googlebot make your AJAX crawlable #! simply explained

http://code.google.com/web/ajaxcrawling/

But what?

Put simply, in your URLs, that are currently:

http://www.site.com/index.php#page90

First, make them:

http://www.site.com/index.php#!page90

Your Javascript will just see the ! (bang) as a character, it won’t care, and will continue to work just fine

Googlebot though, sees the ! and changes its query to:

http://www.site.com/index.php?_escaped_fragment_=page90

So your index simply needs to see $_GET[‘_escaped_fragment_’]

If it’s set, load page90 via PHP instead of AJAX, and there you have it,

now Google will link the content it found via:

http://www.site.com/index.php?_escaped_fragment_=page90

to the url:

http://www.site.com/index.php#!page90

Now alter/resubmit your Google Sitemap so that all your URLs are current (WITH the #!) and you’re set!

AWESOME!

Comments are closed.