How to Remove WordPress RSS Feed
08/05/2024
<-- WordPress RSS Feed Example -->
<link rel="alternate" type="application/rss+xml"
title="Junior to Expert ยป Google Extended User-Agent Bot Comments Feed"
href="https://juniortoexpert.com/en/google-extended-user-agent-bot/feed/" />
WordPress Feed Disable Codes
To remove the default /feed RSS links that come with WordPress, add the following code snippets into the functions.php file.
remove_action( 'wp_head', 'feed_links', 2 );
remove_action( 'wp_head', 'feed_links_extra', 3 );