Change in XML sitemap Url entries structure, Oldest first

  • Hi team,
    Few months back i started a topic which is below and could not solve the problem, Later i tried with other SEO plugin and got messed up with some important functions.

    I have total number of 1.5 Million posts and then i have 4000-5000 URLs in every XML sitemap.

    Now i wanna give another try with Rank Math, what i think a solution to my problem could be caching XML sitemap and increase the post limits. However every time a new post is published it changes all Sub-sitemaps because new post appears first in order. Is there any option where we can change this order and new post appears last and old post appears first, because in that way the old sitemaps will remain as it is and only the last one will get updated and we can focus on that one only which will not slow down the website again & again

    Please advise if it can be achieved in any settings or with any code snippets.

    Surender Mehra

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

    Thanks for getting in touch with us.

    We are sorry but it is not possible to do with Rank Math.

    I will share your feedback with our dev. team and see if there is a way to do this using a filter.

    We will keep you posted.

    Hi Todd,

    Thanks for your reply, It will be beneficial for large sites and eCommerce because sometimes we use caching on xml sitemap and right now cashing does not work because of frequent updates it is keep on changing with every update as the new entry comes in (sitemap1) instead of last sitemap for the same field. as it comes first it changes the structure of all other sitemaps too.

    Please let me know if you guys find some solution for this.

    Surender Mehra

    HI Surender,

    Thank you for the reply.

    We will keep you posted 🙂

    Thank you.


    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 ‘Change in XML sitemap Url entries structure, Oldest first’ is closed to new replies.