How To Make Money Online In Nigeria

Dofollow Blogging, Wordpress & MMO Tips Blog

SPONSORED ADS
2CheckOut Payment ProcessorNetfirms DomainsHostgator HostingIncome Blogging GuideWeb Hosting For NigeriansHostportfolio Hosting

How To Add NoFollow Attribute To Blog Roll Links

Posted by Udegbunam Chukwudi Under Blogging Tips On August 5, 2009 9 COMMENTS

This tutorial is going to be straight forward. It’s designed for wordpress bloggers who want to display their blog roll links but don’t want to pass any Page Rank (PR) juice to the links

Simply open wp-admin/edit-link-form.php and look for the code below:                  

<td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(‘friendship’) ?> </span></legend>

Immediately after the above code, copy and paste the code below

<label for=”nofollow”> 
<input class="valinp" type="radio" name="friendship" value="nofollow" id="nofollow" <?php xfn_check(‘friendship’, ‘nofollow’, ‘radio’); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e(‘nofollow’) ?>
</label>

Save the file and log into your dashboard. Click on Links and select a link you want to add the nofollow attribute to.

In the editing page, scroll down to Link Relationship (XFN) section and under friendship select the nofollow radio button.

2009-07-13_215024

Scroll back up and update the link. Navigate to your site and check if that link has been nofollowed. You can get a Firefox nofollow add on from Zachary Fox.

P.S: The above tutorial was done with Wordpress Version 2.8.1 in mind. I’m not so sure if it will vary with past wordpress versions.

Also make sure to back up the edit-link-form.php file before editing it should in case anything goes wrong.

This is a modified & updated version of Pinoy Console’s How To Add “Nofollow” Attribute In Your Blogroll

Feel free to let me know how this worked out for you.

Update: I just stumbled on this plug-in that automatically adds nofollow to ALL your blogroll links. Unlike the file hack above, you can’t choose which links to follow and which not to.

Here’s the download page: Nofollow Blogroll Links.

Enjoy

For more blogging tips, be sure to read the following posts:
  1. How To Add Nofollow To Wordpress Tags and Tag Cloud Wordpress tag links and tag clouds. To use or not to use. The debate continues. Most SEO guys are of the opinion that the probability of being penalized by Google increases when wordpress tag clouds are added to a blog/site. Here’s what Google’s Matt Cutts has to say about the...
  2. How To Add A Favicon To Your Blog & Website As you become conversant with browsing the world wide web, you’ll notice that most websites have some form of image or icon that represents them. These images are often seen in the navigation bar or tab as shown in the image below in 1 & 2....
  3. Get Ur Wordpress Blog Indexed by Google In 3 Days Follow my guide and you'll be indexed as soon as possible 3 days max as it was in my case....

Share Save on Delicious PrintEmail This Post

Social Tagging: blog roll links > Blogging Tips > no follow attribute

Get Full Blogging and Make Money Online Tips Delivered Via E-mail

RSS Subscription

Please check your inbox and spam folder for the confirmation email

9 Responses to “How To Add NoFollow Attribute To Blog Roll Links”

  1. Leif from Micfo says:

    I follow your blog for quite a long time and should tell that your articles always prove to be of a high value and quality for readers.onpage optimization is a important part of bloggers so we should always look for the things which are highly helpful for us.

    Best Regards,
    Leif

  2. Philip Thomas from Pip Rebates says:

    Thank you very much sir, this worked a charm. I was looking for an option to nofollow some of my BR links in 2.8+ and this hack was a rare treat. You may want to say that the code snippet your looking for is around the 200-210 mark (obviously differs), but either way great work!
    Not sure why they don’t make this as standard in the new WP versions tbh.

  3. Rohit Sane from Tech-Freak Stuff says:

    Most of the People share Blog Roll links for getting an Advantage in SEO! What is the use if you make the Attributes of link in the Blog Roll as No-Follow?

    • @Rohit Sane: As I’ve tried to transmit to most bloggers, Google now frowns on sitewide dofollow links. You wouldn’t be helping your site by going dofollow on blog roll links neither will the folks you’re linking to benefit either.
      I just discovered another plug-in that could make it worth your time and that of your visitors. It’s dofollow only on the home page and nofollow on other pages.
      Check it out here Nofollow Blogroll SEO

  4. Adding a nofollow attribute to the links is pretty easy but the one who is not good with tagging will try to use some plugin for the blog or website. Is it good to use some plugin or we should add that manyally for good results?

  5. Jared from Microsoft Points says:

    It worked, just what I needed too :)
    Microsoft Points hopes you will read…Death by Cube

  6. Thanks for this tips, i was looking for that. specially i think it’s very important for my seo factor.
    Rakesh Solanki hopes you will read…Fixup Nofollow Issue After Wordpress Installation

Leave a Reply

PLEASE PLEASE PLEASE! I highly recommend you go through my revised comment policy before commenting.

All transactions with commenters on this blog are @ your own risk. StrictlyOnlineBiz will not be held responsible for any transaction gone wrong.

CommentLuv Enabled

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution. If you're not cool with this, please DO NOT submit your comment. Thank you!

Also note that comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

SUBSCRIBE TO FULL BLOG UPDATES

RSS Feed


Follow Me On Twitter
Site Navigation