Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
Please follow these steps to regenerate the sitemap and update the links:
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. Clear your website’s cache and browser’s cache.
Hope this helps solve your issues.
Don’t hesitate to get in touch if you have any other questions.
Hi Miguel,
Exclusions were applied to both LSCache and .htaccess
The filter code was already there in my theme function file
Regenerated the sitemaps as instructed.
Cleared both LSCache and Cloudflare cache
However, the issue is still the same as I expected because I have all other sitemaps working fine, so the issue seems to be more specific to the wpdmpro-sitemap.xml. And that was the reason I approached the WP-Download-Manger developers 1st, and their reply was to adjust the rss/xml feed in RankMath. It seems it works will RSS and not XML.
Hello,
I checked on my local installation, Rank Math is generating the sitemap without any issues:
![wpdoro](https://i.rankmath.com/cx3gMM+)
Please ensure that the Downloads on your website are set to index.
Head over to Rank Math > Titles & Meta > Downloads > Enable File Robots Meta > Check index Checkbox.
That should fix the issue.
If the issue persists, please share the URL of a download page generated with the Download Manager plugin.
We look forward to helping you.
Thank you Anas that was the problem. I had it on “No Index”.
Thanks once more.
Hello,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.