Sitemap - XML declaration allowed only at the start of the document

rl2rl2
edited November 2017 in Share
I have uncommented the line $route['sitemap.xml'] = 'sitemap_xml' from routes.php in application/config and gone to the sitemap_xml page in my browser expecting something to render but just receive this error message below:

error on line 2 at column 6: XML declaration allowed only at the start of the document

Comments

Sign In or Register to comment.