WordPress &”rel=nofollow”
In the previous post, I speculated about the market for offshoring comment spam.
Jack asked:
Maybe I’m missing something, but it isn’t it a bit odd for ‘Carter’ to include a rel=”nofollow” in the link they left, thereby making Google ignore the link?
Good question. I wasn’t aware of the rel=nofollow and did a bit of research. Little did I realize that I was wandering square into a bit of controversy….
As it turns out, wordpress automatically adds rel=”nofollow” (or some variant) to all of the URLs that appear in any comment. The goal is to make wordpress based weblogs completely unattractive to link whores.
As it turns out, this particular decision caused a hell of a lot of controversy. In particular, it assumes that every single comment on a wordpress weblog should be treated as spam in, at least, that any posted links should not be considered by the various search engines.
Now, considering that I have had exactly 2 pieces of comment spam out of 230 comments on my relatively low traffic’d weblog, the ratio of signal to noise in the comments on my weblog is really high. If anyone comments on my weblog, I would like them to get “link karma” for said comment.
Actually, I don’t really care about that. What I really care about is the theme of this weblog: …so google can organize my head.. There has been a number of times where I have commented on other’s weblogs or someone has commented on mine where that comment has sparked a flurry of very useful activity — much more useful than the original post on either weblog. The end result is that Google crawls these links, tallies the additional link activity that invariably ensues, and the most useful comment or response-post bubbles up in the search results. In other words, ensuring that Google can crawl the links in my weblog’s comments ensures that google is maximally organizing my head! Goodness knows, I could use all the help I can get…
So, Wordpress chose to add nofollow to every link in the comments with no option to disable this feature. This created a hell of a lot of controversy.
Fortunately, wordpress is quite modular and supports plugins. I grabbed this nofollow plugin and now any URLs that appear in comments will no longer have the nofollow spam preventative.
Since Wordpress automatically emails me every time a comment is posted and that email includes a “click here to delete” link, I generally catch spam within hours anyway. If spam becomes a problem, I can move to this slightly less efficient plugin that will add nofollow to all comments until they are more than a few days old, giving the moderator a chance to delete the comments before Google indexes.
I can pursue more drastic measures if it comes to that.
Jeez. Spam sucks. Someone should collect the names/addresses of known spammers and ensure that they are signed up for every mailing list and marketing scam known.


August 18th, 2005 at 1:30 am
Over at PZ Myers’ excellent biology weblog, pharyngula.org, he’s got an anti-bot measure that shows you an image and makes you enter the word you see in the image. I’ve seen that in a few other places, too. That wouldn’t defeat human beings, but if it takes a human to comment-spam your pages, that must be ever so slightly more expensive than having a bot do it.
-jcr
August 18th, 2005 at 10:44 am
You’re describing a CAPTCHA:
http://en.wikipedia.org/wiki/CAPTCHA
Their main problem is that they’re hostile to screen-readers. They also won’t stop professional spammers — there are some possibly-apocryphal (though plausible) stories about recycling captchas to sites that exchange their solutions for porn:
http://www.boingboing.net/2004/01/27/solving_and_creating.html
I think nofollow is a perfectly good solution, but only if it’s adopted with a high degree of uniformity. Google’s effectiveness is not going to take a hit if it’s deprived of all the wonderful links in blog comments — otherwise, Google wouldn’t have invented and evangelized nofollow:
http://googleblog.blogspot.com/2005/01/preventing-comment-spam.html
August 18th, 2005 at 11:14 am
Also, a Captcha is completely ineffective if a human is interjected into the automated comment spamming process. This appears to be exactly what is happening.
August 19th, 2005 at 3:02 pm
bbum, you might want to check out the Spam Karma 2 plugin. It’s done an amazing job of blocking spam on my blog, without negatively impacting anyone else. I absolutely swear by it.
http://unknowngenius.com/blog/wordpress/spam-karma
December 17th, 2005 at 2:08 pm
In DotTex blogs there’s a nice bayesian filter, it works quite well, does the same thing exist for Wordpress ?
October 21st, 2006 at 8:13 am
I beilieve having nofollow added to all comment links will just put even the real non-spam posters off wanting to post on a blog. So really, many blog owners can’t afford to do it incase they loose commenters.
October 21st, 2006 at 11:52 am
I completely agree. I have the nofollow plugin installed and activated, yet nofollow is still being generated.
It is unfortunate that PHP sucks so much. Editing PHP code is torture.