-
Hello,
I’ve deactivated the Sitemap module in Rank Math, as I’m using a different plugin for XML and Google News sitemaps.
However, even after disabling the module via the Rank Math settings (and verifying that the sitemap_module is off), the old Rank Math sitemap URLs like:
/sitemap_index.xml
/post-sitemap1.xml
/page-sitemap.xml
…are still redirecting to the homepage (302 or 301 redirects), instead of returning a 404 or letting the new plugin take over.
I’ve verified that:
No redirection plugins are active.
.htaccess has no manual redirects.
The new sitemap plugin works when tested on other URLs.
This behavior seems hardcoded or persistent even after disabling your module.
🔧 I even tried deleting relevant rank_math_options rows from the database and flushing rewrite rules, but these sitemap URLs still get intercepted.
Please confirm how to completely remove or unregister Rank Math’s sitemap rewrites and filters.
Ideally, disabling the sitemap module should remove all trace of it from the frontend routing.Thank you.
The ticket ‘Cannot fully disable Rank Math Sitemaps – still redirected to homepage’ is closed to new replies.