All in one wordpress migration increase upload limit to 2TB

[SOLVED] All in One WordPress Migration Increase Upload limit from 512 MB to 2TB (2020)

Increase 512MB Upload Limit to 20000000 TB for the All-In-One WordPress Migration plugin. Here are a list of steps to increase the upload limit for the all in one WordPress migration plugin.

[SOLVED] All in One Wordpress Migration Increase Upload limit from 512 MB to 2TB (2020) 1

Ready made AIOWP migration unlimited extension ($5)

If you are a non techie or looking to save time you can skip all the steps below and buy the ready made unlimited plugin for $5 below that gives 2 Tera Byte upload limit.

 

All in one wordpress migration unlimited extension

The all in one WordPress migration plugin helps to restore your WordPress site from a downloaded backup image. For the download, there is no size limit. But when you try to upload the image, there is an upload limit of 40 MB which can be increased by a plugin available to the US customers to 512 MB. For most WordPress websites, this size might not enough. Usually image rich websites, could have upload sizes easily in GB s. For such scenarios, you can follow the steps below, to increase the upload limit for the All in one WordPress migration plugin (AIOWP) for free.

Vote! to see how much upload limit other users got from our AIOWP migration plugin
106 votes

Steps to increase the upload Size in the All in one WordPress migration

  1. By default, the maximum upload size is 40 MB.
  2. Install an older version of the All in one WordPress all-in-one-wp-migration.6.68 download plugin from here.  (this was suggested by one of our readers Angel Asenov since the current versions won’t support this method)
  3. Install the All in one file WP migration file extension plugin from this link.
  4. This will increase your max upload file size from 40 to 512 MB. This might be enough for small websites.By default the upload limit is 512 MB only
  5. If you want more upload size, follow the steps below.
  6. Go to plugins-> plugin editor-> select plugin to edit -> All in one wp migration
  7. Choose the constants.php file.
  8. Go to line 303. (or) look for define( ‘AI1WM_MAX_FILE_SIZE’, 2 << 28 );
  9. If the line is define( ‘AI1WM_MAX_FILE_SIZE’, 536870912 ), change it to define( ‘AI1WM_MAX_FILE_SIZE’, 536870912 * 2 ).  This will increase from 512 MB to 1 GB (536870912 is just 512 MB in bytes).
  10. Change 2<<28 to 2<<30 or any other number more than 30 define( 'AI1WM_MAX_FILE_SIZE', 2 << 28 );
  11. This increases the max upload file size to 2GB.All in one wp migration unlimited extension upload size increased to 2 GB
  12. You can change the 30 to any other number to see the increase in upload size to get unlimited import size in all in one wp migration plugin. For example, if you change it to define( ‘AI1WM_MAX_FILE_SIZE’, 2 << 60 ) you will get 2000000 TB upload limit.

    all in one wordpress migration increase upload limit to 2TB

  13. Clear any website cache you might have such as FVM, WP fastest site cache etc.
  14. If you have any security plugins like Wordfence, make sure that is turned off too.
  15. If after following all the above steps, you still are not able to increase the limit, turn off all the other plugins (we might not know which plugin is conflicting) and redo the process.
  16.  Skip all the above steps and consider buying the ready made plugin which gives you 2 million Terabytes for $5 from here.

All in one wordpress migration unlimited extension

Did the upload limit increase for you through this blog? Vote below to see the results.

Please drop a comment below if this blog solved your issue or not. It means a lot to me to hear from my blog readers.

Vote! Did your upload limit increase following the steps above?

48 thoughts on “[SOLVED] All in One WordPress Migration Increase Upload limit from 512 MB to 2TB (2020)”

  1. Does not work.
    the Text is: Maximum upload file size: Unlimited

    but if you try to uploade the pop up comes up

    The file that you are trying to import is over the maximum upload file size limit of 512MB.
    You can remove this restriction by purchasing our Unlimited Extension.

    1. I’m having the same problem, after some research, I believe that the problem is that this is only working on version 6.77 and earlier, but now this is no longer available,

      The earliest version you can get is version 7.5 and up, if anyone knows where we can get the earlier version of the plugin, please share,

  2. Such solutions are no longer working in the latest releases of the plugin as they fixed such client side work arounds. The hard limitation for uploads in their latest versions is 512MB. Trust me on this one, I am Senior technical support at a hosting company. A work around in this case without purchasing the upgrade is to install an older version of the plugin such as:

    https://pluginarchive.com/wordpress/all-in-one-wp-migration/v/6-68

    and then editing the constants.php file and more specifically the line that states:

    define( ‘AI1WM_MAX_FILE_SIZE’, 536870912 );

    The number/restriction above is for 512MB so you could change it to any number you would like.

    Best of luck

    1. Thanks for this information. I havent checked for the latest releases of the plugin. I will update the blog post shortly.

  3. Thanks I just used the extension and it worked like a dream with the latest version of the all in one plugin – but I only needed up to 512mb.

  4. Just go to this line:

    define( ‘AI1WM_MAX_FILE_SIZE’, 536870912 );

    add * 8

    So it looks like this:

    define( ‘AI1WM_MAX_FILE_SIZE’, 536870912 * 8 );

    Done, if you need more. Make 8 a larger multiple.

  5. hi guys!
    I have installed the latest version available and installed the plugin extension (https://import.wp-migration.com/), then in the constants.php file (public_html/wp-content/plugins/all-in-one-wp-migration/constants.php) change the variable to 30
    define (‘AI1WM_MAX_FILE_SIZE’, 2 << 30);
    and now I have a limit of 2GB;) I read in another place that worked like this in the new versions, installing that extension;) Try it.

  6. In the latest version 7.7, Changing the max file size to ..2<<30 is not working. I am still getting the maximum upload file size is 40 MB. can you please guide?

    also I tired downloading the version 6.8 from the link provided by Angel Asenov. But this installing version 7.5.

      1. This worked for me. Just delete all last installations, install this and edit like the post says and it worked. No need the AIWP Import Plugin, just this. Thanks a lot!

  7. For those who do not work and have already installed ai1m, go to ftp and find the “ai1m backup” folder in the plugins folder and delete it. then install the plug-in in the version your colleagues write about and edit it. then it should work.

  8. Thank you, you saved me bunch of time.

    and the extensions file link is not working and also not needed I think.
    Editing constants.php worked great!

  9. If anyone could help me, I would REALLY appreciate it. So I downloaded the older version, went in and changed the code. When I imported it, it all came in. But when it came to setup the files, it would just hang and stay at 0%, After literally multiple hours of this, I stopped the process. It looks like my media and plugins were all imported. But there are no posts or pages. Any ideas? Did I do something wrong or is there an issue with Bluehost not letting me upload that many files? Thank you!

  10. Thanks a lot. The full price was a bit steep in price for a volunteer project.
    After uploading the depreciated version I was able to complete a 1.5G upload.
    The $5 was well worth the price compared to the time to try the hardcoded method, additionally, I will be able to upload the plug into my customer’s site when migrating back.

Leave a Comment

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