Title: How to split custom modules?
Last modified: August 31, 2016

---

# How to split custom modules?

 *  Resolved [xberg](https://wordpress.org/support/users/xberg/)
 * (@xberg)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/how-to-split-custom-modules/)
 * Hi,
 * I am using your custom modules and would like to have the XML split.
    I have 
   my options set as: Global limit = 50000 split limit = 10000 Database query limit
   = 5000
 * I have Splitpost-based sitemaps enabled (my custom modules are child of post)
 * And despite this, my custom module XML files are 50,000.
 * [https://wordpress.org/plugins/bwp-google-xml-sitemaps/](https://wordpress.org/plugins/bwp-google-xml-sitemaps/)

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

 *  Plugin Author [Khang Minh](https://wordpress.org/support/users/oddoneout/)
 * (@oddoneout)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/how-to-split-custom-modules/#post-7217428)
 * You should see sitemapindex.php module file to know how to split your custom 
   module. If your custom module is a child module of post it should have been split
   automatically unless there are less than 10000 items in your custom module’s 
   sitemap.
 *  Thread Starter [xberg](https://wordpress.org/support/users/xberg/)
 * (@xberg)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/how-to-split-custom-modules/#post-7217443)
 * Hi,
    It’s indeed a child of post. It has 46,000 URLS and all in one block. I 
   tried refreshing / recreating the sitemap and still the same. So for some reason
   the split function is not working… I have split post and the limit set at 10K.
 *  Plugin Author [Khang Minh](https://wordpress.org/support/users/oddoneout/)
 * (@oddoneout)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/how-to-split-custom-modules/#post-7217472)
 * Would you mind sending your custom module files to me? You can use the contact
   form here: [http://betterwp.net/contact/](http://betterwp.net/contact/) .
 *  Thread Starter [xberg](https://wordpress.org/support/users/xberg/)
 * (@xberg)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/how-to-split-custom-modules/#post-7217480)
 * Sure! Will do this right now. Thanks!

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

The topic ‘How to split custom modules?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bwp-google-xml-sitemaps_fffefe.svg)
 * [Better WordPress Google XML Sitemaps (support Sitemap Index, Multi-site and Google News)](https://wordpress.org/plugins/bwp-google-xml-sitemaps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bwp-google-xml-sitemaps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bwp-google-xml-sitemaps/)
 * [Active Topics](https://wordpress.org/support/plugin/bwp-google-xml-sitemaps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bwp-google-xml-sitemaps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bwp-google-xml-sitemaps/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [xberg](https://wordpress.org/support/users/xberg/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/how-to-split-custom-modules/#post-7217480)
 * Status: resolved