WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Restrict RSS Feed to One Category? (3 posts)

  1. paultao
    Member
    Posted 7 years ago #

    I want my RSS feed to only show new posts from one category - how would I be able to do this?

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    If you're using pretty permalinks, you can add the /feed/ to the end of any given URL on your site and get a feed of what you see.
    http://example.com/blog/category/your-cat/feed/

    If you're not using pretty permalinks, it'll be more like this:
    http://example.com/blog/?cat=123&feed=rss2

    If you want to change the categories displayed by default, use the category visibility plugin:
    http://ryowebsite.com/?p=46

  3. jeremycherfas
    Member
    Posted 7 years ago #

    I am using permalinks. But the subscribe link in the sidebar widget for Asides is of the form http://example.com/blog/?cat=123&feed=rss2 while others are like http://example.com/blog/category/your-cat/feed/

    The odd thing is that the Aside link times out, but substituting a different category number works fine. The other types of links also work fine.

    I don't understand this and would value an explanation. also, can I modify the form of the link, by tampering with the module? Seems drastic, but I cannot think of another way.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags