If you’re managing a WordPress site, you may realize that RSS feeds aren’t essential. While they allow users to subscribe to your blog updates, they can clutter smaller sites.
Many site owners choose to disable RSS feeds to maintain a clean and focused appearance. At CanadaCreate, we have also disabled various RSS feeds to enhance our SEO performance.
Unfortunately, WordPress doesn’t provide a straightforward option to disable these feeds, which can be frustrating if you’re aiming for a cleaner user experience.
The good news is that there are plugins available to help you disable RSS feeds on your site. Based on our experience, AIOSEO is an excellent no-code solution. For those seeking a customized approach, WPCode offers options with code snippets.
In this article, we will walk you through two easy methods to disable RSS feeds in WordPress, ensuring your site remains organized and tailored to your preferences.
Understanding RSS Feeds and the Reasons to Disable Them
RSS is a type of web feed that provides users with real-time updates and content from your website.
RSS stands for Really Simple Syndication or Rich Site Summary. It enables your readers to automatically receive new content through email newsletters, RSS feed readers, and other devices.
Although RSS feeds can be beneficial for your website, WordPress generates several feeds that may not be necessary. These include taxonomy feeds, author feeds, and feeds for individual posts and pages.
By disabling these RSS feeds, you can help search engines like Google conserve their website crawl quota. This ensures that search engine bots focus on indexing your most important pages rather than irrelevant feeds.
Disabling RSS feeds is particularly advantageous if you are not operating a WordPress blog and are using WordPress primarily as a content management system (CMS) or a simple website builder. This is also ideal for eCommerce sites that do not maintain a blog.
In this article, we will guide you through the process of disabling RSS feeds in WordPress. Here’s a brief overview of the methods we will discuss:
- Method 1: Disable RSS Feeds Using a Plugin
- Method 2: Manually Disable RSS Feeds in WordPress
- Bonus Tip: Exclude Specific Categories from Your WordPress RSS Feed
Let’s get started!
Method 1: Disable RSS Feeds Using a Plugin
The simplest way to disable RSS feeds is by utilizing a WordPress plugin such as All in One SEO (AIOSEO).
This is the top SEO plugin for WordPress, allowing you to optimize your website for search engines without needing technical skills or hiring a professional.
This method is straightforward and ideal for beginners. We will use the AIOSEO Lite version for this tutorial, as it enables you to disable RSS feeds in WordPress.
If you’re looking to enhance your search rankings, consider upgrading to the AIOSEO Pro version, which offers advanced features such as XML sitemaps, a redirection manager, a broken link checker, and a link assistant.
The first step is to install and activate the AIOSEO plugin. For detailed instructions, refer to our step-by-step guide on installing a WordPress plugin.
After activation, you will see the setup wizard. Click the ‘Let’s Get Started’ button and follow the on-screen instructions. For further information, check our guide on setting up All in One SEO in WordPress.
Next, navigate toAll in One SEO » Search Appearancein your WordPress dashboard and select the ‘Advanced’ tab.
Then, scroll to the ‘Crawl Cleanup’ option and toggle it on.
Once the ‘Crawl Cleanup’ option is enabled, scroll down to find the RSS feeds you wish to disable.
We suggest keeping the ‘Global RSS Feed’ option enabled to allow your subscribers to receive the latest updates. Disabling this feature will prevent users from subscribing to your website, which may negatively impact your WordPress SEO.
However, you can choose to disable other types of RSS feeds.
For instance, you can turn off RSS feeds for authors, search results, attachments, taxonomy, and more.
Remember to click the ‘Save Changes’ button once you have completed your adjustments.
Method 2: Disable RSS Feeds Manually in WordPress
Another method to disable RSS feeds in WordPress involves adding code to your theme’sfunctions.phpfile.
We advise against directly editing thefunctions.phpfile unless you are an experienced user, as even a minor error can disrupt your site.
Therefore, we recommend using WPCode to safely add any code snippets to your WordPress site.
First, you need to install the free WPCode plugin. For detailed instructions, refer to our step-by-step guide on installing a WordPress plugin.
After activation, simply go toCode Snippets »Add SnippetAccess your WordPress dashboard and enter ‘rss’ in the search bar to locate the pre-configured ‘Disable RSS Feeds’ snippet within the WPCode library.
Next, hover over the ‘Disable RSS Feeds’ option that appears on the right and click the ‘Use snippet’ button.
On the following page, you will see the snippet displayed. WPCode has already configured all the necessary options for you, so you won’t need to make any adjustments.
For advanced users, you can also copy and paste this snippet into your own functions.php file:
/**
* Show a custom message instead of the RSS Feeds.
*
* @return void
*/
function wpcode_snippet_disable_feed() {
wp_die(
sprintf(
// Translators: Placeholders for the homepage link.
esc_html__( 'No feed available, please visit our %1$shomepage%2$s!' ),
'<a href="' . esc_url( home_url( '/' ) ) . '">',
'</a>'
)
);
}
// Replace all feeds with the message above.
add_action( 'do_feed_rdf', 'wpcode_snippet_disable_feed', 1 );
add_action( 'do_feed_rss', 'wpcode_snippet_disable_feed', 1 );
add_action( 'do_feed_rss2', 'wpcode_snippet_disable_feed', 1 );
add_action( 'do_feed_atom', 'wpcode_snippet_disable_feed', 1 );
add_action( 'do_feed_rss2_comments', 'wpcode_snippet_disable_feed', 1 );
add_action( 'do_feed_atom_comments', 'wpcode_snippet_disable_feed', 1 );
// Remove feed links from the header.
remove_action( 'wp_head', 'feed_links_extra', 3 );
remove_action( 'wp_head', 'feed_links', 2 );
You can customize the placeholder text with your own message if desired, but this is optional.
Simply toggle the ‘Active’ switch and click ‘Update’ to apply the changes.
Your RSS feeds are now disabled.
Alternative Method: Disable RSS Feed Links Manually on WordPress Pages
To reduce the visibility of your RSS feeds without fully disabling them, you can remove the links that WordPress adds to your site’s header.
This method allows you to maintain RSS feeds in the background for internal use without showcasing them to your website visitors.
Simply navigate to Code Snippets » Library in your WordPress dashboard. Then, search for the snippet titled ‘Disable RSS Feed Links’.
Once you locate the snippet in the library, hover over it and click the ‘Use snippet’ button.
WPCode will automatically insert the necessary code and choose the appropriate insertion method for you.
Next, toggle the switch from ‘Inactive’ to ‘Active’ and click the ‘Update’ button.
That’s all you need to do.
Now, the RSS feed links will no longer be visible on your WordPress site, but your feed will continue to be generated in the background.
Bonus Tip: Exclude Specific Categories from Your WordPress RSS Feed
If you prefer not to completely disable RSS feeds on your WordPress site, excluding specific categories can be an effective way to keep your RSS feed active while maintaining control over the content that is displayed.
This method allows you to distinguish between content specific to your courses and general blog posts, enabling you to prioritize topics such as ‘Features’ over ‘News.’
This is particularly beneficial if your email list is linked to your RSS feed, as it helps prevent overwhelming your subscribers with excessive updates.
WPCode can assist with this by using its pre-configured snippet titled ‘Exclude Specific Categories from RSS Feed,’ which allows you to omit certain content from your feed.
Whether you aim to separate course-related posts or prioritize various article types, this process is straightforward and effective.
For additional information, you can refer to our guide on excluding specific categories from your WordPress RSS feed.
We hope this article has helped you understand how to disable RSS feeds in WordPress. You might also be interested in our guides on fully customizing your WordPress RSS feeds and resolving WordPress RSS feed errors.
If you enjoyed this article, please subscribe to our YouTube Channel for WordPress video tutorials. You can also connect with us on Twitter and Facebook.



