How to Migrate from Bluehost to Hostinger
Migrating your WordPress website from Bluehost to Hostinger might seem daunting, but with the right steps, it can be a smooth and straightforward process. In this guide, I’ll walk you through the entire procedure, from backing up your website files on Bluehost to setting up your new site on Hostinger. By the end of this tutorial, your website will be fully operational on Hostinger, with all your content and settings intact.
Step 1: Back Up Your WordPress Files on Bluehost Start by logging into your Bluehost account. Navigate to the “Websites” section and click on the settings button below the WordPress site you wish to migrate. Go to “Advanced,” then select “Manage” next to the File Manager. Here, you’ll find the “wp-content” folder, which contains all your essential WordPress files, including themes, plugins, and media.
To back up your files, select the “wp-content” folder, compress it into a ZIP file, and download it to your computer. This file will serve as a backup and will be used later to restore your website on Hostinger.
Step 2: Export Your WordPress Database from Bluehost Next, you’ll need to export your WordPress database, which stores your website’s content, user information, and other critical data. In your Bluehost account, go to “Advanced” and click on “Manage” next to PHPMyAdmin. Inside PHPMyAdmin, select the “Export” tab and click on the “Export” button. Save the database file to your computer.
Step 3: Set Up WordPress on Hostinger Log into your Hostinger account and go to the “Websites” section. Click “Add Website” and choose WordPress as your platform. During the setup process, select your website’s language and enter the same email address and password that you used on Bluehost. This will make the transition smoother. Once WordPress is installed, it’s time to restore your backup files.
Step 4: Point Your Domain to Hostinger To ensure your domain name points to your new Hostinger account, you’ll need to update the name servers. In Bluehost, navigate to the “Domains” section, select “Manage” next to Name Servers, and replace the current name servers with the ones provided by Hostinger. Save these changes, and note that it may take a few hours for the DNS to fully propagate.
Step 5: Restore Your WordPress Files on Hostinger Now that your domain is pointing to Hostinger, access the File Manager in Hostinger. Locate the “wp-content” folder from the fresh WordPress installation, delete it, and upload the “wp-content” ZIP file you previously downloaded from Bluehost. Once uploaded, decompress the file, and move it to the correct directory under “public_html.”
Step 6: Import Your WordPress Database on Hostinger With your files restored, it’s time to import your WordPress database. In Hostinger, go to “Databases” and click on PHPMyAdmin. If multiple databases are listed, choose the one linked to your WordPress site, then select “Structure,” “Check All,” and “Drop” to delete the existing tables. Now, click “Import,” choose the database file you exported from Bluehost, and hit “Import.”
If you encounter any errors during the import, don’t worry. Most errors are harmless, and your database will still be uploaded correctly.
Step 7: Finalize the Migration After the database import, you might need to update the table prefix in the “wp-config.php” file within Hostinger’s File Manager. Copy the correct table prefix from your database, edit the “wp-config.php” file, and replace the old prefix with the new one.
Finally, ensure that your “wp-content” folder is correctly placed in the “public_html” directory. Once everything is in place, your WordPress site should be fully operational on Hostinger.
Conclusion: Congratulations! You’ve successfully migrated your WordPress website from Bluehost to Hostinger. If you have any questions or run into any issues, feel free to leave a comment below. Don’t forget to subscribe to my channel for more tutorials like this. Thank you for reading!