sitemap_index showing error on line 1 at column 1: Document is empty

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

    Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.

    Head over to your WordPress admin area and go to Settings > Permalinks, and hit the “Save Changes” button once, even if you didn’t make any changes on the page.

    This should fix the issue.

    Please let us know if that helps.

    Hello Ankit,
    I tried and today I hit again to save change button on setting > permalinks still no change.

    Is there any other way to know what is the issue?


    Thank you for the follow-up.

    Could you please confirm the sitemap is being generated by Rank math? It is likely you have a sitemap file in your root folder which is being loaded. Please check if you have a static file named sitemap_index.xml in your website’s root directory.

    If so, please delete (or at least rename) that file as Rank Math generates your sitemap virtually/dynamically.

    Once done, please clear your site’s cache and check again your sitemap.

    If the issue still persists, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    We really look forward to helping you.

    Thank you.

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

You must be logged in to reply to this ticket.