Solving All-in-One WP Migration Plugin Upload Size Limit Problem

Upload Limit for All-in-One WP Migration Plugin

All-in-One WP Migration is an awesome and powerful plugin for WordPress, especially for WordPress Developer. Today I will show you how you may remove the 512 MB upload limit for All-in-One WP Migration Plugin and increase it to unlimited.

Full and working All in One WP Migration plugin has been hosted in GitHub, you can download the working 6.77 version from this link, where the uploading limit has been fixed.

Before going to the step-by-step way to solve All-in-One WP Migration Plugin Upload Size Limit Problem, let’s see the issue first. If you are familiar with WordPress or working on WordPress as a developer like me, then you might need to transfer a site from one hosting to another hosting, or maybe from local development to a live server.

There are so many plugin is available to migrate WordPress site from one hosting to another hosting. Here is the 8 Best WordPress Migration Plugins:

I already used almost all of the migration plugin mentioned above. Though most of the time I used my own developed migration plugin, if I go with other solutions, then All-in-One WP Migration is my first choice to transfer or migrate the WordPress site.

Now lets be clear why this post has been written? If you are a regular user of All-in-One WP Migration, then I am sure that you face an Upload Size limit issue. Even if your Internet connection is slow like mine, then you will face some bigger issue to restore backup which is bigger than 512 MB to 600 MB.

All-in-One WP Migration has a total of three options:

  • Export
  • Import
  • Backups

You can export the whole website backup in any way, such as direct download, store in Dropbox, Google Drive, etc. You will also get same options while you will import backup.

All-in-One WP Migration Export and Import

You can export and download any file size, does not matter it is 512 MB or 2 GB. You will face an upload size limit issue only once you will try to upload a backup file of more than 512 MB. Because by default All-in-One WP Migration allows importing a maximum of 512 MB backups.

How to increase the upload size limit of All-in-One WP Migration in an easy way step by step

There are two ways to increase the Upload size limit of the All-in-One WP Migration plugin:

  • Editing htaccess file
  • Editing plugin core files

First lets learn to increase upload size limit of All-in-One WP Migration using htaccess.

Increase upload size using htaccess

As per the All-in-One WP Migration plugin author help guide you can increase the upload size limit by adding a few line codes in the .htaccess file. If you follow this way then you must have root access of the website. Here is the step by step guide on increasing the upload size limit of WordPress as well as the All-in-One WP Migration plugin:

1. First login into your cpanel or hosting panel.

2. Now click on File Manager to open website root. Note that you must need to enable show hidden files in file manager.

show hidden files in cpanel

3. Once you enable show hidden files options, you will see the .htaccess file in the file list. You need to option .htaccess file on editor as shown in bellow image.

edit htaccess files

 

4. Now copy bellow codes and paste at the bottom of you .htaccess file. Make sure you click on save button.

That’s it. Now if you go to import options of the All-in-One WP Migration plugin, then you will see that your Upload size limit has been increased.

Increase Upload Size limit of All-in-One WP Migration by editing code

Using htaccess method you can increase upload limit of All-in-One WP Migration easily. Actually this solutions is best if your Internet speed and hosting is really good. But if you are like me using shared hosting and also slow internet connection, then you might need to use All-in-One WP Migration other options called Backup Restore.

But in All-in-One WP Migration Backup option has also upload limit issue. Now I will show you how you can increase Upload size limit in All-in-One WP Migration backup restore options.

Step by step guide on increasing the upload size limit of All-in-One WP Migration:

You need to follow 7 easy steps to increase the upload size limit to restore the backup:

  1. First Install and Activate Plugin
  2. After then Open Plugin Editor
  3. Select All-in-One WP Migration Plugin
  4. Now select Constants.php File top Open on Editor
  5. Edit Constants.php File to increase the upload size limit
  6. Click on Save Changes
  7. Check the Settings

Also you need to use old version of All-in-One WP Migration plugins to do it.

STEP 1: I am assuming that you already installed and activate the All-in-One WP Migration plugin.

All-in-One WP Migration activation

I have to mention that you just need to use the All-in-One WP Migration plugin version 6.77 to restore any size of backup files. Plugin author has been removed old version from WordPress plugin repository. But dont worry, you can download the All-in-One WP Migration 6.77 version from here (GitHub).

Download All in All WP Migration 6.77

What you have to do to restore a bigger file is, First Upload your backup files in the ai1wm-backups folder, which you will find inside the wp-content folder.

ai1wm-backups folder

 

Once you uploaded your backup files in the ai1wm-backups folder, you need to go All-in-One WP Migration plugin Backup options. If you uploaded your backup files properly, then you will see a backup list under All-in-One WP Migration backup options. You just need to click on restore button to import backup.

But if you are using the latest version of the All-in-One WP Migration plugin, then you will see an upload size limit error as shown in below image:

All-in-One WP Migration Upload Limit Error

If you have money then you may purchase their premium addons to increase upload size limit from here. And if you dont want to buy premium addons, then let’s go to the second step.

STEP 2: As mentioned earlier, you just need to remove the All-in-One WP Migration latest version and install the old version which is 6.77

select plugin in editor

STEP 3: Now go to Plugins => Editor and select All-in-One WP Migration as shown above. Once the plugin is loaded in the editor, click on the constants.php file from the right side:

All-in-One WP Migration Core editing

STEP 4: Now its time to edit the code to increase Upload size limit. Go to line no 284 and you will see Max File Size text. You need to add 536870912 * 20 from bellow to change the upload size limit as shown below:

Here is how you it will looks like after changing the value:

STEP 5: Now you must click on Update button to save above actions.

STEP 6: Once saving is done, you will be able to restore any size of backup using the All-in-One WP Migration plugin in WordPress.

All-in-One WP Migration upload size limit

If you did everything exactly as I shown above, then you will see that your upload limit has been increased as your provided value.

Tips for Advance User:

If you are an advanced user and have hosting access, you can edit the All-in-One WP Migration plugin code from the hosting file manager. To edit All-in-One WP Migration plugin files, you need to go to: wp-content => Plugins => all-in-one-wp-migration/constants.php

That’s it. If you have any questions regarding the All-in-One WP Migration plugin or are unable to solve the plugin upload size problem, please let me know by posting your comment below.

Wishing you the best of luck.

1 thought on “Solving All-in-One WP Migration Plugin Upload Size Limit Problem

  1. Great article, just what I needed. However, it seems that in the code that can be copied from the “Increase upload size using htaccess”-section, it actually lowers the upload limit to 128 MB (from 256 MB in my case). Maybe set it to 512 MB if it’s supposed to be a copy-paste solution for readers? 🙂 Anyways, thanks for the article.

Leave a Reply

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