I love WordPress built-in RSS feed, but I know some of you might not require this WordPress built-in RSS feed and thinking want to disable it from your blog or website, then you can follow the below steps by adding some simple code to your functions.php file, that’s all!
function digwp_disable_feed() {
wp_die(__('<h1>Feed not available, please visit our <a href="'.get_bloginfo('url').'">Home Page</a>!</h1>'));
}
add_action('do_feed', 'digwp_disable_feed', 1);
add_action('do_feed_rdf', 'digwp_disable_feed', 1);
add_action('do_feed_rss', 'digwp_disable_feed', 1);
add_action('do_feed_rss2', 'digwp_disable_feed', 1);
add_action('do_feed_atom', 'digwp_disable_feed', 1);
Thanks Jeff Starr shows us how to disable WordPress built-in RSS feed.
/images/logo.png)


/images/featured.png)
/images/recentposts.gif)
/images/ico-rss.gif)
/images/cat.png)