Title: Simple FIX for RSS feed validation problem / error &#8211; not validating.
Last modified: August 21, 2016

---

# Simple FIX for RSS feed validation problem / error – not validating.

 *  Resolved [3ring](https://wordpress.org/support/users/3ring/)
 * (@3ring)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/simple-fix-for-rss-feed-validation-problem-error-not-validating/)
 * Been googling for answers and have found nothing, then stumbled on this crazy
   simple fix.
 * A bunch of my sites’ RSS feeds were having a problem / error not validating when
   I tried to check them at [http://feedvalidator.org/](http://feedvalidator.org/)
 * I would get this validation error:
    `line 1, column 1: Blank line before XML 
   declaration`
 * I tried deactivating my plugins – that didn’t work.
 * I tried switching themes to default TwentyTwelve – that worked, so it had to 
   be something in my theme.
 * Turns out it was a very simple problem with my functions.php file in my theme…
 * There were extra spaces at the end of the functions.php file after the closing
   php ?> tag.
 * I just removed all the spaces before and after the closing php tag and PRESTO–
   all is good everywhere.
 * Hope this helps some people.

The topic ‘Simple FIX for RSS feed validation problem / error – not validating.’
is closed to new replies.

## Tags

 * [atom](https://wordpress.org/support/topic-tag/atom/)
 * [function.php](https://wordpress.org/support/topic-tag/function-php/)
 * [problem](https://wordpress.org/support/topic-tag/problem/)
 * [RSS](https://wordpress.org/support/topic-tag/rss/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [3ring](https://wordpress.org/support/users/3ring/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/simple-fix-for-rss-feed-validation-problem-error-not-validating/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
