webspirited
Member
Posted 1 year ago #
All the feeds on our blog are generating this error:
XML Parsing Error: xml declaration not at start of external entity
Location: http://blog.webspirited.com/feed/
Line Number 3, Column 1:<?xml version="1.0" encoding="UTF-8"?>
This is because there are 2 empty lines before the <?xml version="1.0" encoding="UTF-8"?> tag at the start of the RSS document but I don't know what page generates the RSS so I can't have a go at fixing it myself.
Can anyone help fix this problem?
Our blog
It can be in a lot of places (I mean the empty lines)
- the theme's functions.php
- a plugin file
- the short and sweet index file (in the root)
webspirited
Member
Posted 1 year ago #
Hmm...the entries rss seems to have fixed itself after the latest blog entry, but the comments rss still has empty spaces.
To continue what Moshu already said...
Go through the mentioned files (and wp-config.php). In each file make sure that there's in nothing before the opening <?php and nothing after the final ?>. No spaces. No blank lines.
flyaga
Member
Posted 10 months ago #
Please try this plugin fix-rss-feed, it will fix your rss error automatically, and you can get more information from http://wordpress.org/extend/plugins/fix-rss-feed/, and you also can get help from the author website http://www.flyaga.info/en/wordpress/plugins/fix-rss-feed-error-wordpress-plugins.htm