Learn how to Disable RSS Feeds in WordPress

by | Jul 2, 2022 | Etcetera | 0 comments

Do you need to disable RSS feeds in your WordPress internet website online?

RSS feeds allow consumers to subscribe in your blog posts. Alternatively, it’s imaginable you’ll wish to turn off the RSS feeds when building small static internet websites. By way of default, there’s no selection to remove RSS feeds in WordPress.

In this article, we will show you one of the simplest ways to disable RSS feeds in WordPress.

How to disable RSS feeds in WordPress

What are RSS Feeds and Why Disable Them?

RSS is a kind of web feed this is serving to consumers get real-time updates and content material subject material from your internet web page. RSS stands for If truth be told Simple Syndication or Rich Website online Summary. It we could on your readers to automatically get new content material subject material in electronic mail newsletters, RSS feed readers, and other gadgets.

While RSS feeds are useful in your internet web page, WordPress can add multiple feeds that may not be useful. As an example, there are taxonomy feeds, author feeds, particular person post and internet web page feeds, and additional.

You’ll be capable to disable the ones RSS feeds and save search engines like google like Google from laborious their internet web page transfer slowly quota. This manner, search engine bots won’t transfer slowly feeds that aren’t comparable in your internet website online and instead index further crucial pages.

Plus, disabling RSS feeds is smart should you’re now not running a WordPress weblog, alternatively the use of WordPress further as a CMS (content material subject material regulate system) or simple internet web page builder. It’s moreover best for eCommerce shops that don’t have a blog.

See also  How Groups Use the Collaboration Gear To be had on Cloudways Divi Webhosting

At WPBeginner, now we now have disabled plenty of of the RSS feeds to help improve our search engine optimization ratings.

That being discussed, let’s see the way you’ll disable RSS feeds in WordPress.

Method 1: Disable RSS Feeds The usage of a Plugin

Some of the absolute best tactics of disabling RSS feeds is thru the use of a WordPress plugin like All in One search engine marketing (AIOSEO).

It’s the easiest search engine marketing plugin for WordPress and lets you optimize your internet website online for search engines like google without requiring technical knowledge or hiring a qualified.

All In One SEO - AIOSEO

The program is more uncomplicated and is in point of fact useful for rookies. We’ll use the AIOSEO Lite model for this tutorial because it allows you to disable RSS feeds in WordPress.

Alternatively, if you want to boost your search ratings, you then’ll use the AIOSEO Professional model to liberate further difficult choices like XML sitemaps and redirection manager.

The first thing you need to do is about up and switch at the AIOSEO plugin. For added details, see our step-by-step data on the best way to set up a WordPress plugin.

Upon activation, you’ll see the AIOSEO setup wizard. Simply click on at the ‘Let’s Get Started’ button and observe the onscreen instructions. For added details, please see our data on the best way to arrange All in One search engine marketing in WordPress.

Click let's get started AIOSEO setup wizard

Next, you’ll move to All in One search engine optimization » Search Glance from your WordPress dashboard and head to the ‘Advanced’ tab.

See also  Creating a Area of interest Advertising and marketing Technique that Drives Expansion [+ Examples]

After that, you’ll scroll to the ‘Transfer slowly Cleanup’ selection and click on at the toggle to permit it.

Go to AIOSEO advanced settings in search appearance

Should you’ve enabled the Transfer slowly Cleanup selection, simply scroll all of the manner right down to the RSS feeds you need to disable.

We recommend keeping up the World RSS Feed enabled because it we could on your subscribed consumers to get the latest updates. Disabling this may increasingly indicate folks won’t have the ability to subscribe in your internet web page, which would possibly hurt your WordPress search engine marketing.

Disable RSS feeds

On the other hand, you’ll disable other forms of RSS feeds.

For instance, you’ll switch off RSS feeds for authors, search, attachments, taxonomy, and additional.

Save changes to RSS feed

Don’t put out of your mind to click on at the ‘Save Changes’ button when you’re completed.

Method 2: Manually Disable RSS Feeds in WordPress

Another way of disabling RSS feeds in WordPress is thru together with code in your internet web page theme’s functions.php file.

The program calls so that you can edit WordPress files, and also you’ll use this system in the event you’re relaxed pasting snippets from internet into WordPress.

Phrase: We don’t counsel bettering the needs.php file without delay in your internet web page for the reason that slightest mistake can spoil your internet website online.

You’ll be capable to moreover add this code in a site-specific plugin or in a code snippets plugin:

function wpb_disable_feed() {
wp_die( __('No feed available,please consult with our homepage!') );
}

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);

As quickly because the code is uploaded in your WordPress internet hosting server, you’ll try to request any RSS feed internet web page.

See also  The right way to Disable Gravatars in WordPress

To check, you’ll enter https://example.com/feed/ URL in your browser. Merely be sure you change ‘example.com’ along side your internet web page URL.

Preview of disabled RSS feed

We hope this text helped you learn to disable RSS feeds in WordPress. You might also wish to see our data on WooCommerce made easy and the best way to get started a podcast the usage of WordPress.

Should you most popular this text, then please subscribe to our YouTube Channel for WordPress video tutorials. You’ll be capable to moreover find us on Twitter and Fb.

The post Learn how to Disable RSS Feeds in WordPress first appeared on WPBeginner.

WordPress Maintenance

[ continue ]

WordPress Maintenance Plans | WordPress Hosting

read more

0 Comments

Submit a Comment

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