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, Microsoft Azure, 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
Make sure that your All-in-One WP Migration plugin is activated.
2. Open Plugin Editor
From your WordPress sidebar menu, click on Editor under the Plugins column.
3. Select Plugin
In the upper right-hand corner of the Editor page, select the All-in-One WP Migration 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.
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.
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:
If you have any questions or comments about this tutorial, be sure to post them below!