Quick search
Search

How to Migrate Your WordPress Website

To begin the migration, you’ll need to add the domain you’re transferring to your hosting control panel.
Log in to your account and navigate to the «My WordPress Sites» section.

Click the «Create WordPress Site».

In the field labeled «Enter the domain name for the new site:», input the domain you’re migrating. Be sure to exclude prefixes like www, http, or https.

In the «Distribution WordPress» field, select «Empty Site (for migration)».
This will set up an account for the domain, including a database and an FTP user, ready for your migration.

Click the «Create website».

The domain has been successfully added to the control panel.

Now, you need to upload your website files to the hosting server via FTP.
We recommend using the free FTP client FileZilla for this process.
You can download it from:
https://filezilla.ru/get/
Once downloaded, open the FileZilla program.

To connect via FTP, fill in the following fields:

  • Host: Enter your server's address (e.g., ftp.yourdomain.com).
  • Username: Use the FTP username provided by your hosting provider.
  • Password: Enter the corresponding password for the FTP account.

You can find your FTP connection details in your hosting account dashboard, under the settings for the added site.

Enter the connection details in FileZilla's connection settings.

After connecting, locate the index.html file in the site's folder and delete it. Then, upload your website files to the server.

The next step is to import the database (DB) from the site you are migrating.
To do this, log in to phpMyAdmin through the «MySQL details» tab in your hosting control panel.

Click the «Log in to phpMyAdmin».

On the left-hand side, select the database with the name matching your domain.

Go to the «Import» tab.

Click the «Choose File» button and select the database dump file you want to upload.

Click the «Import» button.

Your database has been successfully imported.

The final step is to edit the WordPress configuration file:
wp-config.php
This file is located in the root directory of your website.

Open the wp-config.php file for editing on your computer. You can either use the version you previously uploaded or download it again from the server.
You can edit the file using any text editor, such as Notepad or Notepad++.
In the file, you’ll need to update the database connection settings.

Edit the following fields in the wp-config.php file with your database details:
/** The name of the database for WordPress */
define( 'DB_NAME', 'your_database_name' );
/** MySQL database username */
define( 'DB_USER', 'your_database_username' );
/** MySQL database password */
define( 'DB_PASSWORD', 'your_database_password' );
Replace your_database_name, your_database_username, and your_database_password with the actual details provided by your hosting provider.

In the field:
/** MySQL hostname */
define( 'DB_HOST', 'localhost' );
The value should remain 'localhost', which is standard for most hosting setups.
However, if you're migrating from a host where the database was on a separate server, this field may contain a different address. In that case, update it to 'localhost' for your new hosting environment.

Replace the Database Name, Database Username, and Database Password in the wp-config.php file with the correct values.
You can find these connection details in the settings of the added site in your hosting control panel.

Save the updated wp-config.php file and upload it to the root directory of your website using your FTP client.
Once done, refresh your website in a browser to verify everything is functioning correctly.