HowTo: Exclude Categories from RSS Feeds


A few days ago, I was thinking of excluding the Asides category from my RSS feed since this category is mostly about personal stuff and I also assume that most of the subscribers aren’t interested to read it. I did a little bit of research and found a way of excluding specific categories from RSS feeds.

First thing you need to do is identify the ID of the category that you want to exclude from your feeds. You can do that by going to your Admin panel, then Manage > Categories and there you’ll see all the ID’s for the different categories. In my case, the category I want to exclude from my feed is the Asides category and it has 23 as it’s ID. Since I’m using Feedburner, I’ll have to edit the original feed source.

Original feed URL:

Edit feed URL to:

Adding another category (Multiple categories):

The last bit of data specifies which category or categories you want to exclude from the feed. You can exclude any category of your choice from your blog’s feed and you can use this even if you’re not using Feedburner as this should work for any type of feed. I’m not 100% if this procedure works. If you decide to try it, any type of feedback or comments would be appreciated.

Also, I don’t think everyone has a need for this but hopefully it would be helpful to those who plan to do it or have been looking for a way to do so.

Owner and editor of JaypeeOnline. Self-proclaimed geek. New media writer and consultant. WordPress advocate. Loves blogging, gadgets, video games and sports. You can follow him on Google+, Facebook or Twitter.

22 Comments

  1. MiguelSib

    April 8, 2014 at 2:58 PM

    Bitcoin is a peer-to-peer payment system and digital currency introduced as open source software in 2009 by pseudonymous developer Satoshi Nakamoto. It is a cryptocurrency, misnamed because it uses cryptography to suppress the start and hand on of money. Conventionally, the capitalized high sign succinctly “Bitcoin” refers to the technology and network, whereas lowercase “bitcoins” refers to the currency itself.
    Bitcoins are created beside a method called mining, in which participants substantiate and document payments in the bourse as a service to matter fees and newly minted bitcoins. buy cialis super active plus online Users send and give entr‚e bitcoins using notecase software on a bodily computer, animated plot, or a snare application. Bitcoins can be obtained nearby BUY LIPITOR 10MG mining or in unpleasantness for products, services, or other currencies.]
    Bitcoin has been a lay open of investigation proper to ties with illicit activity. In 2013 the U.S. FBI conceal down the Silk Track online resentful sell and seized 144,000 bitcoins worth US$28.5 million at the time.] The U.S. is considered Bitcoin-friendly compared to other governments, however. In China new rules restrict bitcoin the street for the benefit of city currency. actos discount program The European Banking Testimony has warned that Bitcoin lacks consumer protections.2] Bitcoins can be stolen and chargebacks are impossible.3]
    Commercial expend of Bitcoin, illicit or otherwise, is currently minor compared to its use by speculators, which has fueled price volatility. Bitcoin as a order of payment quest of products and services has seen evolution, manner, and merchants be suffering with an lure to accept the currency because negotiation fees are cut than the 2–3% typically imposed by means of commendation birthday card processors.

  2. kim

    February 3, 2011 at 12:20 PM

    Please update your article!

    The code method to exclude multiple categories has changed to the following format:

    feed/?cat=-1,-2

    For reference, see this ticket in the WordPress Trac:
    http://core.trac.wordpress.org/ticket/16387

  3. Johan

    June 4, 2010 at 10:39 PM

    Hi Thanks for sharing. I publish an email newsletter from RSS, created a directory and published a linked and sent out this stuff to my newsletter. Now I can exclude all the directory categories. It will be a few.

  4. paul

    June 2, 2010 at 7:13 PM

    fantastic. thanks for the great tip. worked perfectly and so easy…

  5. Andrei Zharau

    May 9, 2010 at 7:27 AM

    Exactly what I was looking for! Thank you for a such simple explanation.

  6. Michelle Dancer

    January 11, 2010 at 11:43 PM

    Oh this is brilliant, thankyou. Worked like a charm.

  7. Reino

    November 9, 2009 at 8:24 AM

    Such an easy but brilliant tip! Thanks!

  8. Clare Swindlehurst

    August 30, 2009 at 9:05 AM

    Brilliant tip – and just what I needed. I want to exclude a category from my feed so that I don’t bombard readers with a big site update I’m about to do. Thanks

  9. Personal Report

    March 23, 2009 at 5:33 AM

    Thank you for sharing this tip, it saved me a lot of work. While I was working on the “cat=” query I found out that the best way for excluding categories is to put all the categories comma separated.

    This is the way you suggest:
    http://jaypeeonline.net/feed?cat=-23&cat=-24

    This is the wordpress standard:
    http://jaypeeonline.net/feed?cat=-23,-24

    And, by the way, here‘s an explaination of how to find out the category’s id.

    Hope this comment helps.
    Bye.

  10. Kolia

    September 17, 2008 at 6:51 AM

    Jaypee, thanks for the reply. I have tried to exclude 3 categories… I didn’t work for me. Probably I did smth wrong. I have chosen another option – editing function.php file, as far as i remember

    Kolias last blog post..Зміна клімату – 10 фактів, які має знати кожен.

  11. JP Habaradas

    August 23, 2008 at 8:10 PM

    @Saimatkong – Glad to hear that. Sama sama. :D

  12. saimatkong

    August 23, 2008 at 8:06 PM

    hey, it works for me. thanks.

    saimatkongs last blog post..Show will go on for rock star Avril Lavigne on Aug 29

  13. JP Habaradas

    July 21, 2008 at 10:55 AM

    @Kolia – You’re welcome! How many categories do you want to exclude from your feed? It should work if you followed the format for adding categories. You also need to check if you got the category numbers right. Let me know if you’ve fixed it or if the format still doesn’t work. Thanks for sharing! :)

  14. Kolia Shlapak

    July 21, 2008 at 10:53 AM

    Thanks for this tip but I’ve got a little problem with it
    it works only with one category excluded
    what could be a reason?

    Kolia Shlapaks last blog post..10 ?по?обів витрачати гроші з думкою про природу

  15. JP Habaradas

    February 9, 2008 at 10:45 AM

    @Tobi – Yes, this is muchh easier than using a plugin. But both have their advantages and disadvantages. You’re most welcome! Thanks for dropping by and leaving comment. :D

  16. Tobi

    February 9, 2008 at 10:43 AM

    Wooa… this is really easy. What a easy way to exclude pays entries from the feed. Thats cool. Thats really simple and cool.

    Thanks you very much for this information… its absolutely unneccessary to build any plugins, this is much easier as jhay mentioned ;)

    Tobi’s last blog post..Feedst Du schon oder fav’st Du noch?

  17. JP Habaradas

    May 8, 2007 at 5:40 PM

    @Shari – I see, it’s good to know that it works.

    @jhay – I didn’t know that there was a plugin for this, anyways, it’s always good to have another option.

    @Dre – You’re welcome! Glad to know you found it useful. :D

  18. Dre

    May 8, 2007 at 9:14 AM

    This is very useful. Thanks for sharing ;)

  19. jhay

    May 7, 2007 at 6:28 PM

    I think I came across a plugin once that controls which categories appear in your feeds. Forgot the details though, but your tips is as simple as opening the fridge. ;)

  20. Shari

    May 7, 2007 at 3:02 PM

    It works, I think. I’ve been kind of using it. ;)

  21. JP Habaradas

    May 7, 2007 at 10:36 AM

    @trench – You’re welcome! Let me know if it works.

  22. trench

    May 7, 2007 at 4:20 AM

    I might just have to do this. Thanks for the tip JP.

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">