You want to limit the number of posts in your WordPress RSS feed?
By default, WordPress displays the ten most recent posts in the main RSS feed. You can change that to have more or fewer articles in the feed.
In this article, we’ll show you how to easily limit the number of posts in the WordPress RSS feed. We’ll also show you how to simply create an RSS sitemap for search engines as well.

Change Posts Limit in WordPress RSS Feed
The first thing you need to do is go to Settings » Reading page in your WordPress admin dashboard.
From here, you need to change the value next to the ‘Syndication feeds show the most recent’ option. Simply enter the number of posts you want to be shown in your RSS feed.

Below this option, you can also see the option to show either the full text or excerpt of your posts in RSS feeds.
We recommend you use the Excerpt option because it reduces the feed size and increases your page views.
Then, don’t forget to click on the Save Changes button to store your settings.
That’s all, you have successfully limited the number of posts displayed in RSS feed of your site.
Create RSS Sitemap for Search Engines
If you just want to change the number of posts in your RSS feeds for more search engine visibility, then increasing posts in your main WordPress RSS feeds is not the best way to do this.
Many popular search engines like Google and Bing support RSS sitemaps.
Unlike XML sitemaps which contain most of your content, an RSS sitemap provides search engines with the latest posts on your site.
This makes search engines quickly find the updated posts on your website. You can set a different limit of posts that you want to include without affecting your main WordPress RSS feed.
The easiest way to add an RSS sitemap in WordPress is by using All in One SEO for WordPress. It is the best WordPress SEO plugin available on the market and allows you to easily optimize your website without any SEO skills.
First, you need to install and activate the All in One SEO for WordPress plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

This will bring up the All in One SEO setup wizard. Follow the on-screen instructions or check out our tutorial on how to properly set up All in One SEO for WordPress.
After that, you need to go to the All in one SEO » Sitemaps page and switch to the RSS Sitemap tab.

From here you can enable the RSS Sitemap and also set the number of posts you want to include in the sitemap.

This sitemap comes with all your post types. This means it will include posts, pages, products, or any custom post types you may have.
If you only want to include blog posts, then uncheck the ‘Include All Post Types’ and then select ‘Posts’.
Once you are satisfied, remember to click on the Save Changes button to store your settings.
You can now click on the Open RSS Sitemap button to copy the URL of your RSS sitemap.

Then, you need to submit your RSS sitemap to Google Search Console.
We hope this article has helped you limit posts in your WordPress RSS feed.