The nofollow Link Attribute

A discussion of REP would not be complete without the inclusion of the nofollow link attribute. This attribute was introduced to discourage comment spammers from adding their links. The basic idea is that links marked with the nofollow attribute will not pass any link juice to the spammer sites. The format of these links is as follows:

<a href="http://www.spamsite.com/" rel="nofollow">some nonesensical
text</a>

In this case, the hypothetical website http://www.spamsite.com would not receive any link juice from the referring page. Spammers will continue to attack sites. In most cases they are easily detected. Here are some example posts:

Please visit my great <a href="http://www.spamsite.com/"
rel="nofollow">Viagra Site</a> for great discounts.

<a href="http://www.spamsite2.com/" rel="nofollow">Free Porn Site</a>

<a href="http://www.spamsite3.com/" rel="nofollow">I was reading
through your site and I must say it is great! Good Job.</a>

We discuss nofollow link attributes in several other parts of this book.

Get SEO Warrior now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.