Mobile app version of vmapp.org
Login or Join
Caterina187

: How do I make an AJAX block crawlable? 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

@Caterina187

Posted in: #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!

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Caterina187

2 Comments

Sorted by latest first Latest Oldest Best

 

@Connie744

Google already tells you how to handle this.

10% popularity Vote Up Vote Down


 

@Jamie184

You don't need to make anything, some search engine (like Google) now starts to crawl AJAX content.

Or otherwise, you have to do it the traditional way by assuming search engines don't runs Javascript. What they can see is just the static HTML codes.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme