HostMonster Web Hosting Help

Migrate WordPress

Summary

This article will explain how to migrate your WordPress site without using MOJO Marketplace.



Transfer your Files

  1. Connect to your current hosting account using FTP
  2. Locate the directory that contains your WordPress site Files. This could be your public_html or a subfolder inside of the public_html
    Note: Typically you will need all of the files and folders begining with "wp-".
  3. Using your FTP client, download these files to your computer
  4. Now you need to upload those files to your new hosting account. You can use FTP to upload these files, or you can use Unlimited FTP in your cPanel
  5. Navigate to your public_html folder or the subfolder where you want WordPress installed
  6. Upload the files from your computer to this new location

Export the WordPress Database

  1. On your current hosting account, open the wp-config.php file. Located in this file is the name of the database that you need to export
  2. Most cPanel based hosting accounts should provide a copy of PHPMyAdmin to access your database. You can use this to export the database as a .sql file.

    Export the Database

    Note: If you don't have access to PHPMyAdmin, you can use a plugin to export a backup of your database

Create a New Database

You are now going to create a new database for the WordPress install.

  1. In your cPanel: Navigate to the Database category and click MySQL Databases
  2. Create a new database by typing in a name for it. This will be something like username_wp1, with 'wp1' being the name given to the database.

    Create a Database




  3. Now create a user for the database. You will provide a password for the user, which is important to remember for a later step in configuring WordPress
    Create Database User


  4. Once you have created the user, you will need to assign it to the database. When you do this, give the user All Privileges

    Database Privileges


Import into New Database

Now that you have a database created, you are going to Import the .sql file you downloaded into it

  1. In your cPanel: Navigate to the database category and click PHPMyAdmin
  2. Choose your newly created database, from the left hand side of the page.

    Database Import


  3. Along the top of the screen, click the Import tab

    Database Import Button


  4. Click the Browse button, and locate the file on your computer.
  5. Once you select the file, click Go to start the import.

Update your WordPress Configuration File

Now you need to make sure that your WordPress install is connected to the correct database. To do this,

  1. Open your File Manager and edit the wp-config.php file

    WP Config File


  2. You will need to type in the new database information: database name, database user, and the password.

    Configuration Settings


  3. Once you have updated those, click Save Changes

  1. Log into your WordPress Dashboard, using the username and password from the copy of WordPress you brought over
  2. Under Settings, click Permalinks

    Permalinks Settings


  3. You don't have to make any actual changes, just click the Save Changes button.

Doing this will update all the page and post URLs. If you have custom themes or plugins/widgets with old URLs, you will have to update those manually since there are not any plugins that are able to modify those as well.

View your Site

Once you have completed these steps, view your site in your browser to make sure everything looks correct and is functioning properly.

Knowledgebase Article 9,545 views bookmark tags: migrate wordpress (updated 287 days ago)


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

How to Migrate a self hosted copy of WordPress (updated 46 days ago)
Knowledgebase Article 81,598 views tags: migrate wordpress

An easy way to migrate your WordPress site from one server to another, instead of worrying about the database you can use the Export/Import tool already in WordPress! (updated 1180 days ago)
Video "How-to" Tutorial 91,714 views tags: buildersonline export wordpress

How to move WordPress from one folder to another folder on the same server. (updated 46 days ago)
Knowledgebase Article 7,381 views tags: migrate wordpress

Related Help Content

Instructions on how to migrate over via Wordpress (updated 287 days ago)
Knowledgebase Article 18,828 views tags: transfer wordpress

If you have a WordPress blog hosted on wordpress.com, you can easily export it and import it to WordPress that is installed on your hosting account with hostmonster. Login to the WordPress D (updated 894 days ago)
Getting Started Article 165,439 views tags: blog export file import wordpress

Have FrontPage extensions and Wordpress installed on account. Was working fine in the past, but now cannot connect with FrontPage and Wordpress does not link properly. (updated 703 days ago)
Knowledgebase Article 62,483 views tags: frontpage htaccess wordpress

How to update WordPress Plugins (updated 1033 days ago)
Knowledgebase Article 21,268 views tags: plugins wordpress

Prevent Spam These steps will help you prevent users and robots from posting Spam on your WordPress blog. Inside the WordPress Dashboard, select Settings in the navigation bar on the left. From the G (updated 934 days ago)
Getting Started Article 66,048 views tags: comment scroll spam wordpress

My Wordpress site is slow or seems down. (updated 1076 days ago)
Knowledgebase Article 38,918 views tags: wordpress

Install Plugins These steps will help you install and select a WordPress plugin for your blog. Inside the WordPress Dashboard, select the Add New link from the Plugins menu. You can search for a plug (updated 1063 days ago)
Getting Started Article 80,362 views tags: blog install link plugin wordpress

Install Themes These steps will help you install and select a WordPress theme for your blog. Inside the WordPress Dashboard, select the Add New Themes link in the Appearance Menu. You can search for (updated 774 days ago)
Getting Started Article 189,357 views tags: install link theme themes wordpress