Often times bloggers wonder how to make separate RSS feed for their category. Because sometimes your user only visits your website for the design category, but you have ten other categories that the user is not interested in. How can you offer them a separate RSS Feed. In this tutorial, we will show you how you can do that.
Technically you don’t have to do anything.
Lets say you like WPBeginner’s Showcase Category and want to subscribe to it. The category URL is:
https://www.wpbeginner.com/category/showcase/
You simply need to add the word feed infront of it like this
https://www.wpbeginner.com/category/showcase/feed/
So if you let your users know that, then you can give them an opportunity to subscribe to it. You can specifically ask your designers to add this in the theme when users open category pages, they can subscribe to the category itself.
Now there is another code that will help you letting your users subscribe to separate RSS by letting them know they can. You can’t manually email your readers and ask them to do this. Instead what you can do is use this code:
<?php wp_list_categories('feed_image=https://www.wpbeginner.com/image.gif&feed=XML Feed&optioncount=1&children=0'); ?>
Now you must change the url to the feedimage because it will display an RSS Icon next to your category list. You can paste this code in your sidebar where you have the category code.
Now you can have separate RSS feed for each category in WordPress.
Thanks for this awesome post.
Hey, how do you deal with:
1. Categories with two words (eg The Category). Is it /category/the-category/feed/ ?
2. Multiple categories (eg Category 1 and Category 2)?
How to make RSS feed links to show full posts? I mean without the read more or continue reading tag, that redirects the readers to the original website. it would good if you suggest a way without using a plugin.
Is it possible when you have a general RSS feed and somehow split them so each feed item goes into the correct category?
Hi, and what if i have list of blog categories, displayed as a wp menu?
Can i add RSS icon after each link to subscribe that category?
How can i do that? It will be very nice, if youser don’t need to look
enywhere else.
Another question: how to exclude category with id 227 from this list, i try:
. ‘exclude=227’ before/after link, without results
How are you able to do this for woocommerce’s categories also if you can tell me where to put it
Thanks
-Need our own RSS Feed.
I believe this is self-explanatory.
-Need to register with all search engines.
Self-explanatory.
want ot creat own RSS feed…..
any one give the solution
I’m not sure what the following means:
Instead what you can do is use this code:
You can paste this code in your sidebar where you have the category code.
I can’t see the category code in the sidebar. I’m probably looking in the wrong place!
GREAT SOLUTION….
THANKS.
i was actually looking for this. Searched all over the internet and you tube but couldn’t find proper info regarding RSS. Thanx man u really saved my day…
Your “Sign me up for the newsletter” option at the end of a comment is really cool, how do you do it? I would like to add it on my WordPress website too.
Thanks!
Mj
We have already shared it in a article here at WPBeginner, check out How to Boost Email Opt-ins with Newsletter Signup.
Hi
Thank you, the feed per category link works.
It shows the xml file, what do I need to do for it to look like in a browser?
Many thanks,
Mj
i just want to do like yours (as your side bar suscribe section) i will be glad if you explain me because i couldn’t undertand :S
You would have to use the technique mentioned in this article:
https://www.wpbeginner.com/wp-tutorials/how-to-create-a-daily-and-weekly-email-newsletter-in-wordpress/
When I add “feed” to the end of the url of the category I want a feed for (https://www.wpbeginner.com/category/showcase/feed/), it just takes me to the full feed of my entire blog with all posts rather than just those in the category I specified. Is there a setting I need to change that you can help me with?
We are redirecting all feeds to our main feeds. But on normal sites, that feature should work fine.
Excelente, y yo buscando plugins para algo que wordpress hace por defecto. Thanks
Thank You for this tip!
I’m actually looking for a way to add cat feeds to header for autodiscovery… must be a plugin for that?!
Hello. I was really interested by this but I was wondering where this went? On my blog I have the categories section in the sidebar, on my friends blog which I set up the categories menu is a dropdown at the top and putting a categories in the sidebar looks un-neat. I was wondering if there was a way to display a link saying ‘Subscribe to RSS’ leading to something like http://rmagic.yui-dev.co.cc/uncategorized/feed/ which would then lead to feedburner. Is it possible? Thank you for all your great tutorials, I have used many of them on my blogs and they are running perfectly well!
There is not a plugin for redirecting the category feeds to feedburner category feeds, but there is a method that lists categories and each category feed. Check it out here.
Thats very handy to know, will be useful on an upcoming project I have. Thanks.