How to find the syndicated feeds of a WordPress website

A WordPress website has feeds for:

  • All posts on the website
  • Posts in a category
  • Posts with a tag
  • Posts by an author
  • All comments on the website
  • Comments on a specific post

For each feed, WordPress can supply the feed in RSS 2.0 (the default format), Atom, RSS 0.92, and RDF/RSS 1.0.

All posts on the website

To get the main feed of a WordPress website, append /feed/ to the domain name. This returns the feed of all posts in RSS 2.0 format. You can also append a format if you want the feed in Atom, RSS 0.92, or RFD/RSS 1.0.

FeedURLPHP Code to get URL
RSS 2.0/feed/bloginfo('rdf_url');
Atom/feed/atom/bloginfo('atom_url');
RSS 0.92/feed/rss/bloginfo('rss_url');
RDF/RSS 1.0/feed/rdf/bloginfo('rdf_url');

For example, on humanextended.com, the main RSS 2.0 feed is at https://humanextended.com/feed/.

Posts in a category

WordPress generates a feed containing all posts in a specific category. To get the feed URL, you need to know the category slug. A slug is a URL-friendly name, typically with only lower-case letters, numbers, and hyphens. In the table below, you replace slug with the slug of the desired category.

RSS 2.0/category/slug/feed/
Atom/category/slug/feed/atom/
RSS 0.92/category/slug/feed/rss/
RDF/RSS 1.0/category/slug/feed/rdf/
Examplehttps://humanextended.com/category/how-to/feed/

Posts with a tag

WordPress generates a feed containing all posts with a specific tag. As with categories, you need to know the tag slug in order to determine the URL of its feeds.

RSS 2.0/tag/slug/feed/
Atom/tag/slug/feed/atom/
RSS 0.92/tag/slug/feed/rss/
RDF/RSS 1.0/tag/slug/feed/rdf/
Examplehttps://humanextended.com/tag/wordpress/feed/

Posts by an author

WordPress generates a feed for each author. You need to know the username of the author to determine their feed URL. Note that the username can be an email address, if author has chosen to use their email address as their username.

RSS 2.0/author/username/feed/
Atom/author/username/feed/atom/
RSS 0.92/author/username/feed/rss/
RDF/RSS 1.0/author/username/feed/rdf/
Examplehttps://humanextended.com/author/davepinch/feed/

All comments on the website

This feed contains all comments for all posts. It is primarily used by RSS readers.

RSS 2.0/comments/feed/
Atom/comments/feed/atom/
RSS 0.92/comments/feed/rss/
RDF/RSS 1.0/comments/feed/rdf/
Examplehttps://humanextended.com/comments/feed/

All comments on a specific post

For each post, WordPress generates a feed of its comments. This is useful if you are interested in the discussion of a specific post. To get to the feed, you append /feed/ to the post URL. Unlike other data types in WordPress, the path to a post is less predictable across blogs because sites can customize their path structure.

RSS 2.0/path/to/post/feed/
Atom/path/to/post/feed/atom/
RSS 0.92/path/to/post/feed/rss/
RDF/RSS 1.0/path/to/post/feed/rdf/
Examplehttps://humanextended.com/how-to/remove-theme-from-wordpress/feed/

Reference

License

Feel free to remix this content for your website.

Licensed under CC BY 4.0

Leave a Reply