XML Sitemap error. XML declaration only allowed at start
-
I am having problems with the sitemaps on two on my websites. Site 1. colinmunrophotography.com Site 2. colinmunrophotography.com/blog They are designed to appear as separate sites but are two different WP installs. Both use same theme (Evolve). Both share the same domain. They have slightly different plugins installed in each. On both sites I get the following error for xml sitemaps:
This page contains the following errors:
error on line 1 at column 53: XML declaration allowed only at the start of the document Below is a rendering of the page up to the first error.
I have tried disabling all plugins, changing the active theme, checked theme functions.php and all theme php files for extra lines at start of file. I’m currently running WP ver. 6.7.1 (but issue was present in earlier versions).
I’m not exactly sure when the issue arose as have only recently checked. I’m running other sites (same host, same shared CPanel) but separate domains. They don’t have this issue.
All suggestions welcome.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.