Today, i discovered that my blog feed was showing error in Firefox and other browsers. This error comes if white space of empty line at the start of xml feed content. Your xml feed content should start with xml declaration without white space or empty line. Blank lines or white space can be introduced by theme code, plugins, wordpress code or wordpress configuration file. A quick fix is check files you have recently edited.
How to Fix
- Deactivate all plug-ins loaded and activate plug-in one by one to catch exact plug-in creating problem.
- Try disabling wordpress cache plug-ins. WordPress cache plugin don’t work well with some hosting.
- Check your theme files, wp-config.php file for blank lines. It is hard and time consuming to check all wordpress core files. Thanks yo fiyaga for usefull wordpress plugin “Fix RSS Feed” that automatically detect blank or white space in the wordpress core files.
- Make sure to ping your feed in feedburner or similar service you are using.