1. Home
  2. WordPress Tutorials
  3. How to Transfer WordPress

How to Transfer WordPress

Need to transfer WordPress to a new location?  The idea of moving WordPress might make you more than a little nervous.  What if you break your website?  What if the transfer does not work?  Thankfully, we have broken down the steps you need to take to transfer WordPress successfully.

There are three main parts to any migration.  You need to move the associated files.  The database information also needs to be moved to the new web host.  Last but not least, you might also need to do a few re-configurations.

Step 1: Moving the WordPress Files

moving wordpress files

The easiest way to move your WordPress files from one location and upload them to another location is to use an FTP client.  From within cPanel, you can also use the File Manager tool to create an archive of your files and then move them to the new location.  However, using an FTP client is better due to the fact that you also get the chance to backup the files to your personal device in the process. The final part of step one is to re-upload the files to the new hosting location.

Step 2: Moving the WordPress Databases

moving wordpress database

Now that you have a handle on the actual files of WordPress, it is time to dive into transferring the databases.  Log into cPanel and then look for phpMyAdmin.  Once you are in phpMyAdmin, you can locate the correct database on the left-hand of the screen.

Once you have opened this database, you will see tons of WordPress options that may or may not make sense to you.  Right now, find the Export link at the top of the WordPress database you are in and click it.  You can then save a copy of the database to your computer.

Next, create a new MySQL database to transfer the WordPress details into.  This can be done in cPanel, by clicking on MySQL Databases.  Create the database and assign a user to the database.

It is very important that you write down these details: the database name, the user name and the password you assigned to the user. These details will come in handy when it comes to reconfiguring WordPress and adjusting it for the new hosting location.

Click on the new database you created and select “Import”.  This will import the old database details into the new database.

Step 3: Reconfigure and adjust WordPress for the New Location

reconfigure wp from new location

Ready for the final few steps?  This hasn’t been too hard.  You just have to think about it as cleaning out a closet in your bedroom and adding it to a new empty closet you might have set up in your home office.

To make WordPress work with the new database, you will need to locate the wp-config.php file located in the root WordPress folder.  Once there, locate:

define(‘DB_NAME’, ‘user_newdatabase’);

/** MySQL database username */

define(‘DB_USER’, ‘user_newdatabase’);

/** MySQL database password */

define(‘DB_PASSWORD’, ‘password’);

Fill out these details with the values from your new database, user and password we mentioned to take note of before.  Now save the changes and WordPress should be up and running at the new location.  You have successfully transferred WordPress!

Transfer from WordPress.com

transfer from wp

Did you also know you could transfer in a WordPress.com account?  If you are ready to leave WordPress.com, you can move your content from there over to your new hosted platform on GreenGeeks.

From your WordPress dashboard on WordPress.com, go down to tools and then choose export. Choose if you want to download:

  • All Content
  • Posts
  • Pages

One you have made your chose, click the button labeled, “Download Export File”.  Now, in your own WordPress installation – simply click on Tools > Import and follow the on screen instructions.

You will be given the option to import from Blogger, LiveJournal and many other choices.  What you need to do is to scroll all the way down to where it makes mention of WordPress.  Click the WordPress link and then you will be asked to install a WordPress importer plugin.

Install the WordPress importer plugin and activate it.  Once activated you will be given the option to import the backup of your WordPress.com account you made earlier.

Now your WordPress content is imported.  The only other option you have to really configure is if you assign all these posts and pages to a specific or new user.  I would say 95 percent of the time it might be best to assign it to the main editor or author of the WordPress blog.

Transfer WordPress – Let GreenGeeks Help!

transfer wordpress greengeeks

Did you know that we can handle website migrations from host to host?  If you are moving your WordPress install from another web host, let us help.

Here are the simple steps to take to request the migration:

Log into your GreenGeeks Account Manager.  From there, you should be able to click on Support and then select Migration Request Form.

You will then need to select the hosting service that you would like to request the migration for.  Next, so that we can transfer the WordPress files in question – you will need to let us know your previous web host, the control panel URL, the FTP hostname and the account username and password.

If you have any additional instructions – we also give you a spot in the migration form to inform us.  This could be handy if you have a specific file or folder you want to make sure we grab in the migration process.

Once that has been submitted, our customer support team will be able to handle the migration process within 24-48 hours.  We will let you know once the migration has been completed.

Last, but not least, you will need to change your DNS settings to point over to GreenGeeks if you have not already done so.  Make sure though that you do not do this until you are sure the migration is complete and all files and database information has been transferred for your WordPress installation.

Final Thoughts and Steps

Here is a tiny word of warning.  Even when you feel like you have done all the steps detailed here in our article, make sure you visit your website and navigate around it to make sure things work.  Another important step to take is to visit some of your more popular pages to make sure they all are working correctly and the content remains in the same shape and location as it did before.

Moving WordPress might seem like a big job, however as long as you break it up in to manageable pieces – you should be able to get it done quickly. Once you have followed the steps here, your posts, layout and files should all be transferred successfully.

Author: Anna Gargioni

Updated on May 30, 2017

Was this article helpful?

Related Articles

Add A Comment