Hello,
We apologize for the issue you are facing with your sitemap not updating after deleting pages from your website. To ensure that your sitemap reflects the current state of your website, you can follow these steps:
-
Check Your Settings: Make sure that the Sitemap module is enabled in Rank Math. You can do this by going to Rank Math > Sitemap Settings.
-
Clear Cache: If you are using a caching plugin, clear the cache to ensure that the latest version of your sitemap is generated.
-
Regenerate Sitemap: You can manually regenerate your sitemap by going to Rank Math > Sitemap Settings and clicking on the "Save Changes" button. This should trigger an update to your sitemap.
-
Submit to Google: After updating your sitemap, make sure to submit the new sitemap URL to Google Search Console to help Google crawl the updated links. Your sitemap URL is typically https://yourdomainname/sitemap_index.xml
.
If you continue to experience issues or if the sitemap does not update as expected, we recommend checking for any plugin conflicts or reviewing your robots.txt file to ensure it’s not blocking the sitemap.
For more detailed guidance, you can refer to our article on fixing sitemap issues.
If you would like comprehensive assistance, consider our professional setup service available at Rank Math Services, which requires a PRO subscription. This service ensures that your plugin setup is fully correct and adheres to the latest SEO standards.
Thank you for raising this concern! If you have any further questions or need additional help, please reply to this ticket, and a human agent will assist you further.
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank Math
This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.
Still facing issues, can you help me another way?
Hello,
Thank you for contacting us. We apologize for any inconvenience that may have been caused.
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/
Once done, clear your website cache and check the sitemap again.
Let us know how it goes. We look forward to hearing from you.
Thank you.