sitemap not loading

#260911
Viewing 3 replies - 1 through 3 (of 3 total)
  • Azib Yaqoob
    Rank Math business

    Hello,

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

    If Rank Math doesn’t create a sitemap file or if you are getting a 404 error while trying to access your sitemap index, you may have to flush permalinks. Don’t be scared, it is fairly easy to do.

    Simply 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.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Corey Barnett
    Rank Math business
    Content AI Creator

    Thanks, that worked! How often would i have to do this?

    Azib Yaqoob
    Rank Math business

    Hello,

    glad that worked.

    Are you using caching on your site? If yes, then you should exclude XML sitemap from caching. Please check out this article to learn how to exclude a sitemap from caching:

    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    When caching is enabled, the sitemap of your website ends up being cached as well, which is the opposite of what should happen. Since a sitemap should always be up to date with the pages, posts, and custom posts on your website, caching it defeats the purpose.

    Hope that answers your question. Please feel free to contact us again if you need further assistance.

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

You must be logged in to reply to this ticket.