New Posts are not appearing in sitmap

#920342
  • Resolved Jacob Will
    Rank Math free

    Hi

    I am facing 2 serious problems, which are as under

    1. Whenever I publish a new post, it doesn’t appear in sitemap & since it doesn’t appear in sitemap.xml file. I can’t submit it Google search console, & can’t get it indexed.

    2. I often get this error “Coudln’t fetch sitemap” Altough i tried everything & checked the solutions but I am stille getting this error message.

    Please help me in resolving these error as I am getting very much tensed due to this situation. I am not a techie, so If some one helps me in easy steps I’ll be grateful.

    Regards!

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

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    For troubleshooting, 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/

    Once done, remove all your submitted sitemaps and resubmit your main sitemap only /sitemap_index.xml. Then, give Google some time to recrawl your sitemaps. You will notice the “Last read” date column will be updated as well.

    Looking forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Your sitemap loads perfectly fine on our end. If the issue persists, please share the new posts that aren’t showing in the sitemap.

    Looking forward to hearing back from you.

    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 3 replies - 1 through 3 (of 3 total)

The ticket ‘New Posts are not appearing in sitmap’ is closed to new replies.