Sitemaps return 404

#388870
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    Thank you for contacting Rank Math 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/

    3. If that doesn’t help, add this filter in your active theme’s functions.php file:

    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

    If the issue persists, we might need to take a closer look at your website’s settings. Please edit the first post on this ticket and include your WordPress login in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    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 Jeremy

    Thank you for your response.

    I tried the three steps you mentioned, but unfortunately, none of them works.

    Can you please check further?

    I have updated the sensitive data as requested.

    Thank you.

    Hello,

    Thank you for providing the login details.

    After further investigating the issue, I noticed that the posts/pages that are meant for those sitemaps are marked as ‘noindex’ as you can see in the sample screenshot below:

    noindex

    Please ensure that these posts and category pages are set to index in the robots meta since Rank Math will only include indexed pages in the sitemap.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Thank you.

    I will update them and let you know.

    Thank you for your help, Jeremy.

    The sitemaps are now fixed.

    Hello,

    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 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this ticket.