fbpx

Creating WordPress RSS Feeds for Categories and Tags

You can find or create a WordPress website’s RSS feed to do a number of things, including sending out automated email newsletters. Below, we show you how to find or create WordPress RSS feed URLs based on the category of posts on your website or the tags of posts on your website.

However, you can also get WordPress RSS feeds for authors, comments and search results. Check out our other posts on the topic by clicking on the buttons below:

Find/Create WordPress RSS feeds for Authors

Find/Create WordPress RSS feeds for Search results

Find/Create WordPress RSS feeds for Comments

Find/Create WordPress RSS feeds for Custom Post Types

WordPress RSS Feeds By Category

The following RSS feed URL gives you all posts associated with a certain category.

One Category RSS Feed

http://www.example.com/category/categoryname/feed

So, if you wanted only your press release posts (associated with the press release category) to be in the RSS feed, you would use the following URL. You’ll notice that we replaced categoryname with the category ‘press-release.’

https://www.example.com/category/press-release/feed/

You can also get an RSS feed for all posts associated with any of several categories:

One of Multiple Categories RSS Feed

http://www.example.com/category/cat1,cat2/feed

OR

http://www.example.com/?cat=42,43&feed=rss2

So, if we wanted to get press releases (categorized as press-release) and blog posts (categorized as blog) in our RSS feed, we would use the following URL:

http://www.example.com/category/blog,press-release/feed

But, if you only wanted an RSS feed of posts that are categorized with all of the categories listed, use the following URL:

Posts Associated with All Categories RSS Feed:

http://www.example.com/category/cat1/category/cat2/feed

So, if I wanted the feed to include both posts categorized as blog and press release, you would use the following RSS feed URL:

http://www.example.com/category/blog/category/press-release/feed

WordPress RSS Feeds By Tag

In addition to customizing the RSS feed by category, you could get your WordPress RSS feed to include posts associated with a specific tag or a list of tags. The URL below shows the format you would use for a Single tag RSS Feed.

One Tag RSS Feed:

http://www.example.com/tag/tagname/feed

So, if you wanted all posts associated with the breaking-news tag, you would use the following URL:

http://www.example.com/tag/breaking-news/feed

And, if you want posts associated with one of multiple tags, you would use the following URL format.

One of Multiple Tags RSS Feed:

http://www.example.com/?tag=tag1,tag2&feed=rss2

What if you want all posts that have been tagged with all of several tags?

Posts Associated with All Tags RSS Feed:

http://www.example.com/tag/tag1/tag/tag2/feed

For example, if I only want posts in the feed that have been tagged with wordpress and rss. I would use the following RSS feed URL:

http://www.example.com/tag/wordpress/tag/rss/feed

Again, we created several posts outlining several other ways to find or create a WordPress RSS feed, you can check them out by clicking any of the buttons below:

Find/Create WordPress RSS feeds for Authors

Find/Create WordPress RSS feeds for Search results

Find/Create WordPress RSS feeds for Comments

Find/Create WordPress RSS feeds for Custom Post Types

What can I do with a Category or Tag RSS Feed?

You can create an automated email newsletter with MailChimp that sends an email out to your subscribers whenever you add a new post in a certain category or with a certain tag.

Leave a Reply

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