Remove the Nofollow from links in wordpress

Sponsors

There are many SEO wordpress plugin which insert the nofollow attribute in link. If you want to remove the nofollow attribute in link then just use the following code.

Open your functions.php file from your wordpress theme folder and put following code in that file.


function remove_nofollow($string) {
$string = str_ireplace(' rel="nofollow"', '', $string);
return $string;
}
add_filter('the_content', 'remove_nofollow');

Incoming search terms:

You may like following Articles!

6 thoughts on “Remove the Nofollow from links in wordpress

  1. Pingback: Tweets that mention Remove the Nofollow from links in wordpress | Wordpress API -- Topsy.com

  2. What’s Going down i’m new to this, I stumbled upon this I have discovered It positively useful and it has helped me out loads. I hope to contribute & aid different customers like its helped me. Good job.

  3. Simply desire to say your article is as astounding. The clarity in your post is just nice and i could assume you are an expert on this subject. Well with your permission allow me to grab your RSS feed to keep updated with forthcoming post. Thanks a million and please keep up the rewarding work.

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>