All-in-One WP Migration: Step-by-Step Guide
In this article
All-in-One WP Migration is a popular WordPress plugin that lets you move an entire site—files, database, plugins, themes, and media—from one host to another without touching a single line of code. It packages everything into a single downloadable file, which you can then import on the new server. Before you start, make sure you have: access to the WordPress admin of both the source and destination sites, a destination site with a fresh WordPress installation (or at least a clean database), and enough disk space on both servers to handle the export/import files.
What You'll Need
- Admin login credentials for the source WordPress site.
- Admin login credentials for the destination WordPress site (with WordPress already installed).
- FTP or cPanel access to the destination server (for troubleshooting or if the import file is too large).
- A stable internet connection and enough time for the transfer (large sites can take a while).
- Optional: a temporary increase in PHP memory limit and upload size on the destination site (usually done via wp-config.php or hosting panel).
Step-by-Step
- Install and activate the plugin on the source site. In your WordPress admin, go to Plugins → Add New, search for “All-in-One WP Migration,” install, and activate.
- Go to the export screen. After activation, you’ll see a new menu item “All-in-One WP Migration” in the left sidebar. Click on it, then select “Export.”
- Choose what to export. By default, the plugin exports everything. You can leave it as is, or use the “Advanced Options” to exclude certain parts (e.g., spam comments, revision history) to reduce file size.
- Start the export. Click the “Export To” button and choose “File.” The plugin will create a single .wpress file and download it to your computer. This may take a few minutes for large sites.
- Install the plugin on the destination site. Log into the destination WordPress admin, go to Plugins → Add New, search for “All-in-One WP Migration,” install, and activate it.
- Go to the import screen. On the destination site, click “All-in-One WP Migration” → “Import.”
- Upload the export file. Click “Import From” → “File,” then select the .wpress file you downloaded earlier. The plugin will upload and process it. This can take a while; do not close the browser tab.
- Confirm the import. After the upload finishes, the plugin will ask you to confirm. Click “Proceed” to start the import. It will replace the destination site’s content with the imported data.
- Save permalinks (if needed). After import, go to Settings → Permalinks and click “Save Changes” to refresh the rewrite rules. This prevents 404 errors on pages.
- Check the site. Visit the destination site’s homepage and a few internal pages to confirm everything looks correct. Also log into the admin dashboard to ensure you can access it.
Common Mistakes
- Not increasing the PHP upload limit on the destination site, leading to “upload failed” errors. The plugin has a built-in fix, but sometimes you need to manually adjust php.ini or wp-config.php.
- Importing into a site that already has content or a database, causing conflicts. Always use a fresh WordPress installation or wipe the destination database first.
- Forgetting to save permalinks after import, resulting in 404 errors on posts and pages.
- Closing the browser tab during export or import, which can interrupt the process and corrupt the file.
- Using the free version for very large sites (over 512 MB), which requires the paid upgrade to handle bigger files.
Tips
- Before migrating, clean up your source site: delete unused plugins, themes, and media files to reduce the export size.
- If your site is large, use the “Advanced Options” to exclude things like revision history or spam comments—you can always regenerate them later.
- Always do a test migration on a staging site first if possible, to catch any issues before going live.
- After import, update the site URL in Settings → General if the domain changed. The plugin usually handles this automatically, but double-check.
- Keep a backup of the export file in a safe place—you may need it again.
Troubleshooting
- Upload fails or times out: Increase the PHP memory limit and max upload size. You can add
define('WP_MEMORY_LIMIT', '256M');anddefine('WP_MAX_UPLOAD_SIZE_BYTES', '536870912');to wp-config.php, or use your hosting panel to raise limits. - Import stuck at “Processing” or “Extracting”: This often happens on shared hosting. Try importing in smaller chunks by excluding large media files, or use the plugin’s “Import from URL” feature if you can host the file elsewhere.
- 404 errors after import: Go to Settings → Permalinks and click “Save Changes.” If that doesn’t work, check your .htaccess file (if using Apache) or your nginx config.
- Login issues after migration: If you can’t log in, try resetting your password via the “Lost your password?” link. If that fails, use phpMyAdmin to update the user_pass field in the wp_users table with an MD5 hash of a new password.
- Database connection errors: This usually means the wp-config.php file on the destination site still has old database credentials. Edit wp-config.php to match the new host’s database details.
- Mixed content (http/https) issues: If your site uses SSL, ensure the site URL in Settings → General is set to https. You may need to use a search-replace plugin to update URLs in the database if the domain changed.
Frequently Asked Questions
Does All-in-One WP Migration work with any hosting provider?
Yes, it works on most hosting environments, including shared, VPS, and dedicated servers, as long as PHP and MySQL are available.
Can I migrate a WordPress.com site?
No, WordPress.com hosted sites do not allow plugin installation, so you cannot use this plugin on the source side. You would need to export from WordPress.com via its built-in export tool and then use a different method.
Is it safe to use the free version?
Yes, the free version is safe and works well for sites under 512 MB. For larger sites, you’ll need the paid upgrade to handle bigger exports.
Will the import overwrite my existing destination site?
Yes, the import replaces all existing content, including posts, pages, media, and database tables. It’s recommended to use a fresh WordPress installation.
Can I migrate a multisite network?
Yes, but it’s more complex. You need to export each subsite individually or use the network export feature (available in the paid version).
What if my export file is too large to upload?
You can use the “Import from URL” option by uploading the file to a cloud storage service (like Dropbox) and providing the direct link. Or increase your PHP upload limits.