regenerate sitemap

#253438
  • Resolved Doug Johnson
    Rank Math free

    My sitemap hasn’t regenerated since 8/13 (it’s 9/2 right now). It still contains a business directory link from a plugin I no longer have installed, and does have any of the new items even though I have them set to include in the sitemap. I’m specifically interested in the Post Types of Artists – Listings and Shops – Listings

    https://chicago.inkworkdirectory.com/sitemap_index.xml

    I’ve tried forcing the permalinks to rebuild, and cleared the cache, but nothing seems to affect it. Is there any chance you could look and see if there is anything I am missing?

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

    Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.

    If you have already increased the limit but the sitemap is not updating, please 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/

    Let us know how that goes. Looking forward to helping you with this one.

    Thanks for the quick reply. I tried the htaccess no-cache, and then also disabling all of my caching and minifying and gzip’ing just to make sure nothing was getting in the way, but I’m still seeing the same old sitemap.

    Hello,

    We added the following filter to exclude the caching of the sitemap on your website:

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

    After doing that and flushing the permalinks the sitemaps all show correctly.

    Hope this helps solve your issues.

    Don’t hesitate to get in touch if you have any other questions.

    thanks for the awesome information.

    Yeah that did the trick. Thank you very much!

    Hello,

    Glad that helped.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

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

The ticket ‘regenerate sitemap’ is closed to new replies.