Infolinks

How to add or customize Link Relationship (XFN) to have a “rel=nofollow” in WordPress 3.x

(Important Note: By doing this, I expected you have an internet connection and your own webhost or webserver on your localhost. I’m not held any responsible for misused of the said instructions.)

In order to have rel=”nofollow” in your WordPress Link Relationship (XFN) or Blogroll Links, you need to add/change a code on the WordPress php file.

1. Login to your webserver then locate the folder /wp-admin/includes of your WordPress folder.

2. Locate the file meta-boxes.php, download and edit the file via notepad/php editor.

3. You need to copy and paste the code below: (from below, there is a sample screenshot on where you’re going to paste it)

<tr>
<th scope=”row”> nofollow </th>
<td>
<label for=”nofolow”>
<input class=”valinp” type=”checkbox” name=”nofolow” value=”nofollow” id=”nofolow” <?php xfn_check(‘nofolow’, ‘nofollow’); ?> />
nofollow</label>
</td>
</tr>

How to add or change Link Relationship (XFN) to “nofollow” in WordPress 3.x

Alternatively, you can simply edit one of the values of the checkboxes like what I did here.
How to add or change Link Relationship (XFN) to “nofollow” in WordPress 3.x
(This is my sample screenshot on how I edit the value of the checkbox, sweetheart)

From here, is the output of the newly edited meta-boxes.php via Link Relationship (XFN):
How to add or change Link Relationship (XFN) to “nofollow” in WordPress 3.x

How to add or change Link Relationship (XFN) to “nofollow” in WordPress 3.x

How to check if the link is nofollow or dofollow? Click here

That’s it. Hopefully this helps you out 🙂

Related Links / Articles / Entries / References / Sources:
WordPress.org – Official Site
HOW TO CHECK IF THE LINK IS DOFOLLOW OR NOFOLLOW

Related Posts Plugin for WordPress, Blogger...
Share
7 thoughts on “Modify Link Relationship (XFN) to “nofollow” in WordPress 3.x”
  1. An interesting discussion is worth comment. I do believe that you should publish more about
    this subject, it may not be a taboo matter but generally people don’t discuss such issues.
    To the next! All the best!!

  2. I’m not that much of a internet reader to be honest but your blogs really
    nice, keep it up! I’ll go ahead and bookmark your site to
    come back in the future. Many thanks

  3. Good way of telling, and pleasant article to obtain facts on the topic of my presentation subject, which i am
    going to convey in academy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Infolinks