Add NoFollow Relationship to WordPress Blogroll to Increase PageRank
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.
Share and contribute or get technical support and help at My Digital Life Forums.
Related Articles
- Check Out the Latest Update on Google PageRank Value
- Integrate WordPress including Comments with bbPress Forum using bbSync
- Free Download: WordPress 2.1 with Autosave and Tabbed Editor
- Download WordPress 2.3 Release Candidate 1 (RC1) with Tags Support
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page
- Download Previous or Old Version of WordPress
- How To Store Every Post Revisions on Each Auto-Save in WordPress with Limit on Versions Count
- Check Future Page Rank Across Google Servers
- Adding Extra More Fields to WordPress Write/Edit Post/Page Right Column
- WordPress 2.1.1 Critical Security Alert - Download Upgrade to 2.1.2

































December 12th, 2007 02:32
How could I implement this for links that are in my posts???
I know I could do it by hand, but I also have other writers that probably wouldn’t go to that trouble.
December 20th, 2007 11:15
I implemented the hack, but I find it really strange on WordPress part that under the BlogRoll Managment Tab there is a rel form field in the link edit mode, but it does not work.
Looks like it has been disabled intentionally by WP, to give them link juice, when the blog is first born…
Do you know how to enable this functunality, to be able to assign rel value in the BMT link edit mode?
Thanks,
http://www.igorthetroll.com/blog/
December 22nd, 2007 22:36
I found a hack how to do it properly so you can follow or nofollow each individual link in your blogroll.
Hack
WP Blogroll to nofollow or follow
Enjoy,
Igor
December 26th, 2007 16:06
[...] would add the “nofollow” in the list of rel attributes. You could also try this one by My Digital Life and see if it works for you [...]
January 10th, 2008 10:13
Boa Dica! Obrigado!
January 23rd, 2008 15:49
[...] looked around and found this blog entry which led me to the correct template file but suggests [...]
January 25th, 2008 22:30
[...] provided me with this nofollow relationship to wordpress blogroll solution from mydigitallife.info. You have to edit a file, nothing complicated, this will add the [...]
February 16th, 2008 15:07
Answer English es una página web que ofrece cursos de inglés en Inglaterra, otorgándole a los alumnos la oportunidad de aprender inglés en situaciones de la vida real.
February 19th, 2008 03:14
Takker og bukker:) flott tips!
February 20th, 2008 07:33
Awesome tips man… thanks so much. Ideally though, it would be better if in the WP-Plugin format so that you don’t have to go back and update every time you have to update to the latest version of WP
March 5th, 2008 06:21
You can not get a proper plugin for this rather than hacking core files.
wordpress blogroll add nofollow.
March 5th, 2008 06:23
I meant to say you can now…
May 25th, 2008 11:30
That’s a great suggestion and something everyone should do, but it’s also useful to have links to those sites within your content as then it’s related to the blog. But, I’m using the Blogroll Links plugin in my wordpress to still give me a page of links to these sites, and not harm my overall pagerank.
June 30th, 2008 14:55
Afortunadamente el pagerank es sólo unas de las cosas a tener en cuenta a la hora de proyectar un sitio web.
July 31st, 2008 18:21
[...] Add Nofollow Relationship To Wordpress Blogroll To Increase Pagerank [...]