Skip to content

WordPress: Remove RSS (e.g. Page / Comments) Feed from Head

Insert into theme's functions.php:


remove_action( 'wp_head', 'feed_links_extra', 3); // Removes the links to the extra feeds such as category feeds
remove_action( 'wp_head', 'feed_links', 2); // Removes links to the general feeds: Post and Comment Feed

Other stuff:
Removing wp_head() elements (rel=’start’, etc.)