Fall Sale! Code FALL2024 takes 25% OFF our Pro Plugins & Books »
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:

http://example.com/2020/

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

http://example.com/2020/feed/

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.

Footnotes

About the Author
Jeff Starr = Web Developer. Book Author. Secretly Important.
The Tao of WordPress: Master the art of WordPress.

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

  1. Right on, Jason — such use is exactly what I had in mind while creating the article. In fact, one of the determining factors in choosing topics to write about is whether or not I will use the information myself, which is definitely the case here. Thanks for the feedback! :)

  2. Hopefully, someone will have patience with me and help. I am trying to build a [WordPress] widget and looking for the url for my recent posts. If I add /feed/ to the end of my blog url, I get a news feed. Looking to make a widget with just titles.
    Thanks…

  3. Perishable 2008/03/15 6:31 pm

    Hi Jack, I am a bit confused as to your goal here.. feel free to send an email and I will do my best to help!

  4. Great post topic, and it comes at just the right time for me. I am having the hardest time to get feedburner to display full content feed as opposed to partial feed. I suspect it may have something to do with with the way my feed is set up on my blog, BUT I am not that technically literate. TO be fooling about with that >>>> <link rel=”alternate” type=”application/rss+xml” title=” RSS Feed” href=”” />
    or does this look alright, either way I am unsure if this is the problem, currently I am using permalink redirect (plug-in) to redirect my feed to feedburner, and yes I have the full text box check off, and no I dont use the more tag. Though i think wordpress may be passing this along still, as my feed is stuck at partial

  5. Perishable 2008/03/25 1:29 pm

    Sorry to hear that, shane. I was having the same problem myself for quite some time. Eventually, I found that a hearty blend of more tags, Full text option, and the incredible Full Text Feed plugin finally did the trick. I don’t know what will work for you, but you can always upgrade to WordPress 2.5 to avoid the entire hassle. By default, version 2.5 serves full feeds even when the more tag is used.

    Update 2013/05/30: Removed 404 URL @ http://cavemonkey50.com/code/full-feed/

  6. There’s one additional format you’re missing…

    If you’re using the default Permalink setting for WordPress, your post-specific feed would look like this:

    http://domain.tld/?feed=rss2&p=123

    Where "p=" is the Post ID.

  7. Perishable 2008/04/20 8:16 am

    Thank you for sharing this information, Spamboy. Technically, the default WordPress URL structure utilizes query string values (i.e., permalinks are disabled by default), but the format you provide is valid nonetheless. Incidentally, the ?feed=rss2&p=123 string works for default WordPress URLs and permalinks as well. In any case, I appreciate the info, and have updated the article with the additional format for post-specific comment feeds. Thanks again! :)

  8. I’m trying to get an rss feed from a sub category, but not having any luck. Is there a chance you could help. I am using permalinks and the parent category name is review while the sub category name is album review the slug is album-review.

    I have tried the following with no luck:

    http://www.nzbeats.com/category/album-review/feed/
    http://www.nzbeats.com/category/review/feed/

    Is there something I am doing wrong here?

    Thanks NZ Beats

  9. Got it working using the following:

    http://www.nzbeats.com/?feed=rss2&category_name=album-review

  10. Jeff Starr 2008/10/12 9:52 am

    @NZ Beats: Thanks for sharing the solution with us! Glad to hear you got it working ;) Cheers!

  11. What about feeds for individual posts (i.e. not their comments). I noticed this feed was being used by one of my readers:

    http://domain.tld/?p=123&feed=rss2&withoutcomments=1

    Also, doesn’t WordPress also generate tag feeds?

  12. Jeff Starr 2008/10/21 4:21 pm

    @Erin: individual post feeds are rare, but they certainly are available. The addition of the &withoutcomments=1 parameter looks like it removes the comments from appearing in the feed, although I have never actually seen that format used before (until now!). I suppose one reason that individual post feeds would prove useful would be for articles that are expected to be updated with new information, such as might be seen for plugin and theme posts. Of course, most posts are not updated, so providing post feeds seems a bit pointless..

    And yes, tag feeds are available in newer versions of WordPress; specifically, any WP version that supports tag functionality (from 2.5 onward, I think..). The format for tag feeds is similar to that of category and archive feeds.

Comments are closed for this post. Something to add? Let me know.
Welcome
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 »
BBQ Pro: The fastest firewall to protect your WordPress.
Thoughts
Went out walking today and soaked up some sunshine. It felt good.
I have an original box/packaging for 2010 iMac if anyone wants it free let me know.
Always ask AI to cite its sources.
All free plugins updated and ready for WP 6.6 dropping next week. Pro plugin updates in the works also complete :)
99% of video thumbnail/previews are pure cringe. Goofy faces = Clickbait.
RIP ICQ
Crazy that we’re almost halfway thru 2024.
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.