WordPress RSS Error

RSS, “Really Simple Syndication”, is a way to easily distribute a list of headlines, update notices, and sometimes content to your users. Setting up a feed is a straightforward process, as is resolving the errors you might find. The majority of the common errors experienced when working with RSS Feeds are due to the strict XML syntax structure.


Test Posts

If you receive an error on your RSS feed, first make sure that you have at least one public post on your site. The RSS relies on posts in order to work and is the most basic and often the most overlooked resolution. To troubleshoot this:

  1. Create and publish a publicly visible test post
  2. Clear caches or open a private browsing window
  3. Test the feed again

Validate Feed

If you are still receiving an error after testing the posts, make sure that the feed is validated. Even though RSS is a relatively simple technology, it can be incorrectly implemented by many tools. To prevent this, validators were constructed to translate the feed into code to make it easier to determine if you the site is producing RSS correctly.

  1. Find an RSS validator that you trust (feedvalidator.org is a great example)
  2. Enter your RSS feed URL, it will either give some possible causes of the error or validate the URL

Blank Spaces

The last resolution option is also the most complex and should be attempted only after the first two have been completed. As we mentioned earlier, XML follows a strict syntax and seemingly insignificant things like a blank line or a tab can cause the feed to break and the XML to error out.

You can remedy this by looking for the blank space manually. Since you will be looking into the theme and plugin files, you may not want to disrupt the live Production site. We recommend creating a Staging or Development area and testing there first, then replicating any changes on Production.

To remove the blank space manually:

  1. In your staging area, change the theme back to default, checking your feed every step of the way in a new private browsing window or clear the cache each time.
  2. If it works after resetting your theme, then there is a bad file somewhere in your theme.
  3. If it doesn’t work, disable your plugins one by one, each step checking your feed, until it works.
  4. Once you find out which one the culprit is you will want to reach out to the developer of that plugin or theme and let them know the issue you are experiencing.
  5. If you are able to reach the developer, indicate to them that it most likely is a blank line at the beginning or end of one of the PHP files, which should help them to correct the error.
  6. Open each of the PHP files for that theme or plugin and remove any blank lines. Remove them and test the feed. This process will clear the majority of errors you will receive on the RSS feed.

NEXT STEP: Learn how to upgrade your PHP version

Still need help? Contact support!

We offer support 24 hours a day, 7 days a week, 365 days a year. Log in to your account to get expert one-on-one help.

The best in WordPress hosting.

See why more customers prefer WP Engine over the competition.