Assume you have a blog post at example.com/blogid/title and then you have 500 comments on that post.

Your blog page shows your post and 10 comments, and then you page comments using ajax. I was thinking about having a link on the blog page with something like "view all comments" and its url would like example.com/comments/blogid so that users with javascript turned off and googlebot and read all comments by visiting that page. but obviously, first 10 comments would be duplicated, and how does googlebot link the comments back to the original blog post?

Basically, how should I do ajax paging so that it's SEO (googlebot) friendly

3 Answers 3


That won't be an issue. Some of the content is duplicate but not enough of it is to be considered duplicate content. If it were enough then every ecommerce store that sold the same product and used the manufacturers description would be considered duplicate content and only the first to publish it would be in the SERPs. That would be insane.

If you want to display all of the comments for a page and have it associated to a post, have a link that displays all of the comments and the blog post as well. Use rel="canonical" on the version of the page you want to show in the SERPs.

  • That's a good point, but there is still some SEO benefit to writing your own product description instead of using the manufacturers. In any case, I'd like to see the W3C provide some kind of mechanism to semantically link comments and blog posts. Nov 19, 2010 at 13:07
  • Naturally. But not everyone does so for a variety of reasons and it certainly shouldn't be necessary just to be in the SERPs.
    – John Conde
    Nov 19, 2010 at 13:20

I don't think AJAX is the issue here. The AJAX part of it would simply not be visible to search engines. It's the non-AJAX comment link that is the issue.

I suspect if you have 500 comments, then it won't be an issue since there's relatively little duplicate content. However, if you only have 11-15 comments, then the majority of the comments page will be duplicate content, and that could be an issue.

I'm not sure there's a way around this aside from putting a canonical tag pointing to the original page. But this would mean that only the first 10 comments are indexed and searchable. I suppose you could select which 10 comments to display on the original page so that the best comments are indexed, but this still seems suboptimal.

So in terms of SEO there really isn't a good solution for this problem. Most blogs with paginated comments just live with the duplicate content. You could cluster the comments so that each comment page is at least 50% different from the other pages, but this would result in the number of comments on each page becoming unpredictable, which is poor for usability.


Alternatively, you could load all of the comments into the post and simply reveal the additional comments through an on-demand 'more' functionality.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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