WordPress added nofollow attributes on comment text url, this is bad for some commeter that needed some backlinks, if you want remove nofollow attributes from comment text in your WordPress site is easely, all need to do just added some code on functions.php on your theme and added some wordpress hooks using add_filter functions and your external url on comment text will be gone.
Write down to remove noffolow attributes on comment text below
function remove_nofollow($string) {
$string = str_ireplace(' rel="nofollow"', '', $string);
return $string;
}
add_filter('comment_text', 'remove_nofollow');
And done, now you can check on your comment area with url and the nofollow attributes is gone
thanks for DigWP for share this code



Pingback: Tutorial Remove all nofollow attributes from comments # WordPress Tricks & Tips
These sure are helpful tips that will keep our life rolling in a positive direction.
I haven’t removed the nofollow because I want other website owners to comment and stay an active part of the community. Yes, they may read only for the link, but if they put crap comments I delete them anyway. If they comment something that has value, I leave it, and I think they will probably come back and learn something (maybe even make a purchase eventually).
This post was mentioned on Twitter by Dan James and Kind Canine, WordPress Tricks. WordPress Tricks said: RT @WPTricksNet
Tricks Tweak Twitter Users Widget WordPress 3.0
WordPress comment box then there is no fun in commenting for readers as well as writers.
My close friend and I had been arguing about a problem related to this! Now I know that I appeared to be correct. Many thanks for the information you published.
I have tried to do this many times and cannot get it to function can someone help me?????
“dofollow” motivates ohter website owners to contribute some content to your website. It’s a great way to increase the number of keywords in a post. If the comments are relevant i approve them.
How to know the website dofollow or not?
thamks your code for my wordpress to remove nofollow atrributes from comment text.but it seems hard for me,because i don’t know much about javascript and html.
Thanks for this advice, i was already wondering how to implement dofollow links into my wordpress blog.
Thanks for the info. I was wondering if my Word Press blog was nofollow and if so how to remove it. Had trouble finding this information.
Excellent article and thank you for sharing! This is exactly what I was looking for.
Thanks, all the Dofollow plugins seems to be broken for WP 3.O.(nofollow still there. I’ll try this one out.
Why your site is nofollow and you are posting about making blogs dofollow?
This will improve my wordpress blog a lot. Thx for all those usefull tips and tricks.
Remove nofollow attributes from comment text post for thanx.
Thanks for this post, This is exactly what I was looking for.
I tried this but didn’t work, i got a 404 error… weird. Anyone has any idea ?
>>I tried this but didn’t work, i got a 404 error… weird. Anyone has any idea ?
I did everything exatly like explained and everything works great. Maybe you do smth wrong? Follow the instructions attentively
Yes , I also
Need help on creating a website? Visit webmasterwizard.net for help!
It didn’t work.
Thanks for the wordpress advice. No Follow on out going links is normally a waste of time these days unless you know it’s a bad neighborhood.
I thought about How To Remove nofollow attributes from comment text # WordPress … and found this post. Thanks for sharing!
Interesting! This is my favorite post about How To Remove nofollow attributes from comment text # WordPress ….
I never tried this before.Thanks for sharing this information .
Very thanks ,I am looking for it !
thanks for the no follow tips
very thanks , I am looking for these codes
Good article and thank you for sharing! This is exactly what I was looking for.
Your idea is good to apply. thanks very much
Thank you for sharing, very usefull & interesting..
Nice tips for Remove nofollow attributes from comment text
Nice tips, thank’s for your posting
Pingback: How To Automatically Refuse Comment without Plugin | WordPress News Wire
You have given a very useful lesson on how to remove nofollow attribute from comment text as it essential for a commenter who wants back link to his site. Moreover, this feature discourages the visitors from commenting and leaving a back link. Nice post indeed.
Thanks for the post. This is just what I need. It’s always good to just let the comments be do-follow. I always do it. For me, it’s just giving something back to those who need the backlink juice. As long as the comments are not spam, it’s okay to let people have the backlink.
just create my own blog, and find a way to remove nofollow attributes since i forgot how to do it. rather than using plugin i prefer this way
thank you very much for this..
even you have implemented NO FOLLOW tag, How a visiter can turn on DO follow tags in Comments! or remove nofollow tag from his comment!
so that visiter could take benefit ,or increase his back links !
Thank you for the update. I am new to SEO and although its still a mystery for me on how to use this but I will study this for sure it will help me lot.Thank you once again for the informative post…
Useful bit of code but nowadays I am sure you can get themes which allow you to do this more easily, plus plugins as well. Firefox has some great addons which will give a visual indication of any nofollow links too.