I remember there used to be an option on WordPress to block comments from search engine indexing. I can't find it anywhere, though.

Does anyone have suggestions or alternatives? Thanks.

2 Answers 2


To my knowledge, there is no easy way to achieve what you want. What I think you would need to do is two parts:

  1. Detect page views by search engine spiders
  2. In your page templates, only include include the comments when the viewer is not a search engine spider. Should be straightforward, but not trivial.

Good luck!


Normally comments are part of the page (for content they belong to) and I don't think there are any conventions to block certain part of page from indexing.

At best you would need to separate comments to reside at separate URL from content and block indexing of such URLs via normal means (like robots.txt or meta tags).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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