Import large WordPress XML file (6 posts)

  1. multiplex77
    Posted 8 years ago #

    Hi everyone,

    I've just exported my old WordPress.com blog to a 14MB XML file and have been trying to import it to my new WordPress.org.

    To overcome the 2MB limit, I have followed the instuctions here to edit the /wp-admin/import.php and /wp-admin/import/wordpress.php files.

    However my Import page still displays the 2MB limit. When I try to import the file, after taking a long time to load, I get an error "Problem loading page - The connection was reset".

    What else should I do to import this huge file? I keep reading about editing php.ini. Where is this file located? I can't find it anywhere.

    Thanks for the help.

  2. If you use shared hosting services, you may have to ask your host to increase your upload limit.

    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.

  3. multiplex77
    Posted 8 years ago #

    I managed to do it by creating a new php.ini file with those new settings. Thanks for the help!

  4. mike62
    Posted 7 years ago #

    I've followed all the steps above, and still can't get my upload limit increased. Is there no way to upload the file via ftp and access it directly from the server? This seems like it should be a no-brainer solution!

  5. Samuel B

    Posted 7 years ago #

    no ftp - it interacts with the database

    any decent host will increase the limit for you if you need it

  6. mike62: Only your host can help you with the correct way to alter those values. You will need to talk to them, or search their help files.

Topic Closed

This topic has been closed to new replies.

About this Topic