MY NUMBER 1 RECOMMENDATION TO CREATE FULL TIME INCOME ONLINE: CLICK HERE
Do you want to disable RSS feeds on your WordPress site?
RSS feeds allow users to subscribe to your blog posts. However, you may want to turn off RSS feeds when building small static sites. By default, there is no option to remove RSS feeds in WordPress.
In this article, we will show you how to disable RSS feeds in WordPress.
What are RSS feeds and why disable them?
RSS is a type of web feed that helps users receive real-time updates and content from your website. RSS stands for Really Simple Syndication or Rich Site Summary. It allows your readers to get new content automatically e-newsRSS feed readers and other devices.
Meanwhile RSS feeds are useful for your site, WordPress may add more resources that may not be useful. For example, there are taxonomy resources, author resources, individual post and page resources, etc.
You can disable these RSS feeds to prevent search engines like Google from depleting your site content search quota. In this way, search engine bots will not search for resources that are not relevant to your site, but will index more important pages.
Also, disabling RSS feeds makes sense if you don’t use a WordPress blog, but uses WordPress more like a CMS (content management system) or simple website builder. It is also perfect for e-commerce who do not have a blog.
At WPBeginner, we’ve disabled several RSS feeds to improve our SEO rankings.
That being said, let’s see how you can disable RSS feeds in WordPress.
Method 1: Disable RSS feeds using a plugin
The easiest way to disable RSS feeds is to use a WordPress plugin such as All in one SEO (AIOSEO).
That is the best SEO plugin for WordPress and allows you to optimize your website for search engines without requiring technical knowledge or hiring a professional.

This method is easier and recommended for beginners. We will use it AIOSEO Lite version for this tutorial because it allows you to disable RSS feeds in WordPress.
However, if you want to improve your search ranking, you can use AIOSEO Pro version to unlock more powerful features like XML sitemaps and redirection manager.
The first thing you need to do is install and activate the AIOSEO plugin. Check out our step-by-step guide for more details how to install a WordPress plugin.
After activation, you will see the AIOSEO setup wizard. Simply click the ‘Let’s Get Started’ button and follow the on-screen instructions. For more details, see our guide at how to set up all in one SEO in WordPress.

Then you can go to All in one SEO » Search Appearance in your WordPress dashboard and go to the “Advanced” tab.
After that, you can navigate to the “Content Cleanup” option and click the toggle button to enable it.

After enabling Crawl Cleanup, simply scroll down to the RSS feeds you want to disable.
We recommend leaving the global RSS feed enabled as it allows your subscribed users to receive the latest updates. Disabling this would prevent people from subscribing to your site, which could harm yours WordPress SEO.

On the other hand, you can disable other types of RSS feeds.
For example, you can turn off RSS feeds for authors, search, attachments, taxonomy, and more.

Don’t forget to click the “Save Changes” button when you’re done.
Method 2: Manually Disable RSS Feeds in WordPress
Another way to disable RSS feeds in WordPress is to add code to your website theme’s functions.php file.
This method requires editing WordPress files and you can use this method if you are comfortable with it pasting snippets from the web into WordPress.
Footnote: We don’t recommend editing the functions.php file directly on your site because even the slightest mistake can break your site.
You can also add this code website plugin or you code snippets plugin:
function wpb_disable_feed() {
wp_die( __('No feed available,please visit our <a href="'. get_bloginfo('url') .'">homepage</a>!') );
}
add_action('do_feed', 'wpb_disable_feed', 1);
add_action('do_feed_rdf', 'wpb_disable_feed', 1);
add_action('do_feed_rss', 'wpb_disable_feed', 1);
add_action('do_feed_rss2', 'wpb_disable_feed', 1);
add_action('do_feed_atom', 'wpb_disable_feed', 1);
add_action('do_feed_rss2_comments', 'wpb_disable_feed', 1);
add_action('do_feed_atom_comments', 'wpb_disable_feed', 1);
Once the code is uploaded to your WordPress hosting serveryou can try requesting any page of the RSS feed.
You can enter to check https://example.com/feed/
URL in the browser. Make sure you replace ‘example.com’ with your website URL.

We hope this article helped you learn how to disable RSS feeds in WordPress. You may also want to check out our guide WooCommerce is simple and how to start a podcast with wordpress.
If you liked this article, please subscribe to ours YouTube channel for WordPress video tutorials. You can also find us at Twitter and Facebook.
Publication How to Disable RSS Feeds in WordPress first appeared on WP Beginner.
MY NUMBER 1 RECOMMENDATION TO CREATE FULL TIME INCOME ONLINE: CLICK HERE