Hello,
I have a lot of votes on comments on popular articles (50+ votes for each comments, even for dumb comments). All comments on thoses nodes have these silly votes, even rather recent comments (less than 1 month). They comes undoubtly from robots, even I have "Disallow: /vote/" in robots.txt, and all vote links have "nofollow" direction.
How can we disable those links for robots? For heavily cached sites, robots = anonymous users. Thus, I think the best way could be enable vote for only JS-enabled users. Will there an option for it?
It's an bug, as currently most voted comments are all from robots.
Comment | File | Size | Author |
---|---|---|---|
#8 | 0001-981670-Add-documentation-for-robots.txt-and-custom-p.patch | 1.55 KB | marvil07 |
Comments
Comment #1
jcisio CreditAttribution: jcisio commentedAnother approach is a list of user_agent to be banned.
Comment #2
jcisio CreditAttribution: jcisio commentedOk, I fixed it myself with my own widget. I'll leave the module maintainers to decide on issue status.
Comment #3
jthomasbailey CreditAttribution: jthomasbailey commentedyou were allowing anonymous users to vote, right?
Comment #4
jcisio CreditAttribution: jcisio commentedOf course, but I do not consider bots as normal users.
Comment #5
marvil07 CreditAttribution: marvil07 commentedYep, user agent seems to be like the best solution for this, but IMHO this is also not really in the scope of the module.
BTW for user agent detection http://drupal.org/project/browscap sounds like the better module to integrate with(this can be fixed at the widget level setting variables['show_links'] to FALSE for the banned user agent's).
Comment #6
jcisio CreditAttribution: jcisio commentedFinally I decide not to rely on user agent, as I have boost installed and both anonymous users and bots hit the same page. I use JS to show links to prevent bots from seeing them.
Comment #7
marvil07 CreditAttribution: marvil07 commentedI will be adding some documentation about this, using robots.txt (another duplicate on #994586: Search engines vote if anonymous voting enabled?)
Comment #8
marvil07 CreditAttribution: marvil07 commentedAdding this patch to 3.x and 2.x.
Comment #9
Vako CreditAttribution: Vako commentedThis is a 5 year old issue, re-opening it.
I am having the same issue and have updated the robots.txt file and checked all possible suggestions.
Using the latest version which is from 2012 and am surprised that it's being used extensively yet nobody noticing the wrong votes??
It's a great module and I love it, but cannot justify 200 up and 50 down votes on a basic comment, in a short period of time ;)
I wish there will be a solution in the module itself.
Comment #11
marvil07 CreditAttribution: marvil07 as a volunteer commentedClosing D6 issues, please reopen as D7 if needed.