by Ron

Advanced Export for WP and WPMU

Note: This WordPress plugin has been submitted to the weblogtooolscollection plugin competition 2009.

Working with a single large export file can be difficult. Use this plugin to create multiple export files that contain sections of your blog. This plugin has been tested on WP versions 2.7 – 2.8 & WPMU 2.7.X.

All restriction options provided in the plugin are optional. If no restrictions are selected, this plugin generates the same export file as the export feature built into WP & WPMU.


Export by any combination of:

  • Date Range – Start & end month/year
  • Author – Same as WP/WPMU built-in export
  • Category – Export a specific category
  • Content type – Choose either posts or pages
  • Post status – Choose Draft, Published, Scheduled or Private


Advanced Export for WP and WPMU

The plugin can be downloaded from the plugin repository. (HT: Trent who did some early testing for me 🙂 )



  1. That is a great idea for a plugin. Think it’s something that belongs in WP core?
    .-= Donncha O Caoimh´s last blog ..The King of Pop is dead =-.

  2. Hi,

    I’ve tried the plug-in to export some of the posts at but the exported xml file has an error.

    Here is the error message Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 71 bytes) in /h…

    How can i fix this problem?
    .-=´s last blog ..Katekyo Hitman Reborn 116 =-.

  3. by the way, I’m using wordpress 2.8

    I tested it on wordpress 2.7 and it works but not working in 2.8
    .-=´s last blog ..Katekyo Hitman Reborn 116 =-.

  4. I found the solution to my problem. I just edited the wp-settings.php file, went to line number 13 and changed the default memory allocation from 32MB to 64MB.

    It works like a charm now! Thanks for this wonderful plug-in
    .-=´s last blog piece 107 watch one piece episode 107 raw english sub =-.

  5. I’ve written a short review of this excellent plugin in

    I’ve checked the plugin not only in WP 2.7.1 but also in WPMU 2.7.1, and the two applications show the same behaviour: all the options and combinations of the export process work fine, except the ones implying the “Restrict Author” option.

    If I choose one author, the resulting XML doesn’t include the posts, only the tags. Any idea?
    .-= Eduardo Larequi´s last blog ..¡Ah, si yo hubiera tenido este plugin antes! =-.

  6. Hey, first of all, this is great plugin. Im trying to export all my post from my site and without your plugin I was not able to do that. So I’ve used your plugin and export post divided by year of posting, this is great and works. But I have problem with importing. I know that’s not problem of your plugin, but if you can help me I would be glad. Problem is, that with each export all categories get doubled. So if I import all 4 my exports, I got all categories 4 times. Do you know if this can be fixed somehow? Thanks for your help
    .-= franto´s last blog ..Inverse masking disclosed =-.

  7. Ray

    Great plugin! Was really handy for exporting categories of posts!

  8. Erkan


    Nice plugin, thanks 🙂

    But i cant export a specific category. Its only restric a category. I want to export a single category. Is it possible?

  9. diego


    I have a little wisthlist,

    it´s a fantastic plugin, but…
    …it´s posible to add the option to automatize it and send it to the mail??


  10. I voted this up for inclusion into the core and finally got around to making this my pick for donate friday. Thanks again for creating it. Only took two years of begging 🙂

  11. Vlad

    I’m hitting an odd problem. When running the export I get the following error message on the last line of the export file:

    Fatal error: Call to a member function initializeRss() on a non-object in /home/content/a/d/m/adminweblog/html/wp-content/plugins/feed-footer/feed-footer.php on line 57

    my current WP version is 2.8.4. Also the standard wordpress export functions just fine.

    Any ideas?

  12. I was wondering will there be a function in the import/export function that will allow for no duplicate categories?

    For example, can there be an IF/THEN statement that sees if a category already exists, and if so it will just add to the category ( such as CDATA ) or if not it will add the whole category?

    Just seeing how far the import function can go:)

  13. Great plugin, makes very manageable WP export files! Thanks for your work!

  14. nommo

    Any chance of adding comments to the content type?

  15. sbeo

    Hello, I’m running an older version of wp (2.6.2) is there anything I can do to get this plugin to work?

  16. Thank you! your plugin is a life saver ! Great idea !

  17. Sanny

    Great Plugin,
    any chance to add that also User Profiles can be exported? Or a hint if there is any other Plugin existing which exports them? Can’t let my client play around in mySQL!

    Cheers Sanny

  18. Anime

    Hey guys,

    I keep getting the following error:

    Fatal error: Maximum execution time of 30 seconds exceeded in /~/~/~/wp-includes/plugin.php on line 385

    When trying to export my database. Does anyone know of a Plugin to fix that, as I’m trying to export it into an .XML file.

    • Ron

      Try the Advanced Export for WordPress & WordPress MU. The link to it is in the post above.

      Alternatively, you can wait for WordPress 3.0 where the Advanced Export plugin functionality has been rolled into core.

  19. azwan

    Hi, thanx for the script. I got this error when try to export all the post.

    Firefox can’t find the file at http://….

    The solution was to export year by year. It must be because the size of export file was too big.

    • Ron

      The default export tool exported all the blog. The point of the Advanced Export was to allow breaking the export into several export files.

  20. Cheshmehregi

    Hello Ron
    I get this error when i try to export :
    Firefox can’t find the file at http://—–/wp-admin/export.php?mm_start=all&mm_end=all&author=all&export_taxonomy%5Bcategory%5D=0&export_taxonomy%5Bpost_tag%5D=0&export_post_type=all&export_post_status=all&—

    can you please let me know if you have any solution for this ?

    • Ron

      That’s the built in export you are using. If you have a large blog, try exporting one year at a time. Alternatively, you may be having an error with a plugin, etc.

      • Aaron

        Hi Ron,

        I’m having an issue with the built in export plugin in 3.0. Not sure if this is a good spot to ask for support, but thought I’d give it a shot.

        Basically the problem is that every time I try to export all posts from one category on my site, I get only one post. Not only that, but it’s often not even a post that is from the category I requested (!)

        Any idea why this might be happening?

        • Ron

          Sounds like a plugin. I just tried exporting a single category with no other filters set and got all the posts in that category.

          Try it with all your plugins turned off.

  21. alex gonzalez

    anyway to selects days within a month, I have a month with too many post for the plugin to handle and I get an empty file. It works fine with months that have less post …thanks Alex

    • Ron

      You’ll have to further restrict by doing one category at a time. The size of the export file is a result of the XML format & number of posts/amount of content. The export file has to match the format that you can re-import into WordPress.

Leave a Reply

Your email address will not be published / Required fields are marked *