Title: Feed does not validate
Last modified: August 18, 2016

---

# Feed does not validate

 *  [lx](https://wordpress.org/support/users/lx/)
 * (@lx)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/feed-does-not-validate/)
 * Any of the feeds does NOT validate
 * [http://www.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.bairov.com%2Ffeed](http://www.feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.bairov.com%2Ffeed)
 * says
 * line 2, column 0: XML parsing error: <unknown>:2:0: xml declaration not at start
   of external entity
 * I read the comments on this issue and the problem is that I have not activated
   any plug-ins yet. Please help

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

 *  [NuclearMoose](https://wordpress.org/support/users/nuclearmoose/)
 * (@nuclearmoose)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/feed-does-not-validate/#post-179343)
 * Looks like you have a blank line at the very beginning of your source. Get rid
   of the blank line and re-check the validation.
 *  Thread Starter [lx](https://wordpress.org/support/users/lx/)
 * (@lx)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/feed-does-not-validate/#post-179344)
 * I do not understand. Where from should I remove the line?
 *  [NuclearMoose](https://wordpress.org/support/users/nuclearmoose/)
 * (@nuclearmoose)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/feed-does-not-validate/#post-179347)
 * Sorry, should have given you more info…if you check your `wp-rss2.php` file, 
   look at around line 13 or 14. Is there a blank line after `?>` and before the`
   <?php echo '<?xml version="1.0" encoding="'.get_settings('blog_charset').'"?'.'
   >'; ?>` line?
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/feed-does-not-validate/#post-179356)
 * You may want to try disabling all of your plugins. There are few plugins that
   actually cause this problem. If you find out which plugin is doing it, make sure
   that you have the latest version.
 *  Thread Starter [lx](https://wordpress.org/support/users/lx/)
 * (@lx)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/feed-does-not-validate/#post-179663)
 * No, I have removed it before writing here. Still no luck.
 *  Thread Starter [lx](https://wordpress.org/support/users/lx/)
 * (@lx)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/feed-does-not-validate/#post-179668)
 * Also I have not chnaged the default installation of plug-ins, so none are activated
   by default, I guess
 *  Thread Starter [lx](https://wordpress.org/support/users/lx/)
 * (@lx)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/feed-does-not-validate/#post-179675)
 * I removed these empty lines from all feed generators (incl. 0.92, 2.0 and Atom)
   but all of them still gives an excessive line. Also I delete the files for all
   plug-ins but still does not work.
 * It is really annoying that the installation by default has problems with basic
   functions.
 *  Thread Starter [lx](https://wordpress.org/support/users/lx/)
 * (@lx)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/feed-does-not-validate/#post-180191)
 * I found that excessive new line is added in this part of code:
    `if (empty($feed)){
   $blog = 1; $feed = 'rss'; $doing_rss = 1; require('wp-blog-header.php'); }

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

The topic ‘Feed does not validate’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 3 participants
 * Last reply from: [lx](https://wordpress.org/support/users/lx/)
 * Last activity: [21 years, 1 month ago](https://wordpress.org/support/topic/feed-does-not-validate/#post-180191)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
