My sitemap is not updated after publishing a new post

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

    We apologize for the issue you are facing with your sitemap not updating after publishing a new post. It seems like you have already taken some steps to resolve the issue by excluding the Rank Math sitemaps from caching, which is great.

    Here are a few additional steps you can try:

    1. Check Caching Plugins: If you are using any caching plugins, ensure that they are configured to exclude the sitemap from being cached. You can refer to our guide on excluding sitemaps from caching for detailed instructions.

    2. Verify Sitemap Settings: Go to Rank Math SEO → Sitemap Settings and ensure that the sitemap settings are correctly configured to include all posts.

    3. Clear Cache: If you have server-side caching enabled (like Varnish or Nginx caching), make sure to clear that cache as well.

    4. Check for Plugin Conflicts: Sometimes, other plugins may conflict with Rank Math. You can use the Health Check plugin to troubleshoot this.

    5. Manual Sitemap Refresh: You can also try manually refreshing the sitemap by visiting your sitemap URL directly in your browser (e.g., `https://rankmath.com/kb/connect-your-google-account/). This sometimes prompts an update.

    If none of these solutions work, please reply to this ticket, and a human agent from the Rank Math Support team will take over and assist you further. Thank you for raising this concern!

    Hello,

    Thank you so much for getting in touch.

    You are currently looking at the index sitemap which is the root sitemap. Please visit the post-sitemap.xml and you should see your post showing there:

    Rank Math support

    If you still don’t see the link from your end, there might some heavy caching in your sitemap. To fix that, please follow the steps below:

    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. Apply the following filter code to your site.

    
    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

    Here’s how you can add filter to your WordPress site:https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    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 ‘My sitemap is not updated after publishing a new post’ is closed to new replies.