Remove comments RSS feed

By default, WordPress generates a RSS feed for the comments on every post. Many sites take advantage of this by offering the feed next to the comments area, enabling anyone to stay current with conversation. Adding this to the functions.php of your wordpress theme will remove the comments feed from your wordpress header.

 

 

remove_action(‘wp_head’, ‘feed_links’, 2);

Be Sociable, Share!

Leave a comment