Title: Another RSS feed error  &#8211; Pls help
Last modified: August 18, 2016

---

# Another RSS feed error – Pls help

 *  Resolved [whitemice](https://wordpress.org/support/users/whitemice/)
 * (@whitemice)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/another-rss-feed-error-pls-help/)
 * G’day!
    Sorry if I’m flooding this forum with same prob/issue. Tried to search
   for the previous post… but found no solution.
 * Ok my problem is… my RSS feed does not validate according to [FEED Validator](http://www.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.ninetnine.net%2Fblog%2Fwp-rss2.php).
   Just this message appear:
 * **XML parsing error: <unknown>:3:0: xml declaration not at start of external 
   entity**
 * FYI, Im tried to follow most of advise given here, but my feed still not valid.
   Im not using any plugins and my feed uri:
 * [http://www.ninetnine.net/blog/wp-rss2.php](http://www.ninetnine.net/blog/wp-rss2.php)
 * Hopefully someone have an Idea for this… Thanks in advanced.

Viewing 12 replies - 1 through 12 (of 12 total)

 *  [Cypher](https://wordpress.org/support/users/cypher/)
 * (@cypher)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/another-rss-feed-error-pls-help/#post-267777)
 * I just validated my feed, Matt’s and a bunch others I could remember off the 
   top of my head and the one thing that immeditately stuck out at from that is 
   different from your feed is that all of our feeds start at line #1.
 * Your feed output starts at line #3, meaning you have 2 lines of newlines or something.
   That is most likely throwing everything off.
 * Can you make sure that your wp-rss2.php file has no extra lines/spaces so on.
   Additionally, can you grab the latest WP download tarball, extract just the wp-
   rss2.php file and re-upload it to your directory in ASCII mode.
 * Regards
 *  [Beel](https://wordpress.org/support/users/beel/)
 * (@beel)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/another-rss-feed-error-pls-help/#post-267779)
 * This is another oft asked and answered question. For those in the future who 
   search first, the problem often seems to be an extra line in a php file (I’d 
   start checking in the plugins) outside the <?php ?>.
 *  Thread Starter [whitemice](https://wordpress.org/support/users/whitemice/)
 * (@whitemice)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/another-rss-feed-error-pls-help/#post-267783)
 * Thanks Cypher,
    Ok this is my header of that wp-rss2.php:
 * >  <?php
   >  if (empty($feed)) { $blog = 1; $feed = ‘rss2’; $doing_rss = 1; require(‘
   > wp-blog-header.php’);} header(‘Content-type: application/xml; charset=’ . get_settings(‘
   > blog_charset’), true); $more = 1;
   > ?>
   >  <?php echo ‘<?xml version=”1.0″ encoding=”‘.get_settings(‘blog_charset’).'”?’.’
   > >’; ?>
   > <!– generator=”wordpress/<?php bloginfo_rss(‘version’) ?>” –>
   >  <rss version
   > =”2.0″ xmlns:content=”[http://purl.org/rss/1.0/modules/content/&#8221](http://purl.org/rss/1.0/modules/content/&#8221);
   > xmlns:wfw=”[http://wellformedweb.org/CommentAPI/&#8221](http://wellformedweb.org/CommentAPI/&#8221);
   > xmlns:dc=”[http://purl.org/dc/elements/1.1/&#8221](http://purl.org/dc/elements/1.1/&#8221);
   > >
 * Which part do I need to delete it…?
 *  [Cypher](https://wordpress.org/support/users/cypher/)
 * (@cypher)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/another-rss-feed-error-pls-help/#post-267795)
 * OK..the wp-rss2.php file looks OK, at least, in your cut-n-paste.
 * The other thing to check out is the plugins like Beel mentioned. Somehow you 
   are getting those 2 extra lines that are just throwing everything off..
 * Regards
 *  Thread Starter [whitemice](https://wordpress.org/support/users/whitemice/)
 * (@whitemice)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/another-rss-feed-error-pls-help/#post-267802)
 * Ok… I tried to delete this portion:
 * >  <?php
   >  if (empty($feed)) { $blog = 1; $feed = ‘rss2’; $doing_rss = 1; require(‘
   > wp-blog-header.php’);} header(‘Content-type: application/xml; charset=’ . get_settings(‘
   > blog_charset’), true); $more = 1; ?>
 * and keep the rest, but there is another error appear when Im try to validate 
   it, so what next since Im didnt use any plugin now.
 *  [Cypher](https://wordpress.org/support/users/cypher/)
 * (@cypher)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/another-rss-feed-error-pls-help/#post-267819)
 * Ahh..you are using WP 1.5.1.3. Could you upgrade to 1.5.2 to see if that fixes
   the problem..I know there were some RSS related bugs and fixes in those versions.
 * Regards
 *  Thread Starter [whitemice](https://wordpress.org/support/users/whitemice/)
 * (@whitemice)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/another-rss-feed-error-pls-help/#post-267909)
 * Ok, I’ll follow your advise mate… then see what happen. See yaa.
 *  Thread Starter [whitemice](https://wordpress.org/support/users/whitemice/)
 * (@whitemice)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/another-rss-feed-error-pls-help/#post-268015)
 * **Update:**
    Then I follow Cypher advise: 1. Upgrade to WP 1.5.2… 2. Follow all
   the instruction for that minor upgrade. 3. Update my .htacess, get it from Options
   > Permalinks > then hit [update permalink structure] button. 4. View site – then
   try to Validate my feed page. 5. Voila… then proudly announce that finally this
   bugs solved… Only that can really make me smile mate. Thanks to all. My post 
   regarding this: # [How finally I get it](http://www.ninetnine.net/blog/2005/10/how-finally-i-get-it)#
   [How to upgrade from 1.5.1.x to 1.5.2](http://www.ninetnine.net/blog/2005/10/how-to-upgrade-151x-to-152)
 *  [roblewis100](https://wordpress.org/support/users/roblewis100/)
 * (@roblewis100)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/another-rss-feed-error-pls-help/#post-268515)
 * I had the same problem – looks like it was a rogue whitespace at the end of one
   of my plugins (in this case it was The Excertp Reloaded, although I guess it 
   could happen to any plugin).
 * If you’re getting the same thing, deactivate each plugin one by one to identify
   the culprit, then check for any new lines / whitespace outside of the PHP.
 * Rob.
 *  [hpbucks](https://wordpress.org/support/users/hpbucks/)
 * (@hpbucks)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/another-rss-feed-error-pls-help/#post-268516)
 * hi
 * i got an rss feed problem aswell
 * i upgraded from 1.51 to 2.03 and changed my Permalink strucutre to /%postname%.
   htm
 * now my rss feed has changed to [http://www.freedvdtrials.com/blog/feed/](http://www.freedvdtrials.com/blog/feed/)
 * but now i cant find a valid rss xml feed and other rss reader cant find a valid
   xml file
 * my blog is at [http://www.freedvdtrials.com/blog/](http://www.freedvdtrials.com/blog/)
 * can some1 help us out
 *  [yosemite](https://wordpress.org/support/users/yosemite/)
 * (@yosemite)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/another-rss-feed-error-pls-help/#post-268517)
 * hpbucks: Already resolved.
 *  [hpbucks](https://wordpress.org/support/users/hpbucks/)
 * (@hpbucks)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/another-rss-feed-error-pls-help/#post-268518)
 * Yosemite: hi can u let me know how to fix my problem

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Another RSS feed error – Pls help’ is closed to new replies.

## Tags

 * [RSS](https://wordpress.org/support/topic-tag/rss/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 12 replies
 * 6 participants
 * Last reply from: [hpbucks](https://wordpress.org/support/users/hpbucks/)
 * Last activity: [19 years, 10 months ago](https://wordpress.org/support/topic/another-rss-feed-error-pls-help/#post-268518)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
