All-in-One WP Migration

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

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.

IMPORTANT UPDATE (09/23/2020): You can skip the steps in this tutorial and simply download the unlimited version of this plugin from Github.

1. Activate Plugin

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

Make sure that your All-in-One WP Migration plugin is activated.

2. Open Plugin Editor

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

From your WordPress sidebar menu, click on Editor under the Plugins column.

3. Select Plugin

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

In the upper right-hand corner of the Editor page, select the All-in-One WP Migration plugin.

4. Open constants.php File

Open constants.php File
Increase 512 MB Upload Limit for All-in-One WP Migration Plugin

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

5. Edit constants.php File

Edit constants.php File
Increase 512 MB Upload Limit for All-in-One WP Migration Plugin

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

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

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

7. Test Settings

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

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:

/wp-content/plugins/all-in-one-wp-migration/constants.php

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:

/opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/all-in-one-wp-migration/constants.php

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

/opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/all-in-one-wp-migration/constants.php

That’s it!

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

Похожие записи

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *