How to limit the number of posts in WordPress RSS feed

How to limit the number of posts in WordPress RSS feed

Do you want to limit the number of posts in the WordPress RSS feed? WordPress will show 10 recent posts in the RSS feed by default. But you can customize it as your demand. Here in this article, we will guide you to the easiest way to limit the number of posts in the WordPress RSS feed.

Limit the number of posts in the WordPress RSS feed

To change the post limit in your WordPress RSS feed go to Settings > Reading page. Here on this page, you will be able to see the Syndication feeds show the most recent option. Here you can add the number to show the post on your RSS feed.  Under this option, you can also see the option to show either the full text or excerpt of your posts in RSS feeds. Here you need to set the Excerpt option so that it can reduce the page size. It also helps to increase page views.

wordpress rss feed

When you are done click on the Save Changes button to save your changes.

Create RSS sitemap in WordPress

If you want to limit the RSS feed post for search engines then it is not the best way to increase posts in the main WordPress RSS feed. RSS sitemap will help the search engine to find the latest post on your website. Most of the popular search engines like Google or Binge support the RSS sitemap. The search engine will find your recent content quickly using the RSS sitemap.

The easiest and quickest way to create an RSS feed is to use the All in One SEO plugin. Using the plugin you can easily create your RSS sitemap and also do more SEO things without any experience.

Install and activate the plugin and then set up the plugin properly through the setup wizard. Now go to the All in One SEO > Sitemap page. Now move on to the RSS Sitemap tab to create the sitemap for your website.

wordpress rss feed

From this page, you need to enable the sitemap option and then you can also set the number of posts from the sitemap settings options to show on your sitemap.

wordpress rss feed

Here you can also select all the post types. If you want to show only the blog post then you just need to uncheck the option. Now click on the Open RSS Sitemap button to see the RSS sitemap of your website. Now you need to add the sitemap to Google Search Console.

wordpress rss feedWrapping Up

Following the process, you will be able to limit the number of posts in the WordPress RSS feed. You can see our other articles to learn How to fix the ‘Comments Are Closed’ error in WordPress

How to add a WooCommerce store to Facebook

How to fix WordPress login not working error

We hope this article will help you. If you like this article please like our Facebook page to stay connected.