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.

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.
For more blogging tips, be sure to read the following posts: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
- 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...
- 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....
- 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....
| Tweet | Share | Save on Delicious | ![]() | ![]() |
Social Tagging: blog roll links > Blogging Tips > no follow attribute
Get Full Blogging and Make Money Online Tips Delivered Via E-mail Please check your inbox and spam folder for the confirmation email |











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
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.
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
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?
@Shane Phillips: Some people prefer adding is manually as it means less plug-ins and less CPU usage in a shared hosting environment.
It worked, just what I needed too
Microsoft Points hopes you will read…Death by Cube
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
Glad I could help through this post