Empty sitemap with elementor

  • Hi,

    The sitemap of in my site is being generated, but empty. This is the source of the xml:

    <?xml version=”1.0″ encoding=”UTF-8″?><?xml-stylesheet type=”text/xsl” href=”//salesforceconsulting.es/main-sitemap.xsl”?>
    <sitemapindex xmlns=”http://www.sitemaps.org/schemas/sitemap/0.9″&gt;
    <!– XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math – rankmath.com –>

    I have tried the health check approach, activating only Rank Math, with the same approach. There is no file that can be deleted.

    Can you please help me 🙂

    Thank you.

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

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

    Could you please head over to Rank Math > Titles & Meta and check whether all the post types that you would like to be listed on the sitemap have been set to index via the robots meta settings option?

    Next, head over to Rank Math > Sitemap settings > and check whether the “include in sitemap” option has been enabled for post types that you would like to appear on the sitemap.

    Looking forward to helping you. Thank you.


    Hi Michael,

    As far as I can see, pages and posts are setup to be included in both the Titles and Meta section and the sitemap settings.

    Should I share in the “sensitive” a login with you?



    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP 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.


    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hi Albert,

    I am sorry but we are getting this error when trying to login:

    Can you please disable the security plugin while we try to diagnose the issue?

    Hi guys,

    can you try now?

    It should work now, but if it doesn’t, you “just” have to install a language spanish in the browser. It doesn’t need to be the active language.


    Hi Albert,

    Can you please update your PHP. You are running 7 but the recommend version for WordPress (and Rank Math and other plugins) is 7.3+.

    Please update to 7.3 and let us know if you continue to face this issue.

    Thank you.

    Hi Todd,

    PHP has been updated to 7.3, but it looks like the sitemap is still empty.

    Any other options?

    Thank you very much for your help!



    Can you please contact the Hosting team and ask them to check the character encoding settings?

    Entity 'ntilde' not defined This is the error I get when I try to access the {your_site_url}/main-sitemap.xsl file. This XSL file is the Sitemap CSS file which shows the Sitemap.

    If you check the page source of sitemap_index.xml, you will see all the links. So the problem is only with the CSS not loading, and I am suspecting it’s due to some misconfiguration in UTF encoding settings on the server.

    I hope that helps.

    Hello Pratik,

    You are right, it looks like the change of PHP version did the trick.

    Thank you all for your help.



    Hello Albert,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

You must be logged in to reply to this ticket.