Blogroll in WordPress displays a list of bloggerâ€™s favorite blogs in the sidebar of their blog. Blogroll provides links to external blogs in easily managed way. Some webmasters also use Blogroll to display backlinks to other external sites for link exchange or link buying. In reality, links added by WordPress blogroll is actually useless textlinks that are discouraged byÂ GoogleÂ and most other search engines, especially when the links are paid off or in exchange for a link back.
Thus, linking blindly to external sites MAY (if your blog or website has been caught and labeled by Google machine algorithm as participate in illegal link scheme to boost page rank, although youâ€™re not) severaly negatively discount your own site PageRank (PR) value, or worst, affects your site ranking in search engine results positioning. To avoid any potential backlash from the external links in Blogroll, itâ€™s best to add rel=â€nofollowâ€ attribute to the <a> tag in Blogroll as suggested byÂ GoogleÂ so that no PageRank value is passed through the links, and the links wonâ€™t penalize your site ranking.
To automatically add and attach rel=â€nofollowâ€ attribute to each and every outgoing links in Blogroll, we need to hack through WordPress core source code file. Go to wp-includes/ directory of your blog root folder, then edit theÂ bookmark-template.phpÂ file with any text editor such as vi.
Locate the following line (itâ€™s at line 48 for WordPress version 2.3.1):
$output .= '<a href="' . $the_link . '"' . $rel . $title . $target. '>';
Append the rel=â€nofollowâ€ to the line by changing the line to the following:
$output .= '<a href="' . $the_link . '"' . $rel . $title . $target. ' rel="nofollow">';
Save the file when done.
All Blogroll links in blog sidebar will now have rel=â€nofollowâ€ attribute tagged with the link, which force search engine spiders and crawlers to stop following the links. Adding the nofollow attribute may not change the fortune of your site immediately, but will surely reduce the risks of been penalized by search engines for excessive linking.