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

[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.

You can also buy the ready made unlimited plugin for $1.

All in one wordpress migration unlimited extension

Steps to increase All in one wordpress migration upload limit-

  1. By default, the maximum upload size is 40 MB.
  2. Install an older version of the All in one WordPressall-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.All in one wp migration unlimited extension
  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. Go to constants.php
  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. Changes 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
  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.

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

You can also skip all the previous steps and buy this unlimited extension for just $1 from here. This extension gives you 2097152 TB for $2.

All in one wordpress migration unlimited extension


45 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. Your comment is awaiting moderation.

      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:


    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. Muthali Ganesh

      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. This no longer even with all versions of plugins. Today 2020-01-08

    I managed to change to several terabytes but each I try to upload my 8GB file, it peg me down to 512MB. So sad. I guess we gonna have to buy their product. Note that I tried this with latest version down to 6.65 version each time. Problem remains

  9. 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!

  10. 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!

Leave a Comment

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

Select your currency
USD United States (US) dollar