How to quickly increase the All-in-One WP Migration plugin upload limit
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.
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.
Now you can upload your file