Moving WordPress To New Server

Today in this article I am going to teach you how to move wordpress to new server. For example you want to move your wordpress site.      image001

Now first you need following from

  • wp-content folder
  • MySql Database

Download wp-content folder:

To do so I would prefer to use FTP Client in my case I am using FileZilla which is free FTP Client. Take a look at screenshot below for FileZilla.

Moving WordPress To New Server
Download wp-content folder

Right click over wp-content and click download from options.

Download MySQL Database:

WordPress contains all of its text information in database means it is the important part for moving wordpress to new server.

First you have to login to PHPMyAdmin through your hosting, take a look at the screenshot for PHPMyAdmin interface.

Login interface of PHPMyAdmin
Interface of PHPMyAdmin

Login information should be in wp-config.php file of your wordpress, after logging in click on Export than GO button in your screen, see screenshot below.

Download databse through PHPMyAdmin
Download Database

Now within couple of minutes you should have your database file in your hard drive. After completing these steps we are done with downloading our wordpress site.

Moving WordPress To New Server:

Now when we have all the files ready we first need to create clean wordpress installation in your new server, if you are using Godaddy, hostgator, bluehost or any of the hosting company they all have one click installation system for WordPress.

Uploading wp-content Folder:

Once your clean installation of WordPress is ready you have to upload wp-content folder via same procedure and delete the old one as we did earlier through FileZilla.

Uploading MySql Database:

After uploading wp-content folder goto PHPMyAdmin and delete all current details, please see screenshot below for better understanding.

Drop tables in WordPress database
Drop tables in WordPress database

After deleting all tables from WordPress database we will upload database which we download earlier and to do so we will click “Import” and upload file.

When file is uploaded we will change URL in database by going to options table, please see screenshot below.

Change URL in WordPress database
Change URL in WordPress database

By clicking on Edit button change URL to current domain in our case it is as there are two Rows in the table please see screenshot below to change URL for second row.

Change URL in WordPress database
Change URL in WordPress database

Now we have everything ready in our database.

Updating wp-config.php File:

Now we will add following code in our wp-config.php file to make sure everything works fine in our new installation.

Note: we are using as an example in your case URL for the new host will be updated.
Now we are all set with moving WordPress to new server

Final Step:

You will notice one thing when you will visit your WordPress on new host that some of the images are broken or website is not appearing as it was before to fix that we will do the following:

  • Install GoLiveUpdateUrl’s plugin in your new wordpress installation
  • Update URL’s through this plugin, see screenshot below:
update old url's
Update Old URL’s

In Old URL we will add source website URL in our case we have added and for new URL we will add destination website in our case we have added After clicking “Make it Happen”, everything should be ok and your website will look as it is as it was before.

1.2/5 - (4 votes)


2 thoughts on “Moving WordPress To New Server”

Leave a Comment

Your email address will not be published. Required fields are marked *