XML Parsing Error:junk after document element

#99468
  • Resolved Keith
    free

    This is the error I get when I try to view the sitemap index in the browser. I became aware of it after seeing a parsing error in GSC. It validates ok. I have removed it from caching in WP Rocket.

    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    There seems to be a text CREATED added at the end of your sitemap file. To confirm if it is being added by your theme or a plugin on your site, you may need to deactivate each of your plugins one by one and switch your theme to a default one such as Twenty Twenty while checking your sitemap. Please let us know if you are able to find the cause of the issue.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    I turned off all plugins then reactivated all of them and it is working now.

    Hello,

    Those are good news! Then, do you have any other questions? Or do you want us to close this thread? In any case, we will be here if you have any other questions or issues in the future.

    Looking forward to help you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘XML Parsing Error:junk after document element’ is closed to new replies.