WordPress: Transferring A WordPress Site

Do you need to transfer your WordPress site from your old host to Nixihost? This guide will show you how.

Note: Be sure that the old WordPress install and the new one are the same version. If the versions do not match, the databases may not properly sync.

A. Back Up WordPress With phpMyAdmin

  1. Log in to phpMyAdmin.
  2. Select the WordPress database from the list.
  3. Select "Export" from the menu.
  4. Select "Quick", underneath "Export Method".
  5. Click "Go".
  6. When the backup is completed, you will be able to save the file. Click "Save As File" and you will download "wordpress.sql" to your desktop.

B. Download and Upload All Files

  • Using your preferred FTP client, download the complete file structure of your old WordPress install - including the themes and plugins folders, or any folders not part of the default install but referred to in posts or pages.

C. Create A New Database & Edit wp-config.php

Create The New Database

  1. In cPanel, click "MySQL Databases".
  2. Create a new database.
  3. Create a user and password, and assign them to the new database.
  4. Grant the user "All Privileges".

Edit wp-config.php

  1. In cPanel, select the "File Manager" icon.
  2. Open the document root for the domain you're transferring to.
  3. Open the "wp-config.php" file. Edit these lines to match your database name, user name, password, and hostname.
    /** The name of the database for WordPress */
    define('DB_NAME', 'cpuser_dbname');

    /** MySQL database username */
    define('DB_USER', 'cpuser_uname');

    /** MySQL database password */
    define('DB_PASSWORD', '******');

    /** MySQL hostname */
    define('DB_HOST', 'localhost');

Your WordPress install now has an empty database.

D. Import WordPress

If your database if over 10mb, it may be best for you to use BigDump to import it. If not, you can do it via phpMyAdmin:

  1. When logged in to phpMyAdmin, select the blank database.
  2. Click "Import".
  3. Select the SQL backup file that you save to your computer in Part A.
  4. If you intend to skip a set number of code rows, you can use "Partial Import".
  5. Leave "Format" and "Format Specific Options" sections default.
  6. Click "Go".


  • 24 Users Found This Useful
Was this answer helpful?

Related Articles

How to make WordPress show as Secure in Google Chrome

In order to make your WordPress installation show as Secure in Google Chrome, you'll need ensure...

Temporary URLs in WordPress

To use your Temporary URL with a WordPress installation, you will need to edit the Windows Hosts...


Migrating your Tumblr blog to WordPress takes a few steps, but it's easier than you might think....

How do I move my site from my old host to your servers?

Transferring your account to us can be an easy process with zero downtime if done properly. To do...

WordPress Optimization

Optimizing your scripts can keep your server and website loading quickly for your visitors. These...