How to migrate WordPress manually?

You can easily migrate your WordPress website using FTP, SSH, or migration plugins. Please follow the steps below to migrate your WordPress website manually.


Step 1: Migrate the Files

Download the Files:

  1. Log in to your old hosting account.

  2. Go to File Manager > WordPress install directory.

  3. Compress (.zip) all WordPress files and directories.

  4. Download the .zip file using FTP or File Manager.


We can help you download a large .zip file to your new hosting account with us directly from your old hosting account. Move the .zip file into your WordPress root directory and provide us with a downloadable URL or FTP details to download the file.


Upload the Files:

  1. Log in to your new hosting account with us.

  2. Go to cPanel > File Manager > Upload and upload the .zip file. You can also use FTP to upload.

  3. Move the .zip file inside the [public_html] directory.

  4. Select the .zip in cPanel > File Manager.

  5. Click Extract.

  6. Done!


Step 2: Migrate the Database

Download a Database Backup:

  1. Log in to your WordPress and install the UpdraftPlus WordPress Backup plugin.

  2. Go to Settings > UpdraftPlus Backups > Backup Now.

  3. Select [*] Include your database in the backup.

  4. Deselect [ ] Include your files in the backup.

  5. Click Backup Now. Wait for the backup to complete.

  6. Click Database next to the backup.

  7. Click Download to your computer.


It is a third-party plugin. MechanicWeb does not endorse its use and is not affiliated with them.


Create a New Database:

  1. Log in to your new hosting account with us.

  2. Go to cPanel > MySQL Database Wizard.

  3. Enter the database name and click Next Step.

  4. Enter the username and password, and click Create User.

  5. Select [*] All Privileges.

  6. Click Make Changes!


Take note of the database name, username, and password.


Import the Database Backup:

  1. Log in to your new hosting account with us.

  2. Go to cPanel > phpMyAdmin > [Select the database] > Import.

  3. Click Choose File and select the database backup.

  4. Click Go from the bottom of the page.

  5. Wait for the "Import has been successfully finished" message to appear.

  6. Done!


Step 3: Modify wp-config.php

After importing your database, you will need to modify the wp-config.php file with the new database name, username, and password:

  1. Log in to your new hosting account with us.

  2. Go to cPanel > File Manager.

  3. Navigate to [public_html].

  4. Select wp-config.php.

  5. Click Edit.

    Locate the following details:

    /** The name of the database for WordPress */
    define( 'DB_NAME', 'olddatabasename' );

    /** Database username */
    define( 'DB_USER', 'oldusername' );

    /** Database password */
    define( 'DB_PASSWORD', 'oldpassword' );

    /** Database hostname */
    define( 'DB_HOST', 'oldserver' );

    Replace the following values:

    [oldserver] with localhost
    [olddatabasename] with the new database name
    [oldusername] with the new database username
    [oldpassword] with the new database password

  6. Done!


  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to switch to MechanicWeb with zero downtime?

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

How to transfer sites from your old hosting to MechanicWeb or restore cPanel backups manually?

In this tutorial, you will learn how to manually transfer or restore your websites, files,...

How to split addon domains into individual cPanel accounts?

To split addon domains into individual cPanel accounts, you need to, in chronological order:...

How to request migration?

About Account Migrations MechanicWeb will assist you with migrating your websites free of charge...

How to access a website when SSL is not installed?

If you do not have SSL installed, you will likely get an SSL error (e.g., your connection is not...