Plug-in fix-rss-feed

In the RSS-feed resources, built on the WordPress platform, you can often find the following error: «Error on line 2: The processing instruction target matching” [xX] [mM] [lL] “is not allowed.». RSS-aggregators most popular browsers interpret a similar message as follows: «XML or text declaration not at start of entity» (Firefox) or «XML declaration not at beginning of document» (Opera)

Problem lies in the blank lines before and after XML declaration, which lead to incorrect work of the RSS-feed WordPress site. Usually, extra blank lines appear as a result of errors in those files, plugins, configuration files (usually “sufferwp-rss2.php, wp-atom.php, wp-config.php, functions.php). The problem is compounded by the fact that some (but not all) programs-aggregators can automatically ignore blank lines before and after the Declaration of XML while generating RSS-stream, so the error is indicated for a long time may remain unnoticed.

Plug-in fix-rss-feed is intended to finally and completely resolve the problem of blank lines and resume the normal work of RSS-feed on your site.

Download Fix RSS Feed WordPress Plugin

Version: 1.03 Release date: 2009-05-24

The principle of the plugin is to verify all the php-files in the root directory of WordPress for the presence of empty rows at the beginning or the end of a file – extra blank lines will be removed.

Please note that the algorithm provides a plugin to ignore blank lines, standing inside the container <? Xml … ?>, so you do not have to worry for the code integrity and correctness of the script.

The amendments are easily controlled using the results list that appears after the operation “Fix wordpress rss feed“: opposite the name of the file containing extra blank line will display the status of the job (Successful, fix [file name.php] – refers to the successful implementation). If changes can not be made due to the fact that the file access mode was set to Read Only, you will receive a message. In this case, you should set write permissions which removing the attribute read-only, and repeat the operation for the specified file.


  1. matt w says:

    Hi. I’ve ran your plugin through my website and it doesn’t seem to fix anything. I manually set all permissions so that it could fix them, then set them back. It cleaned all the reported errors, but my feed is still showing the same error when accessing it from the browser.

    Any idea what could it be?

  2. admin says:

    Please ensure that your feed content is not cached. It is possible that you see cached errors. In case of any questions regardless the plug-in, you can contact directly to author:

  3. Andrew S. says:

    Thank you for that great plug-in, it erased all errors in my RSS feeds. Suggesting you to make the option to list WP theme pages, CSS styles etc. with the same problem. This will speed-up the site loading…

  4. Geoff Snyder says:

    I just want to make sure to stop by and say thank you for your plugin. Your plugin fixed my RSS feed problem. Although I only had a few small errors…this tool fixed everything very quickly. Thank you again!


  5. warren says:

    Hi there,

    Looks helpful. Your plug-in finds hundreds of issues, mostly tail issues but I’m nervous to change so many files on a functioning site.

    The Feedburner form feed error says:
    The URL does not appear to reference a valid XML file. We encountered the following problem: Error on line 3: The processing instruction target matching “[xX][mM][lL]” is not allowed.

    I also see it in a validator [] :
    This feed does not validate.
    line 1, column 1: Blank line before XML declaration

    Since there’s only 1 error, I’m curious to figure out which specific files is the problem and what I can do to remedy it? I notice there does not exist a directory in the domain called “feed”. Is that just an alias?

    Any help is much appreciated!


  6. willo says:

    What a lifesaver… that would have taken me hours. I donated… thank you!

  7. leila says:


    I have the same problem but your plugin did not fix it. This are the steps that I follow:

    1. I run the “fix wordpress rss feed” process (I get the message: No found blank lines from your wordpress php files, now your feed is ok!)

    2. click “Delete cache” on “WP Super Cache Manager” plugin

    3. check the feed with feedvalidator and i get the same message: “line 1, column 1: Blank line before XML declaration”

    4. also feedburner says: “The URL does not appear to reference a valid XML file. We encountered the following problem: Error on line 3: The processing instruction target matching “[xX][mM][lL]” is not allowed.”

    where is the problem?

  8. leila says:

    i found the problem: i removed the empy lines in my “functions.php”. it’s working now. thx all

  9. Violet says:

    The MOST lifesaving Plug In EVER! so happy I found it. An article here ->
    pointed me to you – I didnt see your plug in come up in google results for “finding xml error in wordpress feed”
    I’ve spent all week looking for the dumb error, and your plug in found about 100 of them in a minute!
    I just wish I had money to pay for your plug in 🙁 but I promise Ill be spreading the word about it to my fellow bloggers!
    Violet xx

  10. Daniel says:

    Hi! Your plug in solved my issue. It found near 300 files to repair ( probably not all of them causing the problem) and after I backed up my blog it was done in a second. I am not using any cash plugins. I am definitely donating as soon as I get my paypal fed and continue spreading the word as I see it is a common problem for many people. Thank a lot!

  11. Robert McDonough says:

    This plugin rocks! Just set it up on my blog and it fixed A LOT of problems. Thank you!

  12. Nine says:

    Thanks, awesome plugin. My feed is ok now..

  13. Gerad says:

    You know that your plugin was stolen by someone? They do the modified plugin and distribute it. I know that the original Fix RSS Feed Error plugin can be downloaded at your site, but many people do not know that. There is a lot of your plugin clones but your is only one that helps!

  14. shivani says:


    I installed it. does help me. 🙂

  15. Владимир Сальников says:

    Спасибо, большое автору статьи и тем кто разработал, такой нужный палгин. Мне помогло сразу, хотя до этого мучался вопросом 2 недели, как устранить ошибку. Ответная статья с сылкой на этой пост гарантирую.

  16. Виталий Никулин says:

    На какие файлы необходимо установить права 777?
    On which files I should set permissions 777?

  17. Виталий Никулин says:

    Уже разобрался. На все файлы темы.

  18. Kavita says:

    I faced similar problem. for me WP total cache was the problem. Please check cache plugins for correct settings. Also one more plugin was causing extra white spaces. So please careful while adding a new plugin

  19. sunsoft says:

    XML Parsing Error: XML or text declaration not at start of entity
    Location: http:// .me/feed/
    Line Number 1, Column 3:

  20. Jadson C Rodrigues says:

    Nossa cara que plugin espetacular, resolveu meu pronlema em 10s muito grato.

  21. Pritesh Gupta says:

    Worked for me, thanks!

  22. Tharik Ahamed says:

    thanks pa ….. this plugin working….. Super

  23. Stefan says:

    Fixed my problems! Donation is on the way.


  24. Glenn says:

    Worked just fine for me!!

    Many thanks, for taking the pain out of fixing something with WordPress.

  25. I tried several methods but still getting these error

    XML Parsing Error: XML or text declaration not at start of entity
    Line Number 8, Column 2:

  26. Rhian says:

    Finally, an easy-enough instruction to trouble shoot WordPress. Thanks. This is a real life-saver!

  27. Marjorie Swan says:

    After I installed your plugin my rss feed works just fine. I’ll spread the word around.

  28. Naser @ Tech Blog says:

    My feed error says this:
    This page contains the following errors:

    error on line 660 at column 30: Input is not proper UTF-8, indicate encoding !
    Bytes: 0x1C 0x4F 0x70 0x65
    Below is a rendering of the page up to the first error.

    Please help me.

  29. jay says:

    Any way i got this error The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature i think something wrong with rar package .Is this plugin is wp 3.x comapatible

  30. admin says:

    Please don’t try to install RAR package. It can not be unpacked on the server. You should download the ZIP package instead. If nothing helps please check your server configuration. Plugin is capable to work at WP 3.

  31. lem moigne says:


  32. matt says:

    worked – note to anyone having problems: you may have to clear your browser cache to see if it worked. even refreshing the page didn’t work for me (using FF). Thanks!

  33. Gabriel says:

    Fantastic plugin! I have to donate because this is a lifesaver. I had to leave a comment as well – – – bravo fellas.

Leave a Reply

You must be logged in to post a comment.

Orlando SEO by