-
Hello Rank Math Support Team,
I need your help with a very stubborn sitemap issue on my website, bsbagfactory.com.
The Goal:
I have a multilingual site using TranslatePress. I have recently removed several language versions (e.g., /en_au/, /en_gb/, /pt/, etc.) and have successfully set up 301 redirects for all their URLs to my main language version.The Problem:
My sitemap is not updating to reflect these changes. The sitemap_index.xml and all its sub-sitemaps are stuck on an old “Last Modified” date (August 23, 2025) and still contain thousands of URLs for the languages that have been removed.Exhaustive Troubleshooting Steps I Have Already Taken:
I have followed all standard and advanced procedures, but the sitemap file on the server is physically not being updated. Here is everything I’ve done:
Confirmed Languages Removed: The old languages have been completely removed from the TranslatePress plugin settings. The language switcher on the site is correct.
Confirmed No “Ghost” Content: I have manually checked the WordPress Admin lists for Pages, Posts, and Products. I used the language filters and confirmed there are NO remaining entries for the languages I removed. The database appears clean from the admin view.
Forced Sitemap Regeneration: I have tried to force a regeneration multiple times by going to Rank Math -> Dashboard and toggling the Sitemap module OFF and then back ON, saving each time.
Cleared ALL Possible Caches: I have purged every cache layer multiple times, including:
LiteSpeed Cache (“Purge All”)
Hostinger’s server-level cache
Cloudflare CDN cache (“Purge Everything”)
Rank Math Transients (via Status & Tools)
My browser cache (always testing in Incognito mode)
Rebuilt Rank Math’s Data: I have used the Rank Math -> Status & Tools -> Database Tools to run both Rebuild Index for Analytics and Remove Transients.
Despite all these actions, the sitemap date remains stuck on August 23, 2025, and the content is incorrect.
This leads me to believe the issue is very deep, possibly with how Rank Math’s sitemap function is querying the database or that there is some corrupted data in a custom table that is not being cleared by the standard tools.
Could you please provide guidance on how to force a true, deep, database-level regeneration of the sitemap data? Are there any other database tables or options I need to clear to make Rank Math completely re-scan my site’s current, correct structure?
I am willing to provide temporary admin access to the site if needed for your investigation.
Thank you for your help.
The ticket ‘Subject: Urgent: Sitemap is not regenerating after major site changes’ is closed to new replies.