Sitemap is blank but has source code

  • Hello,

    I have set up a staging site to test out RankMath before switching from Yoast.

    However, I just noticed that the sitemap is blank but has sourecode. Link is provided to support staff.

    How can I fix this?

    Many thanks!

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.

    Please go through this for a solution:

    If that doesn’t help, please let us know.

    Looking forward to helping you. Thank you.


    I have tried both solutions.

    At this one: “Another scenario is that you have a static file with the same name as you sitemap file (sitemap_index.xml). You should FTP into your server and remove the file.”

    I couldn’t find any sitemap_index.xml on FTP.

    Is this a common issue when switching from Yoast? I took down the staging site now as I can’t push it live with no visable sitemap.

    Hi there,

    Thanks for the follow up.

    No this is not a common issue when switching from Yoast. It is likely that there is a configuration issues on your end that is causing the sitemap error.
    Since you have already taken down the staging site, do you think you could test this on a local version of your site and check if you can reproduce this?

    Let me know how this goes.


    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 ‘Sitemap is blank but has source code’ is closed to new replies.