WordPress··5 min read

Getting Past the All-in-One WP Migration Import Limit

The free plugin caps imports at a few hundred MB. Here's how to lift it for free, and when to skip the plugin and import the database directly.

All-in-One WP Migration is great until your export is bigger than the import cap — historically 512MB, often much lower on shared hosting. The plugin nudges you toward a paid extension, but there are free routes.

Why the limit exists

The import size is bounded by your server's PHP upload limits, not just the plugin. Even after the plugin's own cap, you'll hit upload_max_filesize and post_max_size. Both need raising.

Fix 1: Raise PHP limits

; php.ini or via your host's PHP settings panel
upload_max_filesize = 1024M
post_max_size = 1024M
max_execution_time = 600
memory_limit = 512M

On hosts where you can't edit php.ini, many All-in-One WP Migration versions read a constant. Add to wp-config.php:

define('AI1WM_MAX_FILE_SIZE', 2 << 30); // 2GB

Fix 2: Skip the upload — drop the file in directly

If you have FTP/SFTP access, you can bypass the browser upload entirely. Place the .wpress export file in:

wp-content/ai1wm-backups/

Then open the plugin's Backups tab — the file appears there and you can Restore it without ever uploading through the browser. This sidesteps the upload limit completely.

Fix 3: Forget the plugin, import the database directly

For very large sites, the most reliable migration is files + database the old-fashioned way: copy wp-content over FTP, export the database as SQL, and import it directly. The database is the part that hits limits — and that's exactly where splitting helps.

  • Export the WordPress database as a .sql dump
  • Split it into chunks under your host's import limit
  • Import the chunks in order via phpMyAdmin or CLI
  • Run a search-replace for the old → new URL afterwards

Split the WordPress database

Turn an oversized SQL export into chunks any host will accept.

Open SQLSplit
After a direct database import, run wp search-replace 'https://old.com' 'https://new.com' --all-tables to fix serialized data safely. A raw SQL find-and-replace will corrupt serialized PHP arrays.

Frequently Asked Questions

How do I increase the All-in-One WP Migration import limit for free?

Raise PHP's upload_max_filesize and post_max_size, and add define('AI1WM_MAX_FILE_SIZE', 2 << 30) to wp-config.php. Or skip the upload entirely by placing the .wpress file in wp-content/ai1wm-backups/ and restoring from the Backups tab.

Can I import a .wpress file without uploading it through the browser?

Yes. Upload the .wpress file via FTP to wp-content/ai1wm-backups/, then open the plugin's Backups tab and click Restore. This avoids the browser upload size limit completely.

What's the most reliable way to migrate a very large WordPress site?

Copy wp-content via FTP and import the database directly as SQL rather than using a migration plugin. Split the database dump into chunks to get past host import limits, then run wp search-replace for the new URL.

Related articles

View all

Advertisement