Javascript Nofollow Links Plugin for WordPress

This plugin is for bloggers who are concerned about the search engine optimization impact of allowing comment author links on their posts. While WordPress by default applies the nofollow attribute to such links, which was thought to preserve link juice for the original site, recently Google announced a change in the PageRank algorithm. The impact is that nofollow links now leak link juice.

Google says not to worry about this for blog comments, but it is not clear how exactly they compensate for this effect, or if their compensation method works perfectly for all blogs. One way to work around the change in nofollow behavior is to replace HTML anchor tags with a different HTML element and add the link functionality with Javascript. If search engines do not realize that the new element acts as a link, then the original behavior of nofollow will return.

This plugin replaces the standard anchor tag for comment author links with a bold tag and adds javascript behavior on the new tag to allow it to be clicked.

It also contains code for Thesis theme users to remove the redundant link on comment avatars.

There are no configuration options – just upload the plugin to your WordPress plugin directory and activate.

You may need to tweak your theme so that the new tags will appear visually like the original comment author names. Adding a bit of CSS like this should do the trick:

b.url
{
color: #YOUR_LINK_COLOR;
cursor: pointer;
}

b.url:hover
{
text-decoration: underline;
}

Download the Javascript Nofollow Links Plugin

If you have any comments about this plugin, please make them on the release announcement post. Thanks!