sitemap.xml files are invalid

#344253
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.

    Can you please follow these steps?

    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    After following the steps above, kindly allow Semrush to recrawl your website and check if you are still seeing the errors.

    Let us know how that goes. Looking forward to helping you.

    Hey, I did as mentioned in the step 1. But for step 2, I have installed Wp Optimize cache plugin for my site. And there’s no step to exclude the Sitemap files from Wp Optimize in that guide. What should I do.

    Hello,

    Please head over to WP-Optimize > Cache > Advanced settings > URLs to exclude from caching and add the below-mentioned URLs there:

    /(.*)sitemap(.*).xml
    /(.*)sitemap.xsl
    /sitemap_index.xsl
    /sitemap_index.xml

    Hope this helps.

    Looking forward to helping you.

    Thank 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 ‘sitemap.xml files are invalid’ is closed to new replies.