How to Bypass the Upload Limit on All-in-One WP Migration (File Size Hack)

If you’ve ever run into the upload limit error with the All-in-One WP Migration plugin, you’re not alone. The newer versions of the plugin limit the import file size unless you upgrade to their paid version. Here’s a simple workaround using an older version of the plugin and a small edit in the plugin file itself.


Task Objective:

Successfully import .wpress backup files larger than 512MB into WordPress using the All-in-One WP Migration plugin, without paying for the premium version.


Who Is This For?

This guide is intended for internal team members and VAs responsible for setting up client websites using our default website template kits (in .wpress format) — especially when file upload/restore limits block progress.

Task Checklist:

  1. Access the client’s WordPress admin.
  2. Delete any existing All-in-One WP Migration plugin.
  3. Upload and activate all-in-one-wp-migration-6.7.zip.
  4. Use Plugin File Editor to edit constants.php and raise the upload limit.
  5. Upload .wpress file via plugin (or FileZilla if slow).
  6. Restore the template backup.
  7. Verify the site matches the default kit structure.

Tools You’ll Need:

  • WordPress Admin Access
  • All-in-One WP Migration v6.7 Plugin (all-in-one-wp-migration-6.7.zip)
  • Your .wpress backup file
  • (Optional) FTP/SFTP Access (via FileZilla, cPanel, or Hosting File Manager. Only required if WordPress upload fails due to server limits)

Why Use the Older Plugin Version?

The latest version of All-in-One WP Migration appears generous at first — it allows uploads up to 2GB. However, it still restricts actual restoration to only 512MB, causing the process to fail after upload.

To avoid this issue entirely, start with the older version (v6.7) of the plugin, which can be edited to remove both the upload and restore limits.


Step-by-Step Task Guide

Step 1: Install the Older Plugin Version

  1. Delete the current All-in-One WP Migration plugin (if installed).
  2. Upload the all-in-one-wp-migration-6.7.zip file.
  3. Go to Plugins > Add New > Upload Plugin and select the .zip file.
  4. Click Install Now, then Activate.
Screenshot 2025 05 27 at 17.50.41

⚠️ Disclaimer:

Editing plugin files directly from WordPress can break your site if done incorrectly. Be sure to modify the line(s) shown below, nothing else.


Step 2: Edit the Plugin File to Remove File Size Limits

  1. Go to Plugins > Plugin File Editor
  2. From the dropdown, select All-in-One WP Migration
  3. Locate the file path:
    constants.php inside the /lib/ folder.
Screenshot 2025 05 27 at 17.55.45

Either use keyboard shortcut of CONTROL + F or scroll to the lines that define file size limits (usually look like this):

define( 'AI1WM_MAX_FILE_SIZE', 2 << 28  );
Screenshot 2025 05 27 at 17.58.22
  1. Replace “2 << 28” with a much higher number in bytes (e.g., 10GB = 10737418240 bytes), then scroll down and click “Update file”:
define( 'AI1WM_MAX_FILE_SIZE', 10737418240 );
Screenshot 2025 05 27 at 18.01.51

Step 3 (Optional) FTP/SFTP Access (via FileZilla, cPanel, or Hosting File Manager).

If WordPress times out or fails during upload:

  1. Use FileZilla (or your preferred FTP tool)
  2. Connect to the hosting account
  3. Navigate to:
    /public/wp-content/ai1wm-backups/
  4. Upload the .wpress backup file directly into this folder.
Screenshot 2025 05 27 at 18.05.57

Step 4: Import and Restore the Backup

  1. Go back to WordPress Admin
  2. Go to All-in-One WP Migration > Backups
  3. You should see the uploaded file listed there.
  4. Click Restore/Proceed
Screenshot 2025 05 27 at 18.49.00

If you’ve followed all steps correctly, the site should restore without hitting the upload or restore limit errors. If you encounter any issue, reach the web or operations team.


Final Step: Deactivate and delete plugin.

Feel free to deactivate and delete the plugin after the restoration is complete.

Before and After

Before

Screenshot 2025 05 27 at 17.59.08

After

Screenshot 2025 05 27 at 18.09.26

Conclusion

By following this guide, you’ve successfully bypassed the upload and restore limitations of the updated All-in-One WP Migration plugin—allowing you to restore our default template kits quickly and reliably on client sites. This ensures a smooth setup experience without forcing upgrades or hitting frustrating file size walls. Check out How to Configure WP Rocket Settings with BlitzMetrics’ Pre-Configured Settings File to boost performance instantly or browse our list in the VA Task Library to continue learning and delivering at a high standard.