Blank or error in RSS feed in WordPress 3.0 Solution

Thursday, May 17, 2012, 1:43 Tech Tutorials

By Jo Teach

Blank or error in RSS feed in WordPress 3.0 Solution

Upgrading or installing WordPress 3.0 in your webhost sometimes leads to error,  sometimes having a hard time logging in to your account or one of the usual errors designers encountered who are using wordpress, do encounter errors in RSS feed, its either a blank space or the error code that shows below.

<?xml version=”1.0″ encoding=”UTF-8″?>

Try to check in the RSS feed validator , an online handy tool that check your RSS feed for errors.

RSS FEED Validator

It’s a whitespace in wordpress RSS file usually located in the wp-includes directory, the error file is in the feed-rss2.php file to be able to fix this you have to add the following code before the

header(‘Content-Type: ‘ . feed_content_type(‘rss-http’) . ‘; charset=’ . get_option(‘blog_charset’), true);

$more = 1;

Put below the pieces of codes

$out = ob_get_contents();
$out = str_replace(array(“n”, “r”, “t”, ” “), “”, $input);

If the errors persist in your RSS feed or you don’t want to work with hand coding, you can use a very handy plug-in for fixing your RSS feed. The plugin is

Fix Rss Feeds

Description: fix wordpress rss feed error “Error on line 2: The processing instruction target matching “[xX][mM][lL]” is not allowed.” while you burn wordpress rss feed from, also fix error “XML or text declaration not at start of entity” in firefox, and fix error “XML declaration not at beginning of document” in opera.


If you  know some other ways in fixing these errors please leave a comment to help others who are also having a hard time fixing the error in their RSS feed.

(Note: if your are suing the w3 total cache please disable it first)

Related Topics:

    None Found

Please Like Us on Facebook to get the latest updates on info tech and world news!
Custom Search
  • Josh Mike

    great tutorial thanks for this I’m having a problem also with my rss feeds now its ok

  • Malube

    Is the fix rss feed compatible with the latest version of wordpress?

  • How to Fixed Blank or error in RSS feed in WordPress 3.0 « Kuyajo's Blog

    [...] FEED Validator Read more: Blank or error in RSS feed in WordPress 3.0 LikeBe the first to like this [...]

  • Teach

    Yes it works great…its easy to used too

Latest Articles


Deal of the Day:Vanguard Endeavor ED Binocular

Wednesday, April 23, 2014 22:14

Best Gear 2 Gear 2 Neo Gear Fit Screen Protector

Sunday, April 6, 2014 23:48

HTC One (M8) Specs and Features

Wednesday, March 26, 2014 13:25

Google SmartWatch Specs Features vs Gear 2

Sunday, March 16, 2014 6:55

Thursday, April 24, 2014   Copyright ©2010 All rights reserved. Akeanon gid ra