Moving something in our analog lives is easy. Using your hands, you can just pick something up and move it. However, the same condition does not apply to our digital lives, especially when we want to migrate WordPress websites.
Migrate WordPress site is a bit messy, if not done correctly. I thought I should give everyone a guide—a sort of a helping hand—for this evergreen issue. So, let’s start the WordPress migration process.
How many fingers are there on your hand?
Can anyone Answer? Five.
More or less, all of us know the names of them too. Let’s start with the names: thumb, index finger, middle finger, ring finger and baby finger.
Before you think the writer has lost his marbles, allow me to tell you that WordPress migration can be as easy as counting your fingers if you follow this tutorial correctly. So without any further ado, let’s begin to move a WordPress site.
But first, take a back. As they say, “Prevention is better than cure.” Even though you will not lose your hands if anything goes wrong, you do have a chance of losing all of your data (and that hurts like amputation). So, backup a WordPress site is essential before you attempt to move a WordPress site.
Read Here: How to backup a WordPress site
Note: There are 5 steps involved to migrate a WordPress site from another host whereas, on Cloudways, it is just 3 steps.
For the sake of learning, I have associated each step on a fingertip.
Step 1 (Thumb): Uploading Files
Stick out your thumb, login to your existing hosting account, navigate to File Manager and get into the particular folder where your WordPress files exist. Compress (zip) all WordPress files. Upload the zip file to the new hosting provider using File Transfer Protocol (FTP) or File Manager on your new hosting account. Once uploading is done, Extract the zip file.
Step 2 (Index Finger): WordPress Database Migration
Create a database and user on new hosting by going to MySQL Database Wizard. Note down these credentials as you will need them. Go back to your old WordPress site, install UpdraftPlus plugin to Export your database.
Using phpMyAdmin on the new hosting account, Import the above-created database.
Step 3 (Middle Finger): Tackling The Tricky Bit
A little tricky step on the go that is associated with the middle finger. *Sorry!*
Simply go to wp-config.php (you can find it on root) and replace the credentials with the one you earlier noted i.e. DB_NAME, DB_USER, DB_PASSWORD. In some cases, during moving WordPress site to a new host, you need to provide the DB_HOST which depends on your server. Other than that, you are ready to go!
Step 4 (Ring Finger): Finalizing The Process
The ring has a circle shape, but I will not let you go round and round with it.
Find the table xxxxx-option in your database. Replace option_value of siteurl and home with the new URL of your site.
You can now visit http://newurl.com/wp-admin, go to Settings and then select Permalinks and change it as per your desire.
Step 5 (Baby Finger): Settling In
And yes, now is the time to surprise you, you can use this simple plugin Velvet Blues Update URLs, and it will amend all old URLs to new URLs. Don’t you think it is as smallest as the baby finger?
Note: If you are unable to visit the site, try clearing your browser cache.
Migrate Your Site to Cloudways in Just 3 Simple Steps!
As we have discussed earlier, the shortest method for WordPress migration from one host to another involves five steps. What, if I shorten it to 3 simple steps?
- Install Cloudways WordPress Migrator on your current hosting.
- Enter necessary credentials.
- Click Migrate.
Here is the short video guiding how easily you can migrate WordPress to another host (Cloudways) and experience the speed of optimized cloud servers.
Still, want to do something? Come on; I don’t want you to do anything more! Just check your new website out. It works great. Hurrah!
Have some coffee and enjoy, but do comment your valuable suggestions and feedback to us!
Make Your WordPress Website 100% Faster.
Host it now on Cloudways WordPress Hosting Platform.