Website Sitemap is not updating

#1103156
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    We apologize for the issue you are facing with your website’s sitemap not updating. This can happen for a few reasons. Here are some steps you can take to troubleshoot and potentially resolve the issue:

    1. Flush Permalinks: Sometimes, simply saving the permalinks can help. Go to your WordPress dashboard, navigate to Settings > Permalinks, and click Save Changes without making any changes.

    2. Check Sitemap URL: Ensure that you are submitting the correct sitemap URL to Google. The correct URL should be `https://rankmath.com/blog/clear-cache-in-wordpress/.

    3. Check for Plugin Conflicts: There might be a conflict with another plugin. You can use the Health Check plugin to identify any conflicts.

    4. Clear Cache: If you are using a caching plugin, clear your website cache and try again.

    5. Check Robots.txt: Make sure that your sitemap URL is not blocked in your robots.txt file. You can check this by going to Rank Math SEO > General Settings > robots.txt.

    6. Review Custom Canonicals: If you have set custom canonical URLs for your posts, they may not appear in the sitemap. Consider removing them if you want all posts to be included in the sitemap.

    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:
    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.

    issue still persist

    Hello,

    Thank you for contacting us. We apologize for any inconvenience this issue may have caused.

    Please follow the steps below for initial troubleshooting:

    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/

    If the issue persists then try disabling the transient cache for the sitemap. This will make sure that your XML sitemap always reflects the latest changes on your site. Kindly add this code snippet to 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/.

    After you add the code, please clear any cache on your site or server and check your XML sitemap again. If you’re still facing issues with the sitemap, please let us know – we are happy to investigate further.

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

You must be logged in to reply to this ticket.