I have Yoast SEO installed on several sites on the same server - all are using the same .htaccess file.
I installed the plugin on another site (same server) yesterday but have not been able to get the sitemaps to generate. I have tried uninstalling and re-installing Yoast.
Either there is a file not found or I get this message:
This page contains the following errors:
error on line 19 at column 6: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.
BTW, there is no rendering of the page up to the first error.
I have researched others with the same issue and don't have any of the caching plugins that may have caused this type of problem in the past. I have checked functions.php and there are no blank lines.
Any other ideas?