The cart is empty

How to Move a WordPress Website from One Hosting to Another

Wordpress is a lightweight and responsive system, making the migration of a WordPress site relatively simple. Before migrating your website to a new hosting provider, it’s important to verify that the new host fully supports all WordPress functionalities. With MyDreams hosting, you can be assured that the hosting is fully compatible with WordPress.

1) Database Migration

Log in to phpMyAdmin on your current hosting provider. Click on the database name in the left column, then go to the Export tab in the top menu. Export the database to a file on your local disk.

Once the database file is saved on your disk, log in to phpMyAdmin on the new hosting provider. Click on the database name in the left column, then go to the Import tab in the top menu. Use the form to select the database file from your disk and import it.

2) File Migration via FTP

Using an FTP client, connect to the FTP server of your old hosting provider and download all WordPress files to your local PC. Next, connect to the FTP server of your new hosting provider and upload the files from your PC to the new hosting. For MyDreams hosting, place the files in the /web directory.

3) Post-Migration Settings

All WordPress configuration settings after migration are made in the /wp-config.php file. Update the following items:

define('DB_NAME', 'md_4mydomain_cz');
// Database name

define('DB_USER', 'md_4mydomain_cz');
// Database login

define('DB_PASSWORD', 'hesl0012');
// Database password

define('DB_HOST', 'localhost');
// Database host. You can use 'localhost' or the IP address of the database server.

 

Ensure that these settings reflect the database credentials and host details of the new hosting provider.