Deleted Category vs. XML Sitemap not updated

#1101317
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello, I’m sorry to hear that you’re facing issues with your XML sitemap not updating after deleting categories and posts. This can happen if the sitemap settings or cache are not properly configured.

    Here are a few steps you can take to resolve this issue:

    1. Flush Permalinks: Sometimes, simply flushing the permalinks can help update the sitemap. Go to your WordPress admin area, navigate to Settings → Permalinks, and click on Save Changes without making any changes. This often resolves sitemap issues.
      Flush permalink settings

    2. Check Sitemap Settings: Ensure that the deleted categories are not set to be included in the sitemap. You can check this by going to Rank Math SEO → Sitemap Settings and ensuring that the categories you want to exclude are not checked.

    3. Clear Cache: If you have a caching plugin installed, clear your website cache. This can help ensure that the latest changes are reflected in the sitemap.
      For more information on clearing cache, you can refer to this guide.

    4. Revalidate Your Sitemap: After performing the above steps, revalidate your sitemap using the Validate XML Sitemap tool to ensure it is correctly configured.
      An example displaying how to validate a sitemap

    If the issue persists after trying these steps, please reply to this ticket with any additional details, and a human agent from our support team will assist you further. Thank you for bringing this concern to our attention!

    Sources:
    Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math
    Rank Math Sitemap Issues and Their Fixes » Rank Math

    Hello,

    Can you please try to follow the steps below and see if that works for you?

    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 the above steps don’t seem to work, kindly apply the following filter to your site.

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

    Here’s how you can add a filter/hook to your WordPress site:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    If the issue persists, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins 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/

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

    Thank you.

    Hi, thanks a lot for your help. Only with your point 3 was resolved, but that’s what really matters.Thansk again!

    Hello,

    We are glad that helped.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

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

The ticket ‘Deleted Category vs. XML Sitemap not updated’ is closed to new replies.