• John

    (@casinobike)


    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!

Viewing 1 replies (of 1 total)
  • Hi John,

    thank you for this solution!

    In this context, I have another question:

    Can the whole Yoast excerpt message be hidden case by case, e.g. via a GET parameter? I would like this not to show up for certain feeds.

    Do you have any idea?

    Thanks a lot in advance!

    Best,
    GeorgBNM

Viewing 1 replies (of 1 total)
  • The topic ‘Removing “nofollow” attribution link from Yoast SEO RSS feed’ is closed to new replies.