I've installed XML sitemap and it used to be working pretty fine
Now in the XML sitemap setting section in the plugin tab, I activate "Include question pages", I get this error in mysite/sitemap.xml:
This page contains the following errors:
error on line 8174 at column 8: Extra content at the end of the document
Below is a rendering of the page up to the first error.
* the number on lineXXX changes every now and then.
Another point is that, exact URL comes in the XML site instead of XML format as:
And When I check sitemap in sitemap checker i get this error
- Premature end of data in tag urlset line 2 on line 8583
If I deactivate the "Include question pages" in the XML Sitemap setting, everything goes fine. but questions wouldn't be submitted to sitemap.
in the XML view-source everything is fine Any idea how this problem can be fixed ?
Around 6000 questions are on my Q2A site