Support » Plugin: Disable WP Sitemaps » Redirect to RankMath

  • Resolved caroltheo



    Thanks for the plugin.

    I have activate this plugin and when I visit */wp-sitemap.xml, it redirects to my RankMath sitemap – */sitemap_index.xml

    Should it be doing this?

    Also, when I do a URL Inspection on Google Search Console, under sitemaps it shows as two sitemaps */wp-sitemap.xml and */sitemap_index.xml, even after I’ve activated your plugin.

    Please can you advise on the two points above, would be much appreciated.


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Starr


    Glad to help:

    1) “Should it be doing this?”

    No the plugin doesn’t do anything like redirect or anything other than disable WP sitemaps. Literally only one line of code in this plugin:

    add_filter('wp_sitemaps_enabled', '__return_false');

    So most likely some other plugin that is doing it. Maybe an SEO plugin or similar.

    2) “under sitemaps it shows as two sitemaps”

    Yeah it sounds like this issue may be related to the first one. I would try doing some basic troubleshooting of your plugins (and theme). That will help you understand what is happening (with both issues), by which plugin, etc.

    I would be glad to share a troubleshooting guide if it will be useful for you.

    Thread Starter caroltheo


    Thank you for your reply.

    I will contact RankMath support and see what they say.

    If no luck then that troubleshooting guide may be useful. Thank you.

    Plugin Author Jeff Starr


    Absolutely, here it is: How to Troubleshoot WordPress. Let me know if I can provide any further information, glad to help anytime.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.