Industry guru Dave Taylor answers free tech support questions about a wide variety of business and technical topics, including blogging, Google AdSense, MySpace, Sony PSP, Apple iPod, Mp3 players, management, Linux, SEO, Mac OS X, Facebook, Twitter, LinkedIn and Microsoft Windows.

Google, Yahoo and MSN support "nofollow"? What's that?

Dave, I was reading this evening that there's a new HTML attribute in town called "nofollow" and that it's supposed to prevent weblog spam somehow? Can you explain what it's about and how it can possibly help prevent spam appearing in Weblogs?


Dave's Answer:

Three cheers for Google, Yahoo, and MSN (and the smart chaps at Six Apart too) for solving one of the most annoying elements of running a Weblog or discussion board nowadays: random or rude comments or trackbacks that are intended purely to sneakily add links to their sites on your own.

I've written about blogspam before, actually, if you want more background (and examples), including What are Weblog Trackbacks?, What does this Blogspam comment mean? and How can I delete blog comment spam easily? Comment spam is a challenge for all of us in the blogosphere.

In a nutshell, the problem is that if you enable the links in comments added by others to your site, or even just link their name to their site, you're inviting unscrupulous spammers to add posts purely to gain a link.

To see how simple the solution is, let's peek at some HTML. A hypertext link in HTML looks like this:

<a href="some URL">text that's linked</a>

The change that the three big search engines announced today is the support for a new attribute called rel with a specific value of nofollow. The previous link would be blindly followed by a search engine crawler (for example, Googlebot), and the linked site would gain some PageRank from the source site. With this new attribute, however, links are not followed by the spiders and PageRank is not transmitted. Here's how that link would look in this brave new world:

<a href="some URL" rel="nofollow">text that's linked</a>

Six Apart, the company that makes Movable Type, has announced that they've already updated TypePad, and that LiveJournal is going to implement it for comments from people who aren't friends. Other Weblog and related systems that have announced support include Blogger, WordPress, Flickr, Buzznet, Scripting News, blojsom and Blosxom.

For Movable Type users, there's a new nofollow plugin that you'll need to download and install. Fortunately, it's only 4K total (a tiny Perl script, actually) and it's worth doing right now, while you're thinking about it.

For the really geeky, the new plugin changes the behavior of links in the tags <MTPings>, <$MTCommentAuthorLink$>, and <$MTCommentBody$> and, far cooler, also lets you enable the automatic tagging of "nofollow" to any URLs encountered in any other MT tag by adding the attribute nofollowfy="1". Are you tired of the links in your articles themselves giving other sites PageRank? Then you could use <$MTEntryBody nofollowfy="1"$> and it'll never happen again (though I don't know why you'd do this, honestly!)

I've installed the plugin on this Weblog, so if you're so inclined, pop over to one of my articles where there are comments and use "View Source" in your browser to confirm that I now do indeed have the snazzy new rel="nofollow" attribute in comment links off my site.

And, finally, is it going to work? I dunno. There are some definite problems with this strategy, not the least of which is that it means that if my friends and colleagues pop by and post an erudite comment - or write their own article that trackbacks to mine - I would like to give them some of my PageRank goodness, but now I can't. You're all thrown into the 'spammer scum' box, like it or not. Also, having it as an add-on is like Microsoft solving security problems with a system patch: it only works if every single person installs it and in this case, I'm sure that even three months from now there'll be a statistically significant percentage of MT, WordPress and other self-hosted Weblogs that will not support "nofollow", and as we've learned in the last few years, spammers are happy to send out a million messages for a handful of positive responses.

Nonetheless it's clear that something has to be done about blogspam, and I applaud the search engines and weblog teams for working together to at least make some progress in this direction, however suboptimal it may be.



Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Simpy.

Subscribe!

Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.

Comments

Blogger users can take a look at the source code
here to implement the nofollow tag in their comment templates.

http://labnol.blogspot.com/2005/01/this-blog-supports-relnofollow.html

The I.B.

Posted by: amit agarwal at January 26, 2005 5:59 AM

Dave! by implementing nofollow, it means people that linked to your nice blog will no longer give you PR.
don't be surprised when an amazon spam site overtakes you. You think spammers will lose out? yeah right! The truth is you also lose.Who gains? MS, Ebay, Amazon and all "legal" spammers

Posted by: FakeDave at July 5, 2005 9:42 PM

Well, FakeDave, if that's how nofollow worked, you might be correct, but nofollow doesn't penalize sites pointing to me, nor does it penalize me for having sites point to me. You're on the wrong end of the equation: it ensures that when people come to my weblog and add comments for the sole reason of getting a link from my blog to their site, the link doesn't give them any PageRank benefit with Google, MSN, etc.

Further, I gotta say that I don't see how Microsoft, eBay, et. al. gain by the nofollow attribute. Can you clarify your thinking here?

Posted by: Dave Taylor at July 6, 2005 4:08 AM

Does my pagerank actually go down based on or influenced in any way by my number of outgoing links or is my pagerank solely based on the number and quality of incoming links?

Posted by: Nicholas Cardot at December 24, 2006 4:24 AM

I am new to the world of blogging, and just started reading about this "nofollow" stuff today. I think I know what it is about.. please let me know if I'm right on track:

It prevents the spammers from getting a higher rank in Google, but on the other hand, it doesn't stop people from clicking on the spammer's links. The spammers want you to click their links after all.

Posted by: Paul Krenz at March 9, 2008 10:10 AM

I have a lot to say, but ...
Starbucks coffee cup I have a lot to say, and questions of my own for that matter, but most of all I'd like to say thank you for all your efforts on this Web site by buying you a chai!

I do have a comment, now that you mention it!









Remember personal info?


Please note that I will never send you any unsolicited commercial email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.









Uniblue: Free Virus Scan

Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.


Help!





Subscribe to
Ask Dave Taylor!

Add to Google Reader
Add to My Yahoo!
Subscribe in NewsGator Online

RDF   XML

Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.


Recent Entries
Join the List!
Join my author info mailing list, where you'll learn about my upcoming books, speaking gigs, and more!


Book Links
© 2002 - 2008 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]