Adding an RSS feed to WordPress is one of the most effective ways to let your readers subscribe to your content and receive automatic updates whenever you publish something new. WordPress actually comes with built-in RSS feed support, but many site owners never fully configure it, miss opportunities to display feeds from external sources, or want to customize how their feed behaves. This comprehensive guide covers everything you need to know — from locating your default feed to embedding external feeds, customizing output with PHP, and troubleshooting common issues.
Understanding RSS Feeds in WordPress
RSS stands for Really Simple Syndication. It is a standardized XML format that allows content to be distributed and consumed by feed readers, aggregators, email services like Mailchimp, and other websites. When someone subscribes to your RSS feed, they receive a notification — or an automatic content pull — every time you publish a new post.
Why RSS Feeds Still Matter
Despite the rise of social media, RSS feeds remain a powerful distribution channel. They are used by:
- Podcast directories such as Apple Podcasts and Spotify
- Email newsletter services that auto-send new posts
- Content aggregators and news readers
- Other WordPress sites that display your content via feed widgets
- SEO tools that monitor content freshness
WordPress Default RSS Feed URLs
WordPress generates several RSS feeds automatically. Here are the most important ones you should know:
- Main feed:
https://yourdomain.com/feed/ - Comments feed:
https://yourdomain.com/comments/feed/ - Category feed:
https://yourdomain.com/category/your-category/feed/ - Tag feed:
https://yourdomain.com/tag/your-tag/feed/ - Author feed:
https://yourdomain.com/author/username/feed/
You can verify your feed is working by visiting https://yourdomain.com/feed/ in your browser. If you see an XML document, your feed is live and functioning correctly.
How to Enable and Configure Your WordPress RSS Feed
WordPress enables RSS feeds by default, but you should verify the settings and adjust them to suit your content strategy.
Checking and Adjusting Feed Settings in the Dashboard
- Log in to your WordPress admin dashboard.
- Navigate to Settings > Reading.
- Locate the section labeled "Syndication feeds show the most recent" and set the number of posts you want included (typically 10 is standard, but you can set up to 20 or more).
- Under "For each post in a feed, include", choose either Full text (includes the entire post content) or Summary (includes only the excerpt). Full text is better for reader engagement; summary is better if you want to drive traffic back to your site.
- Click Save Changes.
Adding Your RSS Feed Link to Your Site Navigation
- Go to Appearance > Menus in your dashboard.
- Select the menu you want to edit or create a new one.
- Click on Custom Links in the left panel.
- Enter your RSS feed URL (e.g.,
https://yourdomain.com/feed/) in the URL field. - Add a label such as "RSS Feed" or "Subscribe".
- Click Add to Menu, then drag it to your desired position.
- Click Save Menu.
Adding an RSS Feed Link in Your Website Header (Via Theme)
Many themes support adding an RSS link to the site header automatically through the Customizer. Go to Appearance > Customize and look for header options or social icons. If your theme supports it, paste your feed URL into the RSS icon field and publish the change.
How to Display an External RSS Feed in WordPress
You may also want to show posts or news from another website on your own WordPress site. This is done by consuming an external RSS feed and displaying it in a widget, block, or shortcode.
Using the Built-In RSS Widget
- Go to Appearance > Widgets in your admin dashboard.
- Find the RSS widget in the available widget list.
- Drag and drop it into your desired widget area (e.g., sidebar or footer).
- Enter the full RSS feed URL of the external site you want to display.
- Set the title, number of items to show, and whether to display the item date, author, or description.
- Click Save.
Using the RSS Block in the Block Editor (Gutenberg)
- Open the page or post where you want to display the external feed.
- Click the + icon to add a new block.
- Search for "RSS" and select the RSS block.
- Enter the RSS feed URL in the input field and click Use URL.
- Configure display options such as number of items, whether to show the author or date, and image display.
- Update or publish the page.
Using a Plugin to Display RSS Feeds
For more advanced display options, plugins offer greater control. Popular options include:
- WP RSS Aggregator — Aggregates multiple feeds and displays them with templates and filtering
- RSSImport — A lightweight plugin with a shortcode-based approach
- Feedzy RSS Feeds — Offers a Gutenberg block, caching, and full/summary display modes
To install any plugin, go to Plugins > Add New, search for the plugin name, click Install Now, then Activate. Each plugin will have its own settings page where you can enter feed URLs and configure output.
Customizing Your WordPress RSS Feed with PHP
For developers or advanced users, WordPress provides hooks and filters that allow you to customize what appears in your RSS feed. This can include adding custom fields, modifying content, or completely restructuring the feed output.
Adding Custom Content to Your RSS Feed
You can use the the_content_feed or the_excerpt_rss filters to modify feed content. Add the following snippet to your theme's functions.php file or a custom plugin:
/**
* Add a custom message to the end of each RSS feed item.
*/
function custom_rss_feed_content( $content ) {
if ( is_feed() ) {
$content .= '<p>Visit our website for more articles: <a href="' . get_bloginfo( 'url' ) . '">' . get_bloginfo( 'name' ) . '</a></p>';
}
return $content;
}
add_filter( 'the_content', 'custom_rss_feed_content' );
add_filter( 'the_excerpt_rss', 'custom_rss_feed_content' );
This snippet appends a backlink to your website at the end of every feed item, which is great for brand visibility when your content is syndicated elsewhere.
Limiting RSS Feed to Specific Categories
If you want your feed to only include posts from certain categories, add this to your functions.php:
/**
* Limit RSS feed to specific category IDs.
*/
function filter_rss_by_category( $query ) {
if ( $query->is_feed() ) {
$query->set( 'cat', '3,5,8' ); // Replace with your category IDs
}
return $query;
}
add_filter( 'pre_get_posts', 'filter_rss_by_category' );
Using WP-CLI to Check Feed Status
If you manage WordPress via the command line, you can use WP-CLI to verify and manage feed-related settings quickly:
# Check the current reading settings (includes feed options)
wp option get rss_use_excerpt
# Set feed to show full content (0 = full text, 1 = summary)
wp option update rss_use_excerpt 0
# Set the number of items shown in the feed
wp option update posts_per_rss 10
These commands let you configure RSS feed behavior directly from the terminal without touching the admin dashboard — perfect for automated deployments or headless WordPress setups.
Troubleshooting Common RSS Feed Issues in WordPress
Sometimes WordPress RSS feeds stop working or show errors. Here are the most frequent problems and how to fix them.
Feed Shows a Blank Page or XML Errors
This is almost always caused by extra whitespace or characters in a plugin or theme file being output before the XML declaration. To fix this:
- Deactivate all plugins temporarily and check if the feed loads correctly.
- If it does, reactivate plugins one by one to identify the culprit.
- If the problem persists after deactivating plugins, switch to a default theme (e.g., Twenty Twenty-Four) to rule out theme issues.
- Check your
functions.phpand other PHP files for whitespace after the closing?>PHP tag — removing the closing tag entirely is best practice.
Feed Is Not Updating with New Posts
- Clear your WordPress cache using your caching plugin (e.g., WP Super Cache, W3 Total Cache, or LiteSpeed Cache).
- Clear your browser cache and try again.
- Check that your posts are published (not draft or scheduled).
- If using a caching layer at the server or CDN level, purge those caches as well.
Feed Shows 404 Error
- Go to Settings > Permalinks in your WordPress dashboard.
- Without changing anything, click Save Changes. This flushes and regenerates your rewrite rules.
- Test the feed URL again.
Feed Images Are Not Displaying
Many RSS readers and email clients strip images from feeds for security reasons. To ensure images are included, make sure you are using Full Text mode in your feed settings and that your images have absolute URLs (not relative paths). You can also use a plugin like RSS Includes Pages or manually hook into the feed content filter to force absolute image URLs.
Best Practices for WordPress RSS Feeds
To get the most out of your RSS feed, follow these proven best practices:
- Use FeedBurner or a feed redirect service to track subscriber counts and manage your feed URL independently of your domain.
- Include featured images in your feed using the
post_thumbnail_urlor by hooking into the feed content. Many aggregators display them prominently. - Keep your feed valid by periodically checking it at W3C Feed Validator.
- Set a consistent publishing schedule so subscribers know when to expect new content in their readers.
- Add your feed URL to your site's
<head>section as a discoverable link — WordPress does this automatically, but verify it is not being removed by a plugin or theme. - Use category-specific feeds to offer more targeted subscriptions for readers who only want certain types of content.
- Avoid duplicate content issues by setting a canonical URL if your feed content is syndicated to other sites.
Frequently Asked Questions
Does WordPress automatically create an RSS feed?
Yes, WordPress creates an RSS feed automatically for every site. You can access your main feed at https://yourdomain.com/feed/. WordPress also generates separate feeds for categories, tags, authors, and comments without requiring any additional setup.
How do I add an RSS feed widget to my WordPress sidebar?
Go to Appearance > Widgets, find the RSS widget, and drag it into your sidebar widget area. Enter the feed URL you want to display, configure the number of items and display options, then click Save. In block-based themes, use the RSS block in the Site Editor instead.
Can I display RSS feeds from multiple external sites on my WordPress site?
Yes. You can use a plugin like WP RSS Aggregator or Feedzy RSS Feeds to import and display feeds from multiple external sources. These plugins let you combine feeds, apply filters, set update intervals, and control how the feed content is displayed on your site.
How do I fix a broken WordPress RSS feed?
Start by flushing your permalinks under Settings > Permalinks > Save Changes. If the feed still shows errors, deactivate all plugins to check for conflicts, then switch to a default theme. XML errors are usually caused by extra whitespace in PHP files. Use the W3C Feed Validator to get specific error details that point you to the root cause.
Managing RSS feeds — along with dozens of other WordPress configuration tasks — can be time-consuming when done manually. That is where WP AI Agent comes in. WP AI Agent lets you handle WordPress tasks like configuring RSS settings, installing feed plugins, adjusting reading options, and troubleshooting feed errors simply by typing a request in plain English. Instead of navigating menus and editing files, you describe what you want and the AI handles it for you, making WordPress management faster and more accessible than ever.