Welcome to the new design! Please report any bugs or issues, thanks :)
Web Dev + WordPress + Security

What is My WordPress Feed URL?

[ WordPress RSS Feed ] For future reference, this article covers each of the many ways to access your WordPress-generated feeds1. Several different URL formats are available for the various types of WordPress feeds — posts, comments, and categories — for both permalink and default URL structures. For each example, replace “http://example.com/” with the URL of your blog. Note: even though your blog’s main feed is accessible through many different URLs, there are clear benefits to using a single, consistent feed URL throughout your site. Now let’s find out what is your WordPress feed URL..

WordPress Feed URLs when Permalinks Enabled

If you have permalinks enabled on your site, your main-content (posts) feed is accessible via the following URLs, depending on which feed format you would like to use:

Format URL
RSS 2.0 format http://example.com/feed/
RSS 2.0 format http://example.com/feed/rss2/
RSS 0.92 format http://example.com/feed/rss/
RDF/RSS 1.0 format http://example.com/feed/rdf/
Atom format http://example.com/feed/atom/

WordPress Feed URLs when Permalinks NOT Enabled

When WordPress permalinks are NOT enabled, your main-content (posts) feed is accessible via the following URLs, depending on the desired feed format:

Format URL
RSS 2.0 format http://example.com/wp-rss2.php
RSS 0.92 format http://example.com/wp-rss.php
RDF/RSS 1.0 format http://example.com/wp-rdf.php
Atom format http://example.com/wp-atom.php

Alternately, your main-content (posts) feed is also available at the following query-string URLs, depending on desired format:

Format URL
RSS 2.0 format http://example.com/?feed=rss2
RSS 0.92 format http://example.com/?feed=rss
RDF/RSS 1.0 format http://example.com/?feed=rdf
Atom format http://example.com/?feed=atom

Display your WordPress Feed URLs

To determine/display the default posts feed URL for your blog’s main content, place any or all of these template tags into a useful location in one of your theme files:

Format Template Tag
RSS 2.0 format <?php bloginfo('rss2_url'); ?>
RSS 0.92 format <?php bloginfo('rss_url'); ?>
RDF/RSS 1.0 format <?php bloginfo('rdf_url'); ?>
Atom format <?php bloginfo('atom_url'); ?>

WordPress Main Comments Feed

Your blog’s main comments feed is available only in RSS 2.0 format, but there are several URL options from which to choose:

Format URL
Permalink format http://example.com/comments/feed/
Default format http://example.com/wp-commentsrss2.php
Query-string format http://example.com/?feed=commentsrss2

To display the default URL for your main comments feed, add this template tag to your theme file and load the page in your browser:

<?php bloginfo('comments_rss2_url'); ?>

Comment Feeds for Single Posts

By default, every post also delivers its own feed featuring all of its comments. To display feed URLs for individual, post-specific comment feeds, place this template tag anywhere in the main post loop or comment loop2:

<?php comments_rss_link('Subscribe to comments on this post via RSS-2.0 feed'); ?>

Alternately, to display the comment feed URL for any specific post, simply append either feed or ?feed=rss2 to the original post URL. For example:

Format URL
Permalink format http://example.com/single-blog-post/feed/
Default format http://example.com/single-blog-post/?feed=rss2
Query-string format* http://example.com/?p=123&feed=rss2

* Note: In the “Query-string format” example, p=123 refers to the post ID. Thanks to Spamboy for sharing this example.

Category Feeds

URLs for individual category feeds:

Format URL
Permalink format http://example.com/category/categoryname/feed/
Non-permalink format http://example.com/wp-rss2.php?cat=33

Tag Feeds

URLs for individual tag feeds:

Format URL
Permalink format http://example.com/tag/tagname/feed/
Non-permalink format (Not available)

Other Feeds

Of course, additional types of WordPress feeds also may be available. For example, with permalinks enabled, you can append feed to just about any WordPress URL to get the feed. Let’s say that you are viewing the year-based archives, something like:


To get the RSS feed for this archive, just do this:


Likewise for most any archive view, like monthly, daily, search, plus things like custom post types and custom taxonomies, all should provide feeds at the feed endpoint1. Again this works when permalinks are enabled on the site. Your mileage may vary when permalinks are NOT enabled.


Jeff Starr
About the Author
Jeff Starr = Web Developer. Book Author. Secretly Important.
GA Pro: Add Google Analytics to WordPress like a pro.

55 responses to “What is My WordPress Feed URL?”

  1. wow, great overview! What about comments feed per author? Is there a way to show a feed of comments on all posts written by a specific author? Like twitter?

  2. yeah, no go. That feed structure shows all posts by an author, not all comments for an author or their posts. I would expect something like: http://www.site-name.com/author/jeromy/comments/feed – but that just bring up an empty feed page. I’m convinced this isn’t possible…maybe a custom query?? I’m not very good at those

  3. Jeff Starr
    Jeff Starr 2008/10/29 5:03 pm

    Ah, I missed that.. I didn’t read carefully enough that you were going for the comments feed of a particular author. That would definitely require some custom wrangling, but would certainly make for a great plugin. Actually, I wouldn’t be surprised if something similar didn’t already exist!

  4. yeah, I’ve looked high and low for that. I pride myself on finding plugins and this one does not exist (well, searching wordpress.org/extend/plugins is nearly futile as all you never really get are the popular plugins as results). Guess I’ll keep looking

  5. Jeff Starr
    Jeff Starr 2008/10/29 4:22 pm

    @Jeromy: yes, I am sure it is possible.. the WordPress Codex mentions them in the context of the wp_list_authors tag. I would imagine that the format is something similar to this:


  6. Jeff Starr
    Jeff Starr 2008/10/29 5:25 pm

    I’ll keep my eyes open too and report back here if anything pops up. Good luck!

  7. Mr. Drive 2008/12/08 4:00 pm


    I have a blog at http://www.cayucorace.org, and I am displaying future posts in the website as events in the events category.

    I would like to organize the information displayed in the main RSS FEED so that posts are displayed by category (such as in the index page of this blog), by displaying the latest 5 posts of the categories I choose. Everything should work fine for all the categories, except for the Events category since the last 5 posts will be three months into the future.

    In other words, I would like the feed to display the upcoming next 5 events/posts form “today”, only for the EVENTS category, and to display the last 5 posts for the other categories.

    Is this feasible with the current wordpress implementation?
    Are there any plugins that allow me to do this?

    In several occasions, your blog has helped me a lot in doing intrepid things with wordpress, i.e. in using wordpress for what it is not supposed to be used =). Thanks a lot!

    BTW, your blog style looks awesome!

  8. Jeff Starr

    @Mr. Drive: Hmmm.. that’s a new one to me. I haven’t heard of any plugin that works on feeds in the manner you describe. There is a plugin called AStickyPostOrderER that handles such functionality for index views — perhaps it could be tweaked to affect feeds as well?

  9. Thanks so much – this has been so helpful!

  10. gaurav nanda 2009/01/30 4:57 am

    This article has been very helpful,thanks for sharing such important info in such simple form

  11. Just wanted to add that you can use:


    to search with your feed :)

    Now I’m looking for a complete list of what variables you can use in default format. So far I know of cat, p and s but there should be more.


  12. Found another one so you can get all posts for specific years, months or days:


    Now I just need a way to offset the posts in a rss query (so I can get posts 11-20 for example). Any takers?

Comments are closed for this post. Something to add? Let me know.
Perishable Press is operated by Jeff Starr, a professional web developer and book author with two decades of experience. Here you will find posts about web development, WordPress, security, and more »
Banhammer: Protect your WordPress site against threats.
Playing the long game.
They have weaponized the idiots.
Good software never steals focus from the user. Even during startup.
After 10 years running my own business, I still manage schedules and tasks using old school post-it notes, sometimes simple sometimes very elaborate.
You know those sites, where you're trying to just grab a quick bit of information but the page is shifting all over the place as it loads up 3 million advertisements.
Selling two of my top WordPress domains, wp-zen.com & zen-wp.com $300 for both. Aged 9 years. Drop a line if interested.
Never force your users to type out a password (or any long string of characters) by blocking the paste function. Typing long strings leads to MORE errors than simple copy/paste.