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.



16 Responses to “Add NoFollow Relationship to WordPress Blogroll to Increase PageRank”

  1. wayne
    December 12th, 2007 02:32
    1

    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.

  2. Igor The Troll
    December 20th, 2007 11:15
    2

    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/

  3. Igor The Troll
    December 22nd, 2007 22:36
    3

    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

  4. SEO CheckList » How Does a Blogroll Harm Your Blog?
    December 26th, 2007 16:06
    4

    [...] 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 [...]

  5. Internet Ganhar Dinheiro
    January 10th, 2008 10:13
    5

    Boa Dica! Obrigado!

  6. How to add rel=”nofollow” to WordPress blogroll links
    January 23rd, 2008 15:49
    6

    [...] looked around and found this blog entry which led me to the correct template file but suggests [...]

  7. Add NoFollow Tag To Your BlogRoll Links | Internet Marketing Trip
    January 25th, 2008 22:30
    7

    [...] 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 [...]

  8. Curso de Ingles Londres
    February 16th, 2008 15:07
    8

    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.

  9. engamed
    February 19th, 2008 03:14
    9

    Takker og bukker:) flott tips!

  10. Garry Conn
    February 20th, 2008 07:33
    10

    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

  11. wordpress blogroll add nofollow
    March 5th, 2008 06:21
    11

    You can not get a proper plugin for this rather than hacking core files.

    wordpress blogroll add nofollow.

  12. JMOZ
    March 5th, 2008 06:23
    12

    I meant to say you can now

  13. Gregory Brine
    May 25th, 2008 11:30
    13

    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.

  14. John
    June 30th, 2008 14:55
    14

    Afortunadamente el pagerank es sólo unas de las cosas a tener en cuenta a la hora de proyectar un sitio web.

  15. NoFollow Links Page WordPress Plugin | Internet Marketing Idea
    July 31st, 2008 18:21
    15

    [...] Add Nofollow Relationship To Wordpress Blogroll To Increase Pagerank [...]

  16. Freeware Collection
    October 4th, 2008 22:46
    16

    It’s not a good idea to hack to the core of WordPress because it maybe causes “hidden” errors when your website runs, and you have to do it once when upgrading website.

    I recommend to use the the Nofollow Blogroll here: http://wordpress.org/extend/plugins/blogroll-nofollow/
    It does everything automatically for you without any change in core code of WP.

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting


Custom Search

New Articles

Incoming Search Terms for the Article

wordpress nofollow - wordpress nofollow blogroll - nofollow blogroll - nofollow blogroll wordpress plugin - add rel nofollow to links in wordpress - wordpress blogroll nofollow - add target to link wordpress - blogroll nofollow - adding rel nofollow on wordpress category - increasing your blogroll - wordpres blogroll nofollow - how to change blogroll to nofollow - wordpress wp-includes "no follow" blogroll - nofollow in wordpress - voegverhouding - wordpress plugin "no follow" OR "no-follow" OR nofollow sidebar - wordpress links nofollow - wp blogroll nofollow plugin - blogroll script wordpress - how to edit categories with nofollow in wordpress - wordpress blogroll - Adding nofollow in blogroll - add nofollow on pages in sidebar wordpress - how to no-follow blogroll wordpress - how add nofollow wordpress categories - pagerank blogroll - where i can update the no follow tag on my word press template - wordpress add target to links - wordpress link nofollow - wordpress nofollow on categories - wordpress nofollow on archives -