WordPress RSS feed error

Published by

Posted on December 19, 2010

download fix

line 2 at column 6: XML declaration allowed only at the start of the document
1) Unzip the file using winrar or 7zip

2) After unzipping , upload the .PHP file into your WordPress site ROOT directory. This means wherever the wp-config.php file is. Do NOT upload it into the themes folder, NOR the plugins folder. Only the root directory.

3) EDIT your index.php file and add the following right after the first line:


So at the end, your index.php should look something like this:

That’s of course a condensed version of the index.php file and your’s will probably have lots of comments and stuff in it. But the important thing is to add the include code right at the top.

Reload the feed page. the script actually modifies the output of the blog information. Do not remove the script or your rss will go back to how it was. The script does not modify the any files on the server.