Thread Starter
Jessica
(@leadstartorg)
The last mod date is not necessary, no option to remove from sitemap: https://www.seroundtable.com/google-lastmod-xml-sitemap-20579.html
Hello @leadstartorg,
Thanks for using the Yoast SEO plugin. I’ve addressed your concerns below:
Lastmod property
It’s an optional property that should reference the time at which the object was last updated. We do not have a feature to turn that OFF in the Yoast SEO-generated sitemap.
error on line 2 at column 1: Extra content at the end of the document
Often, we see problems occur in combination with another plugin or theme. The fastest way to rule out any conflict is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Twenty-Two.
Please test this on your development or staging site if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin has a troubleshooting mode, which does not affect normal visitors to your site.
If you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts
If you feel uncomfortable doing this yourself or if this does not solve your issue, our Yoast SEO Premium plugin comes with one year of (technical) support.
Thread Starter
Jessica
(@leadstartorg)
I had one year of technical support, and they intentionally made my debug.log public, which makes me skeptical. I would rather address this through the WordPress forum.
I was able to fix the issue by switching plugins and tried to assist in improving the plugin with additional features. No health check is necessary.