In this video, we’re going to show you how to move your WordPress site from one host to a new host.
We’re going to start out doing two things to prep this site for moving. First, install a new plugin called WP-DB-Backup on your WordPress site. It will make a backup of your WordPress database. Go ahead and activate the plugin, go to TOOLS > BACKUP and click backup now. This will create a SQL dump file. Set it aside for later.
Next, connect to your current host through an FTP client such as FileZilla. Browse to your WordPress install and download the entire WP-CONTENT folder. This includes your theme, plugins, uploaded media etc.
Now that you have everything you need to restore your site to the new host, it’s time to point your domain to the new hosting account. Go ahead and log into your DNS server (often times this is where your domain is registered) and point your webtraffic to your new host’s IPAddress. Your DNS provider can probably help you with this if you have trouble. This will basically make the internet user connect to your new host instead of the old host when they type in your URL.
Once this DNS change propogates (usually about 2 hours), log into your new host and setup a new WordPress install using your URL. Your URL should now connect to a completely emtpy WordPress install if you type it into a browser.
Next, you want to go ahead and connect your FTP client to your new host, find your WordPress install in the file structure, and delete all the contents of your WP-CONTENT, and replace them with the WP-CONTENT contents you downloaded from the previous host.
Now all you need is to upload your previous database contents. You are going to want to log into your new hosts admin or cpanel screen. You need to find where to log into your ‘phpMyAdmin’ program. Once in there, you want to choose your wordpress database on the left, click WP_OPTIONS and then import at the top. Select the SQL dump file you made with the WP-DB-PLUGIN and upload it.
Once it’s uploaded, click browse in phpMyAdmin and you’re looking for a datafield that shows your URL. Make sure this URL is the same as the URL that you are moving your WordPress site to. If it isn’t go ahead and change it to match your new URL.
Now go to your URL in a web browser and you should see your site perfectly restored on the new host with your theme, images and everything. Note that it will even restore your old passwords so the username/password you created when you setup this new installation is not void. Use your old one and you’re good to go!