How to migrate a WordPress website is no more a complex task. Want to know how? Let’s find it here.
WordPress is a complete content management system that allows you to build your website and host it with your choice’s hosting service provider. As the performance of a website, besides several other factors, is heavily dependent on the host’s quality, you would ideally want to choose a hosting provider that you would not need to change in the future.
However, if the hosting service provider is no longer able to meet your requirements, you may have to switch to some other host that better serves your needs. But you need not worry, migrating your site is not that complex, and you can accomplish that in a few simple steps. It’s similar to what you do when you migrate a website to WordPress.
Before we get into the migration process, let’s look into why you would want to migrate your site.
- Your current site is too slow, and you want better performance.
- Your site has outgrown the current host, and you want more bandwidth and more storage space.
- You need better customer support.
- Also, you can get a better deal elsewhere.
- You need better and more features to run your website.
So, there could be several reasons why you would want to migrate your WordPress website. Now, let’s understand the migration process.
Manual Migration of a WordPress Website
To complete the process, you will need an FTP client, such as FileZilla, CyberDuck, Cute FTP, etc.
Back-Up your Files
As you do, when you migrate a website to WordPress, copy all your files using an FTP tool. Connect the site’s server and go to the public-HTML folder and download all the files. Create and download a backup of your site’s MySQL database. From the phpMyadmin in your new host’s control panel, select the database associated with your WordPress site, and click export to download the database. Another way to back up the files is by accessing the file manager in cPanel and creating a zip file for easy downloading.
Upload Your Files and Database to the New Host
Connect the new server via an FTP client and upload all the files. This you can do from the public_html folder on the new hosting account.
Use the cPanel or the control panel of the new host to upload the database. Secure the database name, username, and password of the new database that you create. Select the new database from phpMyAdmin and then import. Now upload and save the MySQL database.
Edit the wp-config.php File
Some modification needs to be done to ensure the new host’s setting works appropriately. Using the FTP client once again, locate the wp-config.php file, which points towards the old database at the moment. Using the text editor, make the necessary changes in the database name, username, and password. Now, when you close all the files, the WordPress website should be operational.
Update the DNS
Finally, if required, you will have to update the domain name server or DNS so that it points towards the right host when someone types your site’s URL. You need some DNS information you can get from the Domain Details section on the WP Engine User Portal. Here you’ll get the CNAME record and the ANAME for your website, which you have to enter into your domain name account. This process may take some time, depending on where you purchased the domain.
If you have any apprehensions about manually migrating your website on your own, you can always hire WordPress experts for the job. Or, you can opt for an automated process using plugins. You have worked hard to build your website and would not want to lose anything during the migration. There are several plugins available in the market to help you out. Some of them are briefly explained here.
The Duplicator plugin, one of the best-automated migration plugin, makes your job much more comfortable by streamlining the entire process. With just a click of a button, the site’s files and database are copied. You can then download this information in a Zip file.
All-in-One WP Migration
It is one of the most advanced options to backup and migrates websites using a plugin. Backups are created quickly, which you can easily import to your site in the new host. It works best with small websites.
WP Engine Automated Migration
This plugin copies all the files and database, uploading it to the new site server.
You only need to import the. SQL file that is generated in the process, to the new site manually.
Whenever you have to migrate a website to WordPress or switch the site to a new host, you can either do it manually or opt for an automated process using migration plugins.