How to MANUALLY Migrate Your WordPress Site

by | Nov 20, 2017 | Wordpress Tutorial | 41 comments

In this tutorial, I walk you through How to MANUALLY Migrate your WordPress Site from one host to another. There are several great duplicating, cloning and migration tools for transferring WordPress sites but it’s good to know how to do it manually just incase a migration fails or times out. This is often the case when the site is really large or you’re transferring between different hosting companies. In a recent Divi Chat episode, we discussed this topic in detail so I wanted to put my process together in a tutorial to better articulate what we went over in the chat!

While the thought of manually transferring a site can be overwhelming, it’s actually not that difficult if you know what’s going on the behind the scenes and you have an understanding of the basics. I’ve had many headaches, frustrations and lost hairs due to failed migrations in my day and it was all because I didn’t have a understanding of what goes into migrating a WordPress site. My hope is that by the end of this tutorial, you’ll have a basic understanding of what goes into a WordPress migration and that you’ll have a good grasp of the most important elements to double check when you migrate a site even if you use a duplicator or cloning tool.

A detailed transcription of this tutorial is in the works but until then, here’s a simple and detailed version of my migration process! For advanced users, the simple checklist will most likely suffice. For newbies and those who want to be walked through the process step by step, I’ve broken the process down to 3 phases for you. I hope this helps all of your migrating experiences and saves you some heartache and hair!

How to Manually Migrate WordPress Website

2 Checklist Options:

Simple Checklist:

  1. Backup site files
  2. Export database (SQL file)
  3. Install WordPress for new site
  4. Import database (SQL file)
  5. Replace wp-content folder
  6. Edit wp-config.php file with correct settings
  7. Replace URLs
  8. Delete old site

Detailed Checklist:

Phase 1: Preparing the site for transfer

  1. Login into development site Cpanel
  2. Go into File Manager
  3. Download wp-config.php file
  4. Zip up wp-content folder
  5. Download zip folder
  6. Go into phpMyAdmin
  7. Export site database (sql file)

Phase 2: Setting up the site on the new host

  1. Login into new hosting cpanel
  2. Install WordPress
  3. Go into phpMyAdmin
  4. Import sql file in new database
  5. Replace old URL with new URL in “_options” table
  6. Go into File Manager
  7. Replace wp-content folder with zipped file
  8. Extract zipped file
  9. Edit wp-config.php file with new database, user, password and wp table prefix
  10. Login into new site, find and replace all image/file paths with new URL 

Phase 3: Clean up

  1. Double check permalinks and ALL image, link and file paths in new site
  2. BACKUP new site files and database
  3. Go to old hosting account
  4. Delete old database
  5. Delete wp files
  6. Remove sub or addon domain

If you found this tutorial helpful…

I highly recommend checking out my cPanel Course which provides more invaluable, in-depth knowledge of WordPress files, phpMyAdmin, domains, email, SSL and more!