02Jul

Remove upload limit for on All-in-One WP Migration Plugin

All-in-One WP Migration is great to move a full WordPress (images, database). You can do a search and replace before to export. And import it with the right data. It’s one way to duplicate your WordPress in your new destination. However, they push you to get the premium version of the plugin. If it’s a one off use, it might not be worth getting it.

Remove the All-in-One WP Migration upload limit in 2019

Migration tool for all your blog data. Import or Export your blog content with a single click.

The new versions of the plugin don’t allow you to do the old trick. This little hack was to go change yourself the upload limit values in the file named constants.php (in the plugin folder)

Changing “define( ‘AI1WM_MAX_FILE_SIZE’, 2 << 28 );” to something like:

define( ‘AI1WM_MAX_FILE_SIZE’, 4294967296 * 2 );

I didn’t find a way to do it with the latest plugin version.
So the simplest way to do it is to install an older version, you can download older version of the plugin at 

https://pluginarchive.com/wordpress/all-in-one-wp-migration, for instance 6.68 and go do the old trick.

Search for AI1WM_MAX_FILE_SIZE and add a * 2 or * 4… save an update this file on your server.

Subscribe
Notify of

1 Comment
Oldest
Newest
Inline Feedbacks
View all comments
4 years ago

Did not help much. I have 6Gb file to upload and have no idea how to do it.