• Skip to main content
  • Skip to primary sidebar

Social Media Sonar Blog

Online Marketing and Social Media Strategies

You are here: Home / Tips/Questions / Move Wordpress Site to a New Host

Move WordPress Site to a New Host

October 10, 2011 by Sean Nelson

This has been an interesting summer and beginning to the fall. After being with the same Web Host since 1999 I decided that I no longer had confidence in the hosts up time. After doing some research I decided to move to Host Gator. That was the easy part.

The hard part was going through the process of moving a number of WordPress and Joomla sites to the new host. If you’ve decided to move hosts but are unsure how to transfer your site its not that difficult. Hopefully this step by step guide to moving a WordPress site to a new host will help.

Step 1: Download your files via FTP from you existing site. We will upload these files to your domain account on your new server.

ftp files

Step 2: Export WordPress Database from phpMyAdmin

In the backend of your host (CPANEL) click on phpMyAdmin and click on the DATABASE Tab. You will see the databases you have on the left side. Click on your WordPress database.

database in phpMyAdmin

After clicking on your database name you will see the database tables. Click on the EXPORT Tab.

database tables

After clicking the EXPORT Tab you will see a simple interface. You should be able to export the file with the existing settings. Click the GO button to begin your download and save the files to your computer.

export database

Step 3: Import your Database to Your New Host. (You should have created your domain account before doing database upload).

Log in to your backend (CPANEL) and Create a new Database by clicking on MySQL Databases.

mysql databases

After creating your database you need to add a user to your database. Add a username and password, then click the CREATE USER button.

add username

Now that you have created a username you need to add it to the database. Be sure to grant all privileges to the user.

add user to database

Now go into phpMyAdmin and click on the database you created. Then click on the IMPORT Tab. Once on the IMPORT page click the Choose File button and select the database you previously downloaded. Once again you should be able to use the existing setting. Click the GO button to import your database.

import wordpress database

Once your database is finished uploading we need to make some additional changes to the database in the OPTIONS table. Click on the STRUCTURE Tab and you will see a list of database tables to the left. Click on the Options table.

database options

The first option we wan to edit is SiteURL which should be the first option. Click the edit button and change the URL to your new http:// address.

update site url

The second option we want to update is on page two, the Home option. Click the edit button and change the value to your home page url.

change home option

The final option to update is on the second page as well, Upload Path. Once again click on the edit button and input the url where you upload files to your wordpress installation. (In the sites I have moved I have not had to change this value.

change-upload-path

Step 4: Upload Site Files Via FTP (Files you downloaded in Step 1)

Step 5: Update wp-config.php File

Your wp-config.php file currently has the information from your previous database. We need to update the Database Name, the Username, the Password, and you may need to update the Local Host name.

update wp-config php file

Once you have made the changes upload the file via FTP.

That’s it. Your site should now be up and running on your new host.

Filed Under: Tips/Questions Tagged With: move wordpress site, new host, transfer wordpress site, wordpress

About Sean Nelson

Sean has been a Keynote speaker at Norvax University, conducts social media workshops and webinars, and has released three books on LinkedIn and written several social media guides.

Sean currently runs Social Media Sonar, which in addition to providing free resources, manages social media strategies and tactics for companies. He is also a partner in Surge Labs, a conversion rate optimization company, helping companies improve conversions and profitability through scientific testing of Landing Pages, Websites, Email communications, and Shopping Carts.

Primary Sidebar

Solutions

Ready Set Go
Engage 360 Content and Inbound Marketing
Conversion Rate Optimization
Social Media Training

Copyright © 2023 ยท This blog no longer publishes posts. New posts may be found at Surge Labs