Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
WordPress Plugins
View all Guides

How to Fix WordPress RSS Feed Errors

Last updated on by
Special WordPress Hosting offer for WPBeginner Readers
How to Fix WordPress RSS Feed Errors

Are you encountering a RSS feed error on your WordPress site? Recently one of our readers asked us how to fix WordPress RSS feed errors. There are multiple type of RSS feed errors and they can be caused by changes in plugins and themes. In this article, we will show you how to find and fix WordPress RSS feed errors.

WordPress RSS feed error

Most Common WordPress RSS Feed Errors

Most common WordPress RSS feed errors are caused by poor formatting. WordPress outputs RSS feeds in XML which is a strict markup language. A missing line break or an extra tab can break your RSS feed.

The RSS error message will look something like this:

XML Parsing Error: XML or text declaration not at start of entity
Line Number 2, Column 1:

Depending on what browser you are using, your RSS feed error message may vary.

You can also see this error message when visiting your feed in a browser.

Warning: Cannot modify header information – headers already sent by (output started at /home/username/ in /home/username/ on line 1228

If you are using FeedBurner, then your errors may look different.

Having said that, let’s take a look at what causes these RSS feed errors and how to fix them.

Manually Fixing RSS Feed Errors in WordPress

The most likely reason for your RSS feeds to show error is poor formatting. This poor formatting can be caused by a blank space after closing php tag in a plugin or in your theme’s functions.php file.

If you recently added a code snippet to your theme or child theme‘s functions.php file. Then you need to edit your functions file.

If there is a closing php tag at the end of your functions file, make sure that there is no extra space or line breaks after it.

Ideally, the closing PHP tag is not required at the end of the file. This is why it would be best if you remove the closing php tag altogether.

This should fix the problem in most cases. However, if it does not fix your RSS feed error, then continue reading.

Fixing WordPress RSS Feed Errors Using Plugin

First thing you need to do is install and activate the Fix My Feed RSS Repair plugin. Upon activation, simply go to Tools » RSS Feed Fix page.

Fix RSS feed button

Click on the Fix feed button and that’s all.

You can now visit your feed in a browser window or test it with a feed validator tool.

We hope this article helped you fix WordPress RSS feed errors on your site. You may also want to take a look at our guide on how to make separate RSS feed for each category in WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »


  1. asad says:

    How to fix this broken link ????

  2. Michael Manago says:

    My RSS problems is none of the above. You can view it from my Entries RSS and Comments RSS found in my Meta Tags widget at my right side bar.

    What could be wrong with them?

  3. Wally says:

    The problem I have is conflict Mailchimp and 3W cache, mailchimp will not send newsletter out unless I temporary deactivate the 3W. I not able to find someone to help yet. I contacted both no response from both. and sound it has to do with RSS because when I want to create campaign the stage where it ask I get error.
    Thank you

  4. Joseph says:

    Nice tips for RSS feed error. I got from Google to fix this error. Thank you for helping me now.

    Have a nice day. I will check back for more tips. God bless you.

  5. John says:

    Thanks for the help..
    Still I see 404 not found on links like :”/feeds​/1175639818555185176​/comments​/default”

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.