+ Reply to Thread
Results 1 to 5 of 5

Thread: Wordpress: XML File Too Large to Import

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Location
    Canada
    Posts
    1

    Unhappy Wordpress: XML File Too Large to Import

    Apologies if this has been addressed, but I'm one of those dreaded new users who hasn't a clue what they're doing yet.

    I'm having issues importing my blog to my new domain. It wouldn't import directly from blogger so I tried a work around suggested in another forum. i.e. to start a free wordpress site, import to that, then export it into an XML file to import to my new domain. Everything went smoothly except for the importing to my new domain.

    I get a message of "Are you sure you want to do that?" and "Please try again." The file is 9.86 MB so I'm thinking that might be the issue, but I'm not certain.

    Any ideas? I don't have the technical knowledge to file split, though I have been researching the topic in hopes of figuring it out on my own. Any advice would be hugely appreciated.

    Cheers,
    Kimberly
    Last edited by Kymburlee; 09-15-2008 at 07:47 PM. Reason: typo

  2. #2

    Default

    I don't remember exact filesizes, but when I imported around 1500 posts into my blog (http://www.u-g-h.com), I had to mess around with splitting the file into different chunks as it was too big for WP to deal with in one go.

    It wasn't easy as the file is XML so you can't just break it up. Took me a couple of hours if I remember correctly, but wasn't too hard.

    Main advice is to make sure the XML is well-formed before importing, otherwise the import won't work. You do this by opening it in Internet Explorer. If the is an XML error, it will tell you straight away.

    Sorry I can't be any more specific than that.

    Owen

    --------------------
    Tech Blog - Personal Blog - Business Blog - Ask Owen
    - Catch me on Twitter?

  3. #3
    Join Date
    Sep 2008
    Posts
    141

    Default

    Quote Originally Posted by Kymburlee View Post
    Apologies if this has been addressed, but I'm one of those dreaded new users who hasn't a clue what they're doing yet.

    I'm having issues importing my blog to my new domain. It wouldn't import directly from blogger so I tried a work around suggested in another forum. i.e. to start a free wordpress site, import to that, then export it into an XML file to import to my new domain. Everything went smoothly except for the importing to my new domain.

    I get a message of "Are you sure you want to do that?" and "Please try again." The file is 9.86 MB so I'm thinking that might be the issue, but I'm not certain.

    Any ideas? I don't have the technical knowledge to file split, though I have been researching the topic in hopes of figuring it out on my own. Any advice would be hugely appreciated.

    Cheers,
    Kimberly
    The maximum size is controlled by two PHP settings: upload_max_filesize, and post_max_size. These are PHP.INI settings, and you may or may not be able to modify them yourself. It depends on your host. So you have to ask them what the correct way to change their value is for their setup. You may need to edit the .htaccess, you may need to add a few ini_set lines to your wp-config.php file, or you may need to edit a PHP.INI file. Can't say for sure.

    Might need to request a support ticket.

    Felgall will probably chime in and let you know exactly what is going on. =]

  4. #4
    Join Date
    Nov 2006
    Posts
    18

    Default

    you can override upload file sizes using an .htaccess file using:

    Code:
    php_value upload_max_filesize 20M
    in this case the max file size would be 20MB

    I've wrote a tutorial on this over at http://www.webguideuk.com/ht-access/...-htaccess-file
    Web Design Tutorials- http://www.webguideuk.com

  5. #5
    Join Date
    Feb 2007
    Location
    http://www.bluehostreview.org
    Posts
    1,104

    Default

    since you having trouble with the file size... you can send your XML script to bluehost support and asked them to import for you.
    Charles Gan
    Bluehost Reviews : Bluehost reviews hosted at bluehost
    Bluehost Speed Test : bluehost hosting speed Test!
    Bluehost Uptime : Bluehost uptime monthly reports

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts