it seems like rank math dosen’t generate my sitemap_index.xml page

#641129
  • Resolved ray
    Rank Math free

    I’ve tried some of that guides you guys provided and I think it still doesn’t work for an hours.

    so basically the problem is when I click the provided sitemap link(.sitemap_index.xml from Side map setting -> general tap)
    the page reveals the message “Oops! That page can’t be found.
    It looks like nothing was found at this location. Maybe try searching?”

    can you guys help me ?

Viewing 8 replies - 1 through 8 (of 8 total)
  • ray
    Rank Math free

    *Update*

    I found some errors in this site https://www.xml-sitemaps.com/

    that says

    “Errors
    Incorrect http header content-type: “text/html; charset=UTF-8” (expected: “application/xml”)”

    Hello,

    Thank you for contacting Rank Math support and we apologize for the inconvenience.

    Please follow these steps to flush and regenerate your sitemap:

    • Reset your WordPress permalinks by going to WordPress Dashboard > Settings > Permalinks and clicking Save Changes without making any changes.
    • Regenerate your sitemap by going to Rank Math > Sitemap Settings and changing the Link per Sitemap to 201 or anything else and then click Save Changes. You can change it later, this is just to regenerate your sitemap. You can follow this screencast: https://i.rankmath.com/pipRDp
    • 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/
    • To make sure your sitemap gets updated immediately, add the following code to your site:
      /**
       * Filter if XML sitemap transient cache is enabled.
       *
       * @param boolean $unsigned Enable cache or not, defaults to true
       */
      add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

      You can learn how to add this code to your website here: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    If none of these steps resolve the issue, please let us know and provide us with your WordPress login details and FTP access in the Sensitive Data section so we can take a closer look.

    We hope this helps. Please let us know if you have any questions or concerns.

    ray
    Rank Math free

    Hello,

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

    Thank you.

    Hello,

    Thank you for your patience.

    We’ve checked your site, and it seems that you haven’t added any posts/pages on your site. Even your homepage does not return any page and returns a 404.

    To generate the sitemap, there should be at least one URL that is already published.

    Let us know if the sitemap is still showing 404 even after publishing/posting a page on your site as only indexed pages are included in your sitemaps.

    Looking forward to helping you.

    ray
    Rank Math free

    I’ve tried and still dosen’t work

    Hello,

    We’ve checked your sitemap and we can see it is now working properly without any issue. Please check the screenshots in the sensitive data section for your reference.

    However, if you’re still facing the issue, please try to clear your browser cache and check again.

    Hope that helps and please don’t hesitate to let us know if you have any other questions.
     
    Thank you.

    ray
    Rank Math free

    thanks for your services It worked, but suddenly it turns out it doesn’t work right after I cleared my pages and posts (a testing)

    Hello,

    You had only one post on your site and that’s why Rank Math was able to generate the sitemap. But if you’ve deleted that post then there is nothing to add to the sitemap and that’s why the sitemap is not working.

    However, if you add any post or page on your website then Rank Math will generate the sitemap again.

    Hope that helps and please don’t hesitate to let us know if you have any other questions.
     
    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 8 replies - 1 through 8 (of 8 total)

The ticket ‘it seems like rank math dosen’t generate my sitemap_index.xml page’ is closed to new replies.