How to Migrate a WordPress Website

Learn How to Migrate a WordPress website, to any other domain or hosting. These step by step instructions show you how to migrate a wordpress site without spending your whole day on it!
Learn how to Migrate a WordPress website in these simple steps, don't spend hours doing it! Enjoy your day instead, read this guide.

Migrate your WordPress Website

There are plenty of articles out there on ‘How to Migrate a WordPress Site‘, all with different steps using different software. 

Just take a look how confusing it can be:

Manual migrations, using paid programs such as WP Manage or GoDaddy Prosites, Hostings with built in migration tools (cPanel has Installatron, Managed WordPress etc.), or plugins like Duplicator.

So, I’m going to make this very simple for you:

I spent years migrating WordPress sites, moving a couple hundred of them, and out of ALL the ways I have tried, this is by far the easiest and least time-consuming.

In this case, this way is ‘All in One WP Migration’.  If you want to pay for it, that’s up to you (I recommend it), but if you want to learn how to do it for free (for learning purposes only), continue on with the article.

All-in-One WP Migration

This WordPress Migration plugin is one of the best, and my favorite.  It basically works by installing the plugin to the original site that you are migrating – the source site – and downloading a .wpress file to your computer.   

Then, simply install a brand new WordPress site on the destination, install All-in-One WP Migration plugin, make sure the correct domain is attached to the site, and import the site!  That’s it.

Let’s check out some step by step instructions.

How to Migrate a WordPress Site using All in One WP Migration

Step 1. Export

First, you will need to install the All-in-One WP Migration Plugin, and activate it.  Login to the WordPress dashboard of the site you are about to migrate, the source, and once activated, look for All-in-One WP Migration in the left hand column.  It is usually near the bottom.  

Click on All-in-One WP Migration, and then click ‘Export’.  This will bring you to a new page in the dashboard, that will ask you ‘Export to?’  Choose ‘Export to File’.   

Learn how to migrate a wordpress site easily, this is the fastest wordpress migration method. Simply export site in a file

Once it finishes generating, click the ‘Download’ button.  This will simply save the .wpress file to your downloads folder on your local computer.    

Step 2. Install WordPress

Now that you have downloaded a copy of your website to your local computer, it is time to get the new website/hosting ready.  To do so, we are going to install a brand new WodrdPress onto it.  

For example, we used to be Techsnob.net, until we purchased DigitallyThrive.com.  We exported the techsnob.net .wpress file to the computer, and then installed a new WordPress on DigitallyThrive.com, which was to be our new site.

For CPANEL hosting, jump into the cpanel admin, the control center.  Find the ‘Software’ section.  Click on ‘Installatron Applications Installer’.  

Make sure you are on ‘Application Browser’ on the top right.  Sort through all of the apps you can install, and find WordPress under CMS.  Click on WordPress.

Follow the instructions to install WordPress, make sure you select the correct domain name – note that the user/pw/email won’t really matter as we will overwrite these soon.

learn how to migrate wordpress site the easy way. After downloading site, install a new WordPress on the new destination site, and this is where you will both upload the .wpress file, and install All in One WP Migratoin.

Step 3. Install All-in-One WP Migration

For the fastest method of uploading a website, you will need a version of All-in-One WP Migration that allows ‘restores’ from backups.  

Instead of trying to let WordPress upload 1GB-2GB site using PHP, upload the .wpress file directly into the file manager.  This will save you hours!

Increase 512M Limit

IF you already have the PREMIUM version of All-in-One WP Migration, just skip ahead to Step 4.

Basically, you need to download an older version of the plugin (v6.77), this version does not block you from changing the values in the constants.php file – allowing you to change upload file limit to 10GB if you wanted to.  

Step 3-A. Activate Plugin

Download the zip file of All-in-One WP Migration version 6.77 here.

Inside of your hosting, go to your file manager, and upload the .zip file to your /wp-content/plugins folder.  Once it uploads, extract it.  You should have a folder inside of plugins called ‘All-in-One WP Migration’.

Login to your WordPress Dashboard and make sure All-in-One WP Migration is activated.

Step 3-B. Locate Plugin Folder

In cPanel, click on File Manager, then go to the wp-content/plugins directory. Open up All-in-One WP Migration folder.  We will need to replace some code here.

learn how to increase max upload filesize greater than 512MB using All in One WP Migration, use this plugin for free to migrate any wordpress site!

Step 3-C. Edit Constants.php

Right click on the file ‘constants.php’, and click ‘Edit’, and ‘Edit’ again if a pop up box appears.  This will allow you to edit the code.

We are changing the upload_max_filesize.  

Scroll down to line 284 of the constants.php file to the Max File Size section, and add *20 next to the existing number as shown below:

learn how to migrate a wordpress site for free, easily, and fast. Use all in one wp migration. Learn how to edit the plugin All in One WP Migration to have more thatn 512MB upload max filesize limit for free!

Save your changes.  Scroll to the bottom of the page, and hit update to save your changes.

// =================
// = Max File Size =
// =================
define( 'AI1WM_MAX_FILE_SIZE', 536870912 * 20 );

Step 4. Upload .wpress file

Now that your plugin as been activated, you are able to upload your .wpress file. 

It took me many times to get this, but I had no idea you could upload this .wpress file through File Manager, and save hours of my time!  

Jump back into File Manager, and jump into the wp-content folder.  Notice the folder at the top, called 

All-in-One WP Migration, save yourself HOURS of time, and upload the .wpress file directly through cpanel. Instead of using php, at the mercy of your websites upload speed, use file manager.

Step 5. Restore Backup of .wpress file

After you have uploaded it, the hard part is over.  Jump back into the WordPress dashboard.

On the left-side menu, click ‘All-in-One WP Migration’, and then click ‘Backups’.

Quickly import and restore a WordPress site by uploading the .wpress file using file manager, or ftp, instead of import in WordPress. Once uploaded to the correct a1wmblackups folder, login to wordpress and go to All in One WP Migration -> Backups. Then click restore.

On the upper right, click ‘Restore’, and then click ‘proceed’ to overwrite the current new site.  

Conclusion

I hope you enjoyed this article on How to Migrate a WordPress Site! 

After finishing the above steps, you will have successfully moved over your entire WordPress site.  Not only that, but if you changed your domain to a new one, this method changed over all the URLs for you!  

When I found out how easy this was, I just had to share it.  This is by far the easiest method I have used.