I want to remove the 'nofollow' attribute from my comments but I do not want to use a plugin. Any idea on which file needs edited to do this?
Thanks
I want to remove the 'nofollow' attribute from my comments but I do not want to use a plugin. Any idea on which file needs edited to do this?
Thanks
You should do it with a plugin because when you upgrade to the next release, you will lose all of your edits.
That said:
find wordpress/ -type f | xargs grep nofollow | cut -d':' -f1 | sort -u
This finds "nofollow" in the following files:
wordpress/wp-admin/edit-form-comment.php
wordpress/wp-includes/comment-template.php
wordpress/wp-includes/default-filters.php
wordpress/wp-includes/formatting.php
wordpress/wp-includes/general-template.php
I'm not sure which ones would need to be changed but if you do change anything, backup your files, remember what you did and get ready to put the file back if you make a hideous mistake.
That is a good point on using a plug in. The only problem I am having is that I have installed the Dofollow plugin but the comments still have the nofollow attribute.
What is the best plugin for 2.7.1?
Thanks,
Andy
Looks like No Follow Free works great. Thanks
This topic has been closed to new replies.