Removing “nofollow” attribution link from Yoast SEO RSS feed
-
Hello everyone!
In the user community there is a long discussion about impact of RSS feed on SEO. Many people don’t use it, however, some users, like myself, still use RSS for various purposes.
The developers of the wonderful Yoast SEO plugin as of 2013 have by default enabled the “nofollow” feed attribution link.
For most cases it is no problem and there is no negative impact from having the RSS feed link “nofollow” attribute.
But, I have seen that there are comments where some users want to remove the nofollow attribute.
In this topic: https://www.ads-software.com/support/topic/removing-nofollow-from-rss-attribution-link/ a user has asked Yoast SEO plugin support how to remove the “nofollow” link. However the answer from the support person was not complete and is a bit disrespectful to the users of this plugin.
Back to the question, here is the definitive solution, maybe it will be useful for some users. For this purpose, the filter has been added in functions.php file.// Remove rel='nofollow' Yoast SEO plugin RSS feed function filter_nofollow_rss_links( $true ) { // make filter magic happen here... return $false; }; add_filter( 'nofollow_rss_links', 'filter_nofollow_rss_links', 10, 1 );
Here you can see the example of my website.
Warning: only for users with advanced knowledge in wordpress code programming. Before making modifications it is important to create backup files!
- The topic ‘Removing “nofollow” attribution link from Yoast SEO RSS feed’ is closed to new replies.