new urls of post is not added in sitemap.

#1107941
  • robert
    Rank Math free

    I have followed all of the instructions from your article and seen the video, but in vain. My site has not updated the new posts’ URLs. I even clear the cache. I am seriously thinking of shifting to another option of sitemap.

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

    I apologize for the issue you are facing with your new post URLs not being added to the sitemap. It sounds frustrating, especially after following the instructions and clearing the cache.

    Here are a few things you can check:

    1. Noindex Setting: Ensure that the new posts are not set to Noindex. You can check this in the Advanced tab settings of each post.
      No index Robots Meta selected in Advanced tab

    2. Sitemap Settings: Verify that the posts are not excluded from the sitemap settings. Go to Rank Math SEO → Sitemap Settings and check if any post IDs are listed under Exclude Posts.
      Exclude posts and terms in Sitemap settings

    3. Empty Archive Pages: If your new posts belong to categories or tags that have no other posts, those archive pages might be excluded by default. You can enable the Include Empty Terms option in your category/tag/custom taxonomy archive settings.
      Include Empty Terms in Rank Math

    4. Caching Issues: Since you’ve already cleared the cache, ensure that there are no other caching plugins or server-side caching that might be affecting the sitemap.

    If you’ve checked all these and the issue persists, we recommend replying to your ticket with your site URL so that a human agent from our support team can assist you further. They will be able to provide more specific guidance tailored to your situation.

    Thank you for raising this concern, and we hope to resolve it for you soon!

    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.

    Off Roblox
    Rank Math free

    Same issue

    Hello,

    Thank you for your patience.

    In this case, 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/

    Then, head over to your website files /wp-content/uploads/rankmath/, and delete any XML files from that path.

    If the issue persists, try updating the plugin to the beta version, as we have included a fix for sitemap caching issues.

    Here’s a guide you can follow:
    https://rankmath.com/kb/version-control/#beta-updates

    Let us know how this goes.

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

You must be logged in to reply to this ticket.