Exclude Categories from RSS Feeds
11 Comments May 6, 2007 2257 Views
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:
http://jaypeeonline.net/feed/
Edit feed URL to:
http://jaypeeonline.net/feed?cat=-23
Adding another category:
http://jaypeeonline.net/feed?cat=-23&cat=-24
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.













Hello and welcome to JaypeeOnline! My name is Jaypee Habaradas and I'm the author of this blog that talks about the latest blogging news, WordPress theme and plugin reviews, technology, gadgets and tips & tricks.

I might just have to do this. Thanks for the tip JP.
@trench - You’re welcome! Let me know if it works.
It works, I think. I’ve been kind of using it.
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.
This is very useful. Thanks for sharing
@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.
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?
@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.
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 Ñ?поÑ?обів витрачати гроші з думкою про природу