mcfadden
Member
Posted 4 years ago #
I want to make the links in my posts nofollow. Like the read more link, the category links, and the edit post link. They are inserted with php functions like these:
edit_post_link()
comments_popup_link()
Where can I find these functions in the code so that I can add rel="nofollow" or is there a better way to do this?
Thank you many times in advance. =)
ibnuasad
Member
Posted 3 years ago #
I think I have the plugin that you've been looking for. It's called Nofollow Links in Posts
The plugin allows you to add nofollow to links in posts within a specified category :)
@mcfadded - I have written a functions.php file that has the nofollow comments_popup_link() you are looking for: WordPress SEO functions.
Don't worry about nofollowing edit_post_link(): Google will never see it. The function only shows up to users who are logged in and have editing access levels.