• 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 www.remarpro.com.

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    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.

    Thread Starter multiplex77

    (@multiplex77)

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

    mike62

    (@mike62)

    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!

    Samuel B

    (@samboll)

    @mike62
    no ftp – it interacts with the database

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

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Import large WordPress XML file’ is closed to new replies.