Import Wordpress Site

1. Introduction

Welcome to Madrona Hosting. If you’ve just joined and are wanting to migrate your site from another hosting provider our Plesk control panel makes the process super easy. 

If you need help just reach out and we can assist as well. 

Things you will need:

  1. A compressed copy of your original WordPress files
  2. A SQL dump of your original WordPress database.
There are number of steps to take to fully import and get your site functional but our guide will step you through the process to make it as easy as possible. And as always we’re here to help so don’t hesitate to reach out to support for a little help.

2. Create the database

First you will need to create an empty database to which you can import your database into from your other hosting site. 

Let’s navigate to the database manager and get started. 

Select “Databases” from the left side navigation menu.

From there you will select “Add Database” at the top of the page.

Fill out the highlighted fields. Take note of:

  1. database name
  2. database user
  3. database user password

After clicking OK, the system will create a blank database and user that can access it. You’ll notice there are 0 tables and the size is 0 Bytes.

3. Import database

Now that you have an empty database you are ready to import your SQL dump file from your previous hosting provider.

Select “Import Dump” for the database you wish to populate with our data.

Note: if you select the wrong Database you will overwrite it with this data.

Next you will need to select the SQL dump file to import. This can be on your local PC or you can upload it to your site through the Plesk file manager here.

Important note: The SQL file must NOT be compressed, you will need to decompress it first before using it to import.

 

import-wp-site-importdb-selectfile

Simply press OK when you’ve selected the file. After a short period you will receive a success message.

import-wp-site-importdb-success

You should now see how many tables and the size of the database.

4. Upload wordpress files

Now that you have successfully imported your database, now you can upload your WordPress files.

To do that we will use the Plesk file manager. Select “Files” from the left side navigation menu, then navigate to the httpdocs folder.

file-manager-1

To upload a file click the + symbol or you can simply drag and drop your file to the folder. 

You may upload it in compressed form.

file-manager-upload
import-wp-site-uploadfiles-select1
import-wp-site-uploadingfilesprogress

Once your file has uploaded you can then decompress it. 

It may decompress into a subfolder. You will need to move the files so that index.php, wp-content, wp-includes etc are in the httpdocs folder.

Once decompressed you should now see your wordpress files.

If they are in a subfolder you will need to move the up they are in the httpdocs folder.

import-wp-site-uploadfiles-archive-success

5. Updating wordpress config

Now that your files and your database are in place you’ll need to make a few changes to you wp-config.php file so wordpress will know how to connect to the new database. Simply click on the file name for wp-config.php and it will open the code editor.

import-wp-site-update-wp-config-select

You will need to update the following parameters in the wp-config.php file. These are the database parameters you saved from earlier in this process. 

define(‘DB_NAME’, ‘your_databasename’);

define(‘DB_USER’, ‘your_db_username’);

define(‘DB_PASSWORD’, ‘your_db_user_password’);

define(‘DB_HOST’, ‘localhost’);

Replace these values with your parameters. Be sure the DB_HOST is set to ‘localhost’

Save your changes by clicking OK. 

Then you can go to the wordpress toolkit and verify you site is functioning. If the preview window does not show what you expect or it says you site is broken hit the refresh icon to reload.

 

6. Next steps

Now that your site is up and functional you will want to do a few extra things.

  1. Create SSL certificate
  2. Update your plugins and themes
  3. Turn on nginx caching
  4. Setup scheduled backups
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

 Quick Start Guide

1. Your first login       After registering your domain and web...

 Account Details v1.1

ACCOUNT DETAILS   1. Introduction To it all...