Title: How to split xml feed?
Last modified: December 6, 2022

---

# How to split xml feed?

 *  Resolved [18TommyBoy](https://wordpress.org/support/users/18tommyboy/)
 * (@18tommyboy)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/how-to-split-xml-feed/)
 * Good day,
    I have one feed with 30000 entry, server never can finish it (1GB 
   PHP memory and so on but not help), how split it to 2 or 3 pieces?
    -  This topic was modified 3 years, 6 months ago by [18TommyBoy](https://wordpress.org/support/users/18tommyboy/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/how-to-split-xml-feed/#post-16270024)
 * Hey [@18tommyboy](https://wordpress.org/support/users/18tommyboy/),
 * > how split it to 2 or 3 pieces?
 * It would either have to be done manually, or with custom code.
 * That said, have you tried setting the records per iteration down to 1 (see [https://d.pr/i/XRjZEG](https://d.pr/i/XRjZEG))
   and running the import with cron jobs (see [https://www.wpallimport.com/documentation/cron/](https://www.wpallimport.com/documentation/cron/))?
 * If it still fails with that, you can work with your web host to figure out what
   error is stopping the import from being able to complete: [https://gist.github.com/mbissett/d98d1acdf4b2ba11bc67d6f652d4497c](https://gist.github.com/mbissett/d98d1acdf4b2ba11bc67d6f652d4497c).

Viewing 1 replies (of 1 total)

The topic ‘How to split xml feed?’ is closed to new replies.

 * ![](https://ps.w.org/wp-all-import/assets/icon-256x256.png?rev=2570179)
 * [WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets](https://wordpress.org/plugins/wp-all-import/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-all-import/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-all-import/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-all-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-all-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-all-import/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/how-to-split-xml-feed/#post-16270024)
 * Status: resolved