all-in-one-wp-migration-increase-upload-limit-10

How to quickly increase the All-in-One WP Migration plugin upload limit

Update 11/09/2018

For the instructions outlined in this tutorial to work, you must use version 6.77 or earlier of the All-in-one WP Migration Plugin.

You can download version 6.77 here, all-in-one-wp-migration.6.77

In the constants file…  
/wp-content/plugins/all-in-one-wp-migration/constants.php

Find this…

// =================
// = Max File Size =
// =================
define( ‘AI1WM_MAX_FILE_SIZE’, 2 << 28 );

and replace with this…

// =================
// = Max File Size =
// =================
define( 'AI1WM_MAX_FILE_SIZE', 2 << 28 *1.2);

And you will have 16GB upload limit.

Increasing the 512MB size limit on All-in-One WP Migration Plugin

If the size of your .wpress file exceeds 512MB, you will be invited to buy the Unlimited Extension of All-in-One WP Migration.

wpress-file-exceeds-512MB

Go ahead and open up /wp-content/plugins/all-in-one-wp-migration/constants.php

Find constants.php on following path

Lines 246:249 define the file upload size limit, there’s a nice comment there indicating such. If you’d like to control+f “size”, it should take you right to it.

// =================
// = Max File Size =
// =================
define( 'AI1WM_MAX_FILE_SIZE', 536870912 );

You’ll see the max size is defined in Bytes. In order to increase the upload size limit to 4GB, simply multiply the number seen here by 8.

// =================
// = Max File Size =
// =================
define( 'AI1WM_MAX_FILE_SIZE', 4294967296 );

Alternative Method

// =================
// = Max File Size =
// =================
define( 'AI1WM_MAX_FILE_SIZE', 536870912 * 8 );

Once you complete save the file and navigate back to the “import” function for the All-In-One Migration Plugin. The file upload limit now reads 4GB.

wpress-file-exceeds-512MB-1

Now you can upload your file

20 thoughts on “How to quickly increase the All-in-One WP Migration plugin upload limit”

    1. Hello George,

      Did you download version 6.77 (link is given in the second paragraph)?
      It’ll not work with the latest version of All-in-one Migration plugin.

  1. Be careful with pairing the ph version of the old hosting and the new one. The version 6.77 works ok. Thanks.

  2. Hot damn dude,

    I knew there was something wrong with the plugin itself. The company wants you to pay for their service, and they lied about you can manually change the upload limit.

    Only the older version can do this trick, awesome, thanks.

    1. Joy To The World

      It work with latest version when you change the 28 to 32 0r what ever you like
      // =================
      // = Max File Size =
      // =================
      define( ‘AI1WM_MAX_FILE_SIZE’, 2 << 28 );

      to// =================
      // = Max File Size =
      // =================
      define( ‘AI1WM_MAX_FILE_SIZE’, 2 << 32 );

      Cheers

Leave a Comment

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

Scroll to Top