How do i make an AJAX block crawlable?
Posted
by
Vikas Gulati
on Pro Webmasters
See other posts from Pro Webmasters
or by Vikas Gulati
Published on 2012-12-20T05:45:39Z
Indexed on
2012/12/20
11:13 UTC
Read the original article
Hit count: 580
AJAX
I have a block with a few tabs. When the user clicks the tab the content of that block get loaded.
Now I would like to make it crawlable by the search engines and at the same time I want to maintain the good user-experience.
I figured out a couple of alternative but each one has its own shortcomings. The approached that i could come up with.
Use hashbangs and then use this. But hashbangs are not good and things of past now. Secondly it will make my content crawlable by only googlebot as yahoo and bing dont support this.
Use GET PARAMETERIZED fallback incase when javascript doesn't work. This will work for all bots and also would be nice as it would work without javascript. But then this will create duplicates of my page as this block is only a very small section of my page and i have like around 5-6 tabs. So it means that many duplicates!
Doing this without AJAX is not an option as it would only increase the page load time as all these blocks have heavy media content in them!
© Pro Webmasters or respective owner