Want to limit the number of posts in your WordPress RSS feed?
By default, WordPress displays the last ten posts in the main RSS feed. You can change it to include more or fewer articles in the feed.
In this guide, we will show you how to easily limit the number of posts in the WordPress RSS feed. We also show you how to easily create an RSS sitemap for search engines.
Subscribe to WPBeginner
If you do not like the video or need more instructions, keep reading.
Change post 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, change the value next to the ‘Syndication feeds show the most recent’ option. Simply enter the number of posts you want to display in your RSS feed.
Under this option you will also see the option to display either the full text or excerpt of your posts in RSS feeds.
We recommend using the Excerpt option because it reduces the feed size and increases your pageviews.
Then do not forget to click the Save Changes button to save your settings.
That’s all you have to do to successfully limit the number of posts displayed in the RSS feed of your site.
Create RSS Sitemap for Search Engines
If you only want to change the number of posts in your RSS feeds for more search engine visibility, then this is not the best way to do this by increasing the number of posts in your main WordPress RSS feeds.
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 most recent posts on your site.
This helps search engines quickly find the updated posts on your website. You can set a different limit for posts that you want to include without affecting your primary WordPress RSS feed.
The easiest way to add an RSS sitemap to WordPress is by using All in One SEO for WordPress. It is the best WordPress SEO plugin on the market and allows you to easily optimize your website without any SEO skills.
First you need to install and enable 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 display the All in One SEO Setup Wizard. Follow the instructions on the screen, or check out our guide on how to properly set up All in One SEO for WordPress.
Then go to the All in One SEO »Sitemaps page and switch to the RSS Sitemap tab.
From here, you can enable RSS Sitemap and also set the number of posts you want to include in the Sitemap.
This Sitemap contains all your post types. This means that it will include posts, pages, products, or any custom post type you may have.
If you only want to include blog posts, uncheck ‘Include all types of posts’ and then select ‘Posts’.
When you are satisfied, do not forget to click the Save Changes button to save your settings.
You can now click the Open RSS Sitemap button to copy the URL to your RSS Sitemap.
Next, submit your RSS Sitemap to the Google Search Console. See our step-by-step guide on how to add your WordPress site to the Google Search Console.
We hope this article helped you narrow down posts in your WordPress RSS feed. You may also want to see our guide on how to choose the best VoIP provider for businesses and our expert selection of the must have WordPress plugins for your website.
If you liked this article, please subscribe to our YouTube channel for WordPress video tutorials. You can also find us at Twitter and Facebook.