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

26 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

  3. Hi!
    Thanks for the tip, but it seems that it doesn’t work anymore, even with the 6.77 version :((

    I get an error message : “Something went wrong. Your change may not have been saved. Please try again. There is also a chance that you may need to manually fix and upload the file over FTP.”

    It doesn’t work even when I try many times and with all the codes you gave us…

    Is there another way to do it?

    1. Hello Mar,

      – Download the 6.77 version zip file into your Laptop/Desktop.
      – Unzip it and open “constants.php” in your code editor
      – Make necessary changes in “constants.php” and save it.
      – Zip the plugin folder and upload the cracked version in your WordPress site.
      Now you don’t have to edit the plugin file(s) from your WordPress dashboard as the code is already in place.

      I hope it’ll help. Thanks

Leave a Comment

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

Scroll to Top