How to Disable RSS Feeds in WordPress | Pickup WP

Are you looking to disable RSS feeds on your WordPress site?

RSS feeds allow users to subscribe to your blog posts. However, if you’re creating small static websites, you might want to disable the RSS feeds. In WordPress, there is no option to remove RSS feeds by default.

In this post, we will show you how to disable RSS feeds in WordPress.

What are RSS Feeds, and Why Should You Disable Them?

RSS is a web feed that allows people to get real-time changes and content from your website. RSS is an abbreviation for Really Simple Syndication or Rich Site Summary. It lets your readers get new content automatically in email newsletters, RSS feed readers, and other devices.

Although RSS feeds are useful for your website, WordPress can add several feeds that may or may not be relevant. For instance, there are feeds for authors, individual posts and pages, taxonomies, and more.

You can disable these RSS feeds to prevent search engines such as Google from exhausting their website crawl quota. By doing this, search engine bots will index more significant pages rather than crawl irrelevant feeds for your website.

Furthermore, deactivating RSS feeds makes sense if you’re not running a WordPress blog and instead use WordPress as a CMS or simple website builder. It’s also ideal for eCommerce stores that don’t have a blog.

Methods to Disable RSS Feed in WordPress

Today, I’ll explain you how to disable the RSS Feed in WordPress using two different methods. The first and simple method is to use the Disable Feeds plugin. This plugin is ready to use as soon as it is activated.

The second method includes code snippets that disable the RSS Feed by returning an error message to visitors. Keep in mind that both options disable the RSS feed rather than removing it from the website.

Method 1: Disable RSS Feeds Using a Plugin

The first thing you need to do is install and activate the Disable Feeds plugin. For more in detail, see our guide on how to install a plugin in WordPress.

The plugin is ready to use and will send customers to your website when they request an RSS feed.

There are a few options for the plugin’s settings. You’ll need to go to the Settings » Reading page to set them up.

Disable Feeds Plugin Settings

When visitors request a feed, the plugin defaults to redirecting them to related content on your site. For example, Users who request a category feed will be redirected to a category page. Users who try to access the RSS feed for a custom post type will be redirected to the custom post type archive.

You can change this behavior and display a 404 error page to users.

Method 2: Turn off RSS Feeds in WordPress Without Using the Plugin

The second approach to deactivating RSS in WordPress is a little more difficult since you’ll have to manually edit your theme’s code.

Important! Changing the coding may result in the website’s damage. If you are unsure about your skills, consider consulting with a specialist.

Go to the template folder and find the functions.php file to prevent RSS feed from generating. Insert the following code: function wp_disable_feed() { wp_die( __( 'No feed available, please visit the homepage!' ) ); } add_action('do_feed', 'wp_disable_feed', 1); add_action('do_feed_rdf', 'wp_disable_feed', 1); add_action('do_feed_rss', 'wp_disable_feed', 1); add_action('do_feed_rss2', 'wp_disable_feed', 1); add_action('do_feed_atom', 'wp_disable_feed', 1); add_action('do_feed_rss2_comments', 'wp_disable_feed', 1); add_action('do_feed_atom_comments', 'wp_disable_feed', 1);

Whenever someone tries to access the RSS feed, the No feed available error will pop up.

RSS Feeds Disable Message

If you want to go further, you can remove RSS links generation from the title. Copy the following code to the functions.php of the theme: remove_action( 'wp_head', 'feed_links_extra', 3 ); remove_action( 'wp_head', 'feed_links', 2 );

Bonus Tip

If you are using the WordPress SEO Plugin like All in One SEO (AIOSEO), you can easily disable the RSS feed.

Simply navigate to All in One SEO » Search Appearance from your WordPress dashboard and select the Advanced tab.

After that, scroll down to the Crawl Cleanup option and toggle it on.

AIOSEO Advanced Settings

After enabling Crawl Cleanup, simply scroll down to the RSS feeds you want to disable.

Disable RSS Feeds

That’s it!


So the RSS Feed is out of date. It is best to disable it. There are a few options for doing this. If you aren’t experienced with coding or finding the right files, I recommend using the plugin method. This method is much faster and easy to use.

That said, the coding method works well, and if the plugin mentioned above fails, this is the way to go.

I hope this guide showed how simple it is to disable the RSS Feeds in WordPress. If you liked this post, you might be also want to read: