How to make wordpress URLS google friendly for ajax driven sites?

Our wordpress site utilizes the wordpress cms to serve up json data that we ingest via ajax requests and serve up with javascript. I would like to create URLs for my regular wordpress pages/posts that follow google’s recommended crawlable ?_escaped_fragment_= URL permalink structure:

For more information on crawlable ajax, read this article.

Read More

This article also goes into detail about making your ajax-driven site google friendly

So, while the javascript driven content’s link looks like this:

http:// examplesite.com/#!about

The regular post generated from wordpress should have a URL like this:

http:// samplesite.com/?_escaped_fragment_=about

I am wondering if there is any way to do this with all wordpress posts/pages through the wordpress system. One alternative, using a 302 redirect from the htaccess file back to the wordpress generated posts/pages, which I haven’t confirmed is acceptable by google can be found here

Still, since we are using wordpress as a CMS, it seems like it would be easy to use WordPress engine (or a plugin) to serve up these alternate URLs, especially since it is becoming the standard method of having your javascript driven site’s content indexable. I tried to modify the permalinks with this URL structure, but that was a no-go and did not work.

Any and all suggestions welcome!

Related posts

Leave a Reply

1 comment