Adding rel=”nofollow” to your blogroll links in Wordpress

Written on April 6, 2009 – 4:02 pm | by Ump |

How to simplify nofollow links in Wordpress

Annoyed that you cannot add rel=”nofollow” to your Wordpress blogroll links? Are you leaking link juice like crazy and want to do something about it? This fix will add a “nofollow” checkbox under the “Advanced Options > Link Relationship (XFN)” section when adding a link.

This fix was applied in Wordpress version 2.7x, however I do not currently have a fix for older versions. I’ll post new ones if there are any changes. To start, look for the edit-link-form.php file in your Wordpress wp-admin folder:

At around line 254 look for this:

–Code Removed–

and right after paste this:

–Code Removed–

Update the file and you’re done!
Your “add link” page should now look like the image below.

UPDATE: After a little digging i found this Wordpress Plugin that does the trick. No need to edit core files unless we REALLY have to.

Enjoy!
Ump

nofollow in wordpress blogroll

  1. 2 Responses to “Adding rel=”nofollow” to your blogroll links in Wordpress”

  2. By Chuck Reynolds on Apr 6, 2009 | Reply

    I think it’s bad practice to be editing core Wordpress files. Although I think it could make a great little plugin module for the admin panel and distributed that way. :)

    Also why would you not want to provide link juice for the people you’re linking to?

  3. By Ump on Apr 6, 2009 | Reply

    In a pinch, i’ll do what it takes to make things work. However, i appreciate the inspiration to go digging for a plugin. If i had the time, i’d build one myself.

    As for giving out link juice? I tend to get stingy when PR starts dropping. ;)

Post a Comment

What is Bump Interactive?

Bump Interactive is an internet marketing firm based out of Northeastern Oklahoma and comprised of a diverse collection of web developers, writers, graphic designers, and social media veterans who also thrive in the world of music.

What do we do?

We design, publish and promote industry-leading entertainment websites centered around live music. We also consult and speak at public events about our journey from web lackey to independent success.

Who's on board?

While our team can grow or shrink based on the demands of the industry, there are two core leaders that never change.

Meet "WhiskeyChick".

Meet "Ump".

Best SEO Content

Want to subscribe?

 Subscribe in a reader Or, subscribe via email:
Enter your email address:  
Find entries :