In this article we will see how to increase the maximum upload or import size from 40MB to unlimited.
- By default the maximum upload size is 40 MB.
- Install the All in one file WP migration file extension plugin from this link.
- This will increase your max upload file size from 40 to 512 MB. This might be enough for small websites.
- If you want more upload size, follow the steps below.
- Go to plugins-> plugin editor-> select plugin to edit -> All in one wp migration
- Go to constants.php
- Go to line 303. (or) look for define( ‘AI1WM_MAX_FILE_SIZE’, 2 << 28 );
- Changes 2<<28 to 2<<30 or any other number more than 30
- This increases the max upload file size to 2GB.
- 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.