Dashboard > blojsom > ... > Available Plugins > NoFollow Plugin
  blojsom Log In   View a printable version of the current page.  
  NoFollow Plugin
Added by David Czarnecki, last edited by David Czarnecki on Feb 09, 2005  (view change)
Labels: 
(None)

Description

The NoFollow plugin adds support for searching through hyperlinks in comments and trackbacks and adding rel="nofollow" for hyperlinks without this attribute. This removes any search engine ranking that comment/trackback spammers might hope to get from leaving comment/trackback spam on your blog.

Further description of this attribute can be found on this Google Blog post, Preventing comment spam.

Availability

This plugin is available as of blojsom 2.23.

Installation and Setup

In your global /WEB-INF/plugin.properties file, add the following line:

nofollow=org.blojsom.plugin.nofollow.NoFollowPlugin

You may then add "nofollow" to one of the flavor-based plugin chains. These plugin chains can be found in the individual blog's plugin.properties file. For example:

html.blojsom-plugin-chain=..., nofollow

Usage and URL Parameters

The plugin works by searching over the text in the comments and trackbacks searching for hyperlinks. If a hyperlink is found without the rel="nofollow" attribute is added. If a hyperlink is found with the rel attribute but not nofollow, nofollow is added to the rel attribute.

Site running on a free Atlassian Confluence Open Source Project License granted to blojsom. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators