Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Limit the Number of Posts in WordPress RSS Feed

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Do 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 include more or fewer articles in the feed.

In this tutorial, we’ll show you how to easily limit the number of posts in the WordPress RSS feed. We’ll also show you how to easily create an RSS sitemap for search engines as well.

Limit number of posts in WordPress RSS feed

Video Tutorial

Subscribe to WPBeginner

If you don’t like the video or need more instructions, then continue reading.

Change Posts Limit in WordPress RSS Feed

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.

Change posts limit in RSS feed

Below this option, you’ll also see the option to show 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 page views.

After that, 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 only 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 helps 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 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.

AIOSEO setup wizard

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.

Enable RSS sitemap

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

Set post limit for RSS sitemap

This sitemap includes 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, don’t forget 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.

View RSS sitemap

Next, you need to submit your RSS sitemap to Google Search Console. See our step by step tutorial on how to add your WordPress site to Google Search Console.

We hope this article helped you limit posts in your WordPress RSS feed. You may also want to see our guide how to choose the best business VoIP provider and our expert pick of the must have WordPress plugins for your website.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

6 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. vicky says

    hello bro thnx for your help but it doesn’t work my feeds are not updating since 15 01 2016 please check and suggest some settings? i’m using cloudflare and w3tc my site

Leave a Reply to vicky Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WPBeginner Assistant
How can I help you?

By chatting, you consent to this chat being stored according to our privacy policy and your email will be added to receive weekly WordPress tutorials from WPBeginner.