Sitemap deletion

#856467
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    We apologize for the issue you are facing with the autogenerated template sitemap. To resolve this, please ensure that you have disabled the option to include the template in the sitemap settings. You can do this by navigating to WordPress Dashboard → Rank Math SEO → Sitemap Settings and ensuring that the option for the template is turned off.

    If the sitemap is still appearing after making these changes, it may be necessary to clear your website’s cache or check for any caching plugins that might be serving an old version of the sitemap. Additionally, you can try flushing the sitemaps cache from Rank Math settings.

    If these steps do not resolve the issue, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.

    Thank you for raising this concern!

    Sources:
    Is It Possible to Disable the URL /local-sitemap.xml? » Rank Math

    Hello,

    The include option in Sitemap settings should be enough to remove that in your sitemap index.

    If it’s still showing, please follow these steps to flush your sitemap cache:

    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. Disable the transient cache for the sitemap by applying this filter. This will make sure that your XML sitemap always reflects the latest changes on your site:

    /** 
     * Filter if XML sitemap transient cache is enabled.
     *
     * @param boolean $unsigned Enable cache or not, defaults to true
     */
    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

    If you’re not sure how to add this code, you can follow this guide:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Sitemap deletion’ is closed to new replies.