Greg's High Performance SEO
[resolved] Noindex paged comments? (6 posts)

  1. Mia
    Posted 4 years ago #

    How can I place a meta robotx noindex tag on comment pages? I don't want my comment pages being indexed.
    I automatically places an index tag and can't find where to disable it.

    thanks in advance!


  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Links within comments are automatically set to 'noindex' if I remember correctly.

  3. Mia
    Posted 4 years ago #

    That's not what a meant, didn't say anything about links within comments. I'm talking about comments pages, ie. comment-page-2, comment-page-3, and so on.

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    They are part of the single post page, so you can't noindex them without applying it to all single posts.

  5. Mia
    Posted 4 years ago #

    Those are sub-pages, and the Ultimate SEO plugin was able to set a noindex tag in them. But I don't want to stop using Greg's plugin.
    I'm not sure if you are understanding what I need.

  6. gregmulhauser
    Plugin Author

    Posted 4 years ago #

    Hi mimiburned,

    GHPSEO doesn't support adding noindex to comment pages (good idea, though -- will mark it down for possible inclusion in future release). However, for search engines that understand wildcards, such as Google, it's easy enough via robots.txt:

    Disallow: /*/comment-page

    That says to the bot: disregard anything that includes 'comment-page' within it, provided there's at least one directory above it.

    All the best,

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Greg's High Performance SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic