How to Increase 8MB Upload Limit for All-in-One WP Migration Plugin

you will learn how to quickly unlock the All-in-One WP Migration plugin extension for free, which will remove the 512 MB/8MB upload limit and increase it to unlimited.

Before getting started with this tutorial, you should have already installed WordPress on a web hosting provider such a Google Cloud, SiteGround, Bluehost, or Amazon AWS.

To get started, follow along with the video above. If you get stuck, check below to see the steps listed individually with images.


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.

There are 7 steps in this tutorial:

  • 1. Activate Plugin

  • 2. Open Plugin Editor
  • 3. Select Plugin
  • 4. Open Constants.php File
  • 5. Edit Constants.php File
  • 6. Save Changes
  • 7. Test Settings

1. Activate Plugin

2. Open Plugin Editor

3. Select Plugin

4. Open constants.php File


After selecting the All-in-One WP Migration plugin, select constants.php from the list of plugin files.

5. Edit constants.php File

Scroll down to line 249 of the constants.php file to the Max File Size section, and add * 20 next to the existing number as shown below:

// =================
// = Max File Size =
// =================
define( ‘AI1WM_MAX_FILE_SIZE’, 536870912 * 20 );

6. Save Changes

Scroll to the bottom of the page and click on Update File in order to save changes.

7. Test Settings

If your changes were successful, you will notice that the maximum upload filesize has been increased to 10GB.

Additional Information

If you ever need to increase the upload limit to more than 10GB, simply increase the multiplier. By using a multiplier of 60 instead of 20 (as shown below) you would increase your upload limit to 30GB.

// =================
// = Max File Size =
// =================
define( ‘AI1WM_MAX_FILE_SIZE’, 536870912 * 60 );

Be aware that the upload limit will revert back to 8/512MB whenever the plugin is updated, so you will need to repeat this tutorial if you ever update the plugin.

Advanced Users

If you prefer to edit the file from outside of WordPress, you can find the plugin’s contants.php file by using the following file path:


For Google Cloud, AWS, and Azure users – use the file paths below to locate your constants.php file.

If you’re using WordPress Bitnami, your constants.php file will be located at:


If you’re using WordPress Click-to-Deploy, your constants.php file is located at:


That’s it!

If you have any questions or comments about this tutorial, be sure to post them below!



Leave a Reply

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