How to Migrate a WordPress Website
This guide explains how to migrate a WordPress website to a new hosting provider.
Step 1: Prepare the New Hosting
1. Log in to your Client Area.
2. Open My WordPress Sites.
3. Click Create WordPress Site.
4. Enter your domain (without http/https or www).
5. Select Empty Site (for migration).
6. Click Create Website.
Step 2: Upload Website Files
Use an FTP client such as FileZilla:
https://filezilla-project.org/
1. Connect using:
- Host: your domain or server IP
- Username: FTP username
- Password: FTP password
2. Delete the default index.html file.
3. Upload your website files to the server.
Make sure all files are uploaded to the correct root directory.
Step 3: Import Database
1. Open MySQL Details in your hosting panel.
2. Click Log in to phpMyAdmin.
3. Select your database.
4. Go to the Import tab.
5. Click Choose File and select your database dump.
6. Click Import.
Step 4: Update wp-config.php
Edit the wp-config.php file in your website root directory.
define('DB_NAME', 'your_database_name');
define('DB_USER', 'your_database_username');
define('DB_PASSWORD', 'your_database_password');
define('DB_HOST', 'localhost');
Replace the values with your actual database details.
You can find them in your hosting control panel.
DB_HOST is usually set to 'localhost' on most hosting providers.
Final Step
Upload the updated wp-config.php file back to the server.
Open your website in a browser and check if everything works correctly.







