The MU forums have moved to WordPress.org

How to export a wordpress xml file over 2M? (9 posts)

  1. italways
    Member
    Posted 16 years ago #

    just wonder how to overcome the 2M limitation when exporting a blog to wordpress xml file, is it possible to change some code somewhere to realize it? or is there any way to separate the big file into several small files less than 2M? thanks!

    P.S. on the wpmu 1.5RC, found a good new function when importing wordpress xml file - "upload images in the posts to the new blog", wonderful job!

  2. Trent
    Member
    Posted 16 years ago #

    You just need to change your php.ini on your server to allow larger file uploads (max_upload_size) or something similar. I have uploaded an 8 meg file once (after dumping akismet) and it worked fine as I set my upload max to 10 megs.

    Trent

  3. italways
    Member
    Posted 16 years ago #

    thanks! I thought it only works for uploading.

  4. masey
    Member
    Posted 15 years ago #

    @italways - did you ever get this to work in the end? My specific problem is that the "Export" function won't produce an XML file over 2MB. This, therefore means that about 18 months of posts don't get exported.

    I haven't even made it to the import function yet to see if size matters there...

    Anybody shed some light on a fix here?

  5. tdjcbe
    Member
    Posted 15 years ago #

    I still have never seen a valid xml file exported out that's that large. War and Peace as a txt file isn't 2 megs although it's close.

    Have you cleaned out your comment spam cache? That's usually what drives up the size.

  6. Ovidiu
    Member
    Posted 15 years ago #

    *cough* mine was 10MB and that was from a single wp install :-( if I knew thats not normal I'd checked beforehand :-)

  7. andrea_r
    Moderator
    Posted 15 years ago #

    "I still have never seen a valid xml file exported out that's that large. "

    Oh, I have. Ever since post revisions came out.

  8. tdjcbe
    Member
    Posted 15 years ago #

    We turned post revisions off. That's probably why we're still not seeing the extra large files.

  9. andrea_r
    Moderator
    Posted 15 years ago #

    A lot of people on single WP have no idea how to turn it off.

About this Topic

  • Started 16 years ago by italways
  • Latest reply from andrea_r