Increase 512MB Upload Limit for All-in-One WP Migration Plugin

December 23, 2017Leron AminComments Open

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

Using the WordPress Migration plugin is a great time saver when transferring your WordPress website between hosting providers.

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 skip the steps in this tutorial and simply download the unlimited version of 6.77 here.

1. Activate Plugin

all-in-one wp migration unlimited extension free
Make sure that your All-in-One WP Migration plugin is activated.

2. Open Plugin Editor

all-in-one wp migration unlimited extension free
From your WordPress sidebar menu, click on Editor under the Plugins column.

3. Select Plugin

all-in-one wp migration unlimited extension free
In the upper right-hand corner of the Editor page, select the All-in-One WP Migration plugin.

4. Open constants.php File

all-in-one wp migration unlimited extension free
After selecting the All-in-One WP Migration plugin, select constants.php from the list of plugin files.

5. Edit constants.php File

all-in-one wp migration unlimited extension free
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

all-in-one wp migration unlimited extension free
Scroll to the bottom of the page and click on Update File in order to save changes.

7. Test Settings

all-in-one wp migration unlimited extension free
If your changes were successful, you will notice that the maximum upload filesize has been increased to 10GB.

8. Optional Increases

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 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 *

Made with by

© 2020 One Page Zen Systems, LLC  
Legal  |  Privacy Policy  |  Affiliate Disclosure  |  Contact  

Join our Mailing List!

Exclusive early access to the latest tutorials

Monthly update with a list of upcoming tutorials

Special access to members-only events and webinars