WPAssist
  1. Home
  2. WP Hacks
  3. WP Tips

[How To] Disable feed URLs in WordPress

How2Buy // (Updated: )

WordPress automatically generates RSS feed links on your page header. To disable automatic feed urls on your site header, you can use the following snippet. Copy the following code into your functions.php file to remove the header rss feed links;

remove_action( 'wp_head', 'feed_links_extra', 3 );
remove_action( 'wp_head', 'feed_links', 2 );

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Share Share Tweet