Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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!

share|improve this question
Do it without ajax and then add ajax to it. progressive enhancement. win, win. – John Conde Dec 20 '12 at 5:46
well then it will create duplicates of my page which is again lose lose in terms of SEO! – Vikas Gulati Dec 20 '12 at 5:47
Not if the search engines don't process the javascript, which they won't do. – John Conde Dec 20 '12 at 5:48
I think you are not clear with my question. what I mean to say is if use different pages to show my tab content to the search engines the rest of the content of the page gets duplicated which is not good for SEO. I hope you got my point now! – Vikas Gulati Dec 20 '12 at 5:53
If you are loading that content via ajax, is that content available on a separate request URL? If so, you can get that indexed. – Prasad Mar 21 '13 at 13:16

Google already tells you how to handle this.

share|improve this answer
I have already included that as part of my problem. Please read the question properly before posting an answer! – Vikas Gulati Dec 21 '13 at 20:44
@VikasGulati Next time, use descriptive links and not just the word "this". While you may complain that the information only works with Google, they are the only search engine that will crawl your ajax enabled site, so your complaint is really with the other search engines and I don't think there is any other way around the problem. – Rob Dec 21 '13 at 22:42

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.