How to Make Blogroll Links NoFollow

QUICK ANSWER: Disable Javascript and add “nofollow” to the Link Relationship (XFN) field.

nofollow in wordpress blogroll

EXPLANATION:
In researching how to make a WordPress Blog Roll contain the rel=”nofollow” tag, I found several solutions. Examples included WordPress plug-ins and some quick php file hacks. Those methods worked, but I discovered a quick solution that does not require any plug-ins or any file edits. Simply log in to the admin dashboard and navigate to the “edit links” section. Locate a link which requires the nofollow tag and click edit. Notice if you attempt to type “nofollow” in the rel blank in the Link Relationship section, it is automatically altered. To avoid this, simply disable your Javascript.

The great thing about this trick is that it works for both the downloadable version of WordPress found at wordpress.org AND the hosted version at wordpress.com.

How To Disable Javascript in Internet Explorer:
Javascript can be disabled in IE by going to Tools > Internet Options and on the Security tab, click Custom level… Scroll down to Active Scripting and click Disable and then OK and save the settings.

Disable Javascript in Internet Explorer

How To Disable Javascript in FireFox:
Go to Tools > Options and select the Content tab. Un-select the checkbox next to Enable JavaScript and click OK. FireFox has a web developer Add-on that is useful for toggling Javascript on and off, as well as other cool development features.

Disable Javascript in FireFox

Once you’ve disabled Javascript, enter “nofollow” into the rel blank and save the change to your link. Make any edits to the other links in the blogroll that require the nofollow attribute.

nofollow in wordpress blogroll

Double check to make sure the nofollow tag was added by refreshing a blog page and viewing the source. When you have finished, remember to enable Javascript.

 

Comments: 4

Leave a reply »

 
  • Matt

    Wow Really thanks. I have enough plugins and hack my site up enough as it is. This is just too easy. But really why wouldn’t they just allow your own rel tags in the first place?

     
     
     
  • Chris

    This is great! Thanks for sharing this info!

     
     
     
  • You saved my life, what a great fix!!!! I was really dreading getting another plugin!

    THANKS SO MUCH!!!!!!!!!

     
     
     
  • Ehsan

    This is too good to be true.

    Just after reading your post, within only 2-3 minutes i just made the links of blogroll “nofollow” :-)

    Before that, today i have wasted so much time for looking WP hacks and Plugins to make the links of Blogroll “nofollow”.

    This is a such an easy method!

    You are the boss :-)

    Thanks.

     
     
     
  • Leave a Reply
     
    Your gravatar
    Your Name