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)
<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>
Alternatively, you can simply edit one of the values of the checkboxes like what I did here.
(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 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
hi thanks for the guide it helps me to customize the nofollow link on xfn.
good job nice tutorial i make changes in the nofollow link.
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!!
Remarkable! Its genuinely remarkable post, I have got much clear idea on the topic of from this article.
I am sure this post has touched all the internet viewers, its really really good post on building up new webpage.
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
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.