Hi everyone,
I am getting the infamous sitemap error which states:
“error on line 2 at column 6: XML declaration allowed only at the start of the document”
I understand this issue is caused from a blank line being present at the end of a plugin’s code. I have been through all my plugins and have still not been able to sort out the issue. I even uploaded my site to my back up installation of WordPress and funny enough the XML sitemap works perfectly there!
Any ideas?