Sitemap can be read, but has errors

  • Updating the sitemap url in google search console gives the above error. Even though the URL shows the XML sitemaps for posts and pages it shows the below error.

    “Your Sitemap does not contain any URLs. Please validate and resubmit your Sitemap.”

    Please suggest.

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

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

    If you have any caching plugin, please exclude your sitemap URLs from being cached and purge your cache then do the following:

    1. Head over to WordPress Dashboard > Settings > Permalinks

    Hit the save button once.

    2. Go to WordPress Dashboard > Rank Math > Sitemap Settings

    Hit the save button once.

    3. You can then validate your sitemap URLs here: https://www.xml-sitemaps.com/validate-xml-sitemap.html

    4 With results of validation being okay, head to your GSC and resubmit only your main sitemap URL(sitemap_index.xml)

    If the issue persists, please do let us know so we can look at this further.

    Hello,

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

    Thank you.

    Hi,

    I have done the above steps but still get the same error.

    The sitemap was validated as requested but get the same error. I have uploaded a sitemap generated by xml-sitemap site and it has successfully been accepted in GSC (link updated).

    Please suggest.

    Thanks

    Hello,

    I think 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:

    https://wordpress.org/plugins/temporary-login-without-password/

    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):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

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

    Thank you.

    Hello,

    I checked it and it seems you need to exclude also this file: https://www.sportzhub.in/main-sitemap.xsl

    Could you check if the issue is now solved?

    Looking forward to help you.

    Hi,

    I tried again but the same issue.

    “Your Sitemap does not contain any URLs. Please validate and resubmit your Sitemap.”

    I did not quite understand where that file had to be excluded. Is it a .xsl file? Just wanted to make sure it’s not a typo there.

    Hello,

    Yes, it is an xsl file that contains extra info for your sitemap. I have temporary disabled Breeze, just to check if it is caching the sitemap, even when it shouldn’t, could you check now if it is working?

    Looking forward to help you.

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

You must be logged in to reply to this ticket.