Move Your WordPress Site to A Small Orange
Posted by on 12 November 2013 04:40 PM

For this guide, we're going to demystify WordPress a little bit and show you how easy it is to move a WordPress installation from your current host to A Small Orange. You'll gain an understanding of the basic components of WordPress and see how moving the site is nothing more than a series of simple steps. Let's dig in! 

Note: this tutorial does not apply to sites hosted at It only applies to sites that run on a standalone version of WordPress as found at

If your current host is a cPanel host, the easiest thing to do is to allow one of our talented Tech Support Ninjas to take care of it for you. Just open a ticket and they'll get it moved over for you. 

WordPress is really nothing more than a collection of properly placed files supported by a MySQL database. All we're going to do is move the files and the database and then tell WordPress where to find the database. For the guide, we're going to use a fictitious site with a domain name of 'yourdomain.tld', where 'yourdomain' is the beginning part of your site's URL and '.tld' is your '.com' or similar.

Tip! The below instructions detail how to manually move your WordPress website over. If you would like to use the Softaculous plugin (Softaculous comes standard on all shared plans) to move it over, scroll down to the bottom to see those instructions.

Backing Up

To back up the site, we're going to use a WordPress plugin called 'WP-DB-Backup' to get a copy of the database, and then use an FTP program to copy the site to your computer. To start backing up your site:

  1. Log in to your WordPress site at your current host at yourdomain.tld/wp-admin

  2. Navigate to Plugins menu on the left-hand side of the screen and then Add New

  3. Search for 'WP-DB-Backup'; the top result should be the correct one 

  4. Click Install Now, click OK, and then click Activate Plugin

  5. In the Main menu, click Tools and then click Backup

  6. In the Backup Options setting click Save to Server and then click Backup Now! to start the backup process 

  7. Make note of the directory in which the database backup is stored. In our case it is 'wp-content/backup-220fb/'.

We'll need to know the directory path where the backup is stored when we go to restore the database.

FTPing the Files

Now we need to use FTP to download all of the files, including the database backup which is now stored in a file. A good FTP program to use is FileZilla, which you can download at

Note: to learn more about how to FTP, where to get to your FTP, and more check out our other Knowledgebase articles here.

To get started FTPin':

  1. Log into FTP on your account at your old web host

  2. Navigate to the directory that contains all of your site files
    Note: when you see 'wp-config.php', you've hit the right directory.

  3. Make sure you grab all of WordPress' files including the .htaccess file and download them all into a folder on your Desktop
    Note: .htaccess is often hidden (because it starts with a dot) and so you may have to unhide it first. In FileZilla, click Server and then Force Showing Hidden Files.

Uploading to Your New cPanel Account

We're getting there! It's time to configure your FTP program for your new cPanel account and get logged in.

Note: if you run into a snag on this step, please open a ticket and we'll be glad to get you logged in. 

  1. Open your welcome email and grab your username and the IP of the server your account resides on

  2. Use the IP from the welcome email as the hostname for the FTP, and your cPanel username and password as the login info

  3. Upload the entire contents of your WordPress site into the public_html directory via FTP (make sure that all files were uploaded including .htaccess)

Creating and Importing the Database

We've got the WordPress files moved. Next, we need to create a new database in cPanel and import your WordPress database.

  1. Log in to cPanel (using the login details from your welcome email)
    Note: for this guide, we're assuming a username of “youruser”. Be sure to use your actual username.

  2. In the Databases section click MySQL® Database Wizard

  3. In the New Database text field type 'wordpress'
    Note: your database name is youruser_wordpress. This is the 'DB_NAME' that you'll need later.

  4. Click Next Step 

  5. In the Create Database Users text field type 'wpuser' and then type in a password for your database (make one up)

  6. Write down the password that you used (in this example I used 'aso+rocks!!') and 'youruser_wpuser'; you will need these later for DB_USER and DB_PASSWORD

  7. Click Create User 

  8. On the next screen tick the box adjacent to ALL PRIVILEGES and then click Next Step 

    The database is ready, but it's empty. We need to import the database that we backed up. For this, we're going to use phpMyAdmin, which is built into cPanel.

  9. Click the Home icon in the top left corner of the cPanel screen

  10. Scroll down to Databases again and click phpMyAdmin

  11. When the phpMyAdmin screen pops up click on your database in the left column where it says 'youruser_wordpress' 

  12. Click Import, located near the top of the page, and then click Browse

  13. Navigate to the same folder that you downloaded your WordPress files into earlier, into 'wp-content' and then click on the Backup folder

  14. Double-click on the file name 'yourwpdatabase_' and then click Go, near the bottom of the page 

If it succeeded, great! Let's move to the next step. We're almost done. If not, go ahead and open a ticket with our Tech Support Ninja's and they'll ha-cha! the database into place for you.

Hooking It All Up Together

The last step is to tell your WordPress installation about the new database details. For that, we're going to use cPanel's own File Manager.

  1. Go back to cPanel's main page and click File Manager

  2. Web Root should already be selected (select it if it's not), so click Go 

  3. Right-click on 'wp-config.php'

  4. Click Edit, then Edit again 

  5. Edit just the MySQL settings so that it matches the values that we wrote down when creating the MySQL database earlier

  6. Click Save Changes and then Close in the top right corner

/** The name of the database for WordPress */

define('DB_NAME', 'youruser_wordpress');


/** MySQL database username */

define('DB_USER', 'youruser_wpuser');


/** MySQL database password */

define('DB_PASSWORD', 'aso+rocks!!');


/** MySQL hostname */

define('DB_HOST', 'localhost');

You can also close the File Manager and any other cPanel windows. We're done! That's it. Your site is ready to go. Once you point your DNS at your account at A Small Orange, your site will be live. If you need a hand making any of this work, do not hesitate to contact our Tech Support Ninjas. We want to make sure that your move to A Small Orange is a smooth one. 

Moving it Over with Softaculous

You can easily move your WordPress blog over to us with Softaculous from within your cPanel dashboard.
Note: this move focuses on migrating your blog posts. It imports your posts, pages, and comments. It retains your tags, categories and the links for embedded media but does NOT migrate media files.

If you have uploaded images or videos on your WordPress blog copy those files to your uploads folder located at /wp-content/uploads. This way those images show up on your newly imported site. You can also migrate your themes folder, wp-content/themes, using the same process.

Moving Your WordPress Installation

  1. Log in to your WordPress dashboard and navigate to the Tools menu, then click Export

  2. Click All Content and then Download Export File and save it to your computer (noting the location)

  3. Log out of your WordPress dashboard

  4. Log in to your cPanel account (login info was sent in your welcome email and you can find more info about getting into cPanel here and here)

  5. From your cPanel dashboard, in the Software and Services section, hover over WordPress and click Install

  6. To the right of Choose Domain, select the domain you want to move from the dropdown menu

  7. Remove the 'wp' from the In Directory section if you want your site to be found at instead of

  8. Finish filling out the applicable text fields and complete the installation by clicking the Install button at the bottom of the page

  9. Log in to your WordPress dashboard again

  10. In your WordPress dashboard navigate to the Tools menu and click Import

  11. Select WordPress from the available options
    Note: you will likely need to install the WordPress Importer Plugin to complete this. 

  12. Choose the file you downloaded earlier and click Upload File and Import

  13. Select the author to assign posts to (or assign posts to an existing user) 
    Note: you can change this at any point in the future by editing the posts.

You can also select Download and Import File Attachments to connect to your existing site and download images or videos etc. This usually only works if your site is being imported from a site and not another installation.

No Oranges were harmed in the making of this guide.

See also Login URLs You Need to KnowConnect to Your Account via FTP, What is FTP, cPanel Account Backup, Set Up cPanel MySQL Database and User

 2.2.jpg (35.55 KB)
 2.1.png (18.12 KB)
 3.1.png (14.68 KB)
 3.2.png (3.42 KB)
 3.3.png (8.19 KB)
 6.jpg (39.78 KB)
 9.1.png (31.93 KB)
 9.2.png (46.82 KB)
 7.jpg (44.71 KB)
(7 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
Full Name:
Help Desk Software by Kayako fusion
ERROR: This domain name (, does not match the domain name in the license key file

For assistance with your license, please contact the Kayako support team: