[Plugin: Google XML Sitemaps] Feature Request: Split Sitemaps (3 posts)

  1. jayant
    Posted 8 years ago #

    How about having the sitemap generator split the sitemap for users having wordpress installation with lot of posts with user configurable URLs per sitemap file.

  2. Arne Brachhold
    Posted 8 years ago #


    this would require a lot of refactoring within the plugin. The plugin would have to know about all the older sitemap files in case a post is deleted and that makes the whole thing a bit complicated.

    Do you really have that much posts? A sitemap file is allowed to contain up to 50.000 posts.

    Best regards,


  3. jayant
    Posted 8 years ago #

    thats actually quite easy to achieve...
    we can use a bucket scheme:-
    suppose i have a setting that each sitemap should contain only atmost 2000 posts.
    we decide which sitemap the post goes to based on its post-id:

    there maybe some posts that dont exist and hence the sitemap may contain less than 2000 urls, but that should be fine i think.. as it makes things/ calculations easier,

    when the user changes the setting for the max number of url per sitemap, we rebuild all the sitemaps.

    one of the blogs i have is since 1999 (one of the earliest blogs) and has more than 200,000 blog posts.

    if you need help implementing this feature, i will be happy to help.

Topic Closed

This topic has been closed to new replies.

About this Topic