Closed (duplicate)
Project:
Drupal core
Version:
6.x-dev
Component:
comment.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Feb 2006 at 18:21 UTC
Updated:
21 May 2011 at 09:15 UTC
Jump to comment: Most recent file
Comments
Comment #1
bradlis7 commentedHere's a patch I came up with. See what you think.
Comment #2
bradlis7 commentedComment #3
bradlis7 commentedAn alternative would be to have a default robots.txt, and disallow all path to comments.
Comment #4
Zen commentedComment #5
dopry commentedThis is an old issue. Here is a current patch. committable or won't fix?
Comment #6
RobRoy commentedI think this might be better suited in the default robots.txt, no?
Comment #7
catchcomment/reply now excluded in D6 robots.txt
Comment #8
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #9
JeremyL commentedIs it possible to add the nofollow with a an overide in the template.php file? The robots.txt solution does not stop the leakage / dilution of pagerank from the page. The ideal solution is both the robots.txt and the nofollow.
Comment #10
brianV commentedIt's possible - just override the appropriate theme functions.
This could be done in core, though. That would be a novice task - add a default 'rel="nofollow"' attribute to all 'add comment' and similar links.
Comment #11
alexanderpas commentedrel="nofollow"is not a viable solution, as it still doesn't prevent the search engine to index that page, it just tells the search engine it can't take this road, and will still happilly index the page if coming from another (possibly external) page.7.x-dev already has
/comment/reply/in robots.txt, marhing this as duplicate of #180379: Fix path matching in robots.txt