Often it is hosting that slows down an internet project. Poor servers and inadequate services slow down your content, sales processes, and conversions? That’s why it’s important to understand how to do a WordPress migration.
Your pre-installed WordPress hosting plan saved you any trouble, but now you have to make a decision. Because migrating your content-rich pages – files, images, database, and everything else that characterizes a dynamic website – can seem like a real undertaking.
In reality, it is not a much more delicate domain transfer, here the risk of losing visits due to redirects not performed properly is real. Switching from one hosting to another, with relative change of provider, is actually not very difficult. Here’s how to transfer a website.
Before understanding how to migrate WordPress you need to be aware of why you are doing it. Why do you have to move your site and change hosting? There can be several reasons. The most common is already listed: your business has grown and you need a better service, capable of expressing your full potential.
In other cases, however, you need more security or independence. If you’ve done everything with Linux shared hosting now you need a dedicated server. Does your provider have good references? Well, you can do an internal transfer. Otherwise, you have to migrate WordPress with a procedure that is a little scary at first. Last reason that pushes you to transfer your website or blog?
The speed of the servers: You want to change provider because the company offering this solution is not professional on this point: the website pages need to load quickly and the quality of the server is decisive. In this case, you have little choice, you need to migrate.
Download files with the FTP program
How to move a WordPress website? The first operation is to download all the files contained in the blog folder. Through FTP, it is possible to take the entire structure of files and folders by creating a copy locally (here you will find the best FTP programs for this job).
During this phase, you have to pay attention to a hidden file, called .htaccess, which may not be visible in the FTP application (in some cases it is necessary to enable the display of hidden files) and which is located in the root folder of the blog.
Database creation and data import
Now that you have done a full backup of the blog (file + database) you just have to do the actual migration. Don’t worry; it’s simpler than you think.
You need to create a database on the new hosting. In the case of hosting with the Server plan, it will be sufficient to open cPanel, generate a new database (the associated user will be created automatically through the wizard), and take note of the access data you have set.
Now log in to phpMyAdmin, select the database you just created, then click on the “Import” command and start uploading the file created in the previous step.
After a few moments, you will receive the confirmation of successful import. At this point, you can then close phpMyAdmin and go to the final stage of the migration.
WordPress migration: final steps
Now that the wp-config.php file is set up, the blog or website is ready to begin its journey. However, one last step is missing, which depends on the type of migration carried out:
- You have not requested the domain transfer: you have to intervene on the DNS panel.
- You have the transfer: you have to wait for the domain to be transferred and activated.
If the blog is on a different address, you need to intervene in some fields in the database to set the URL and prevent WordPress from returning you to the old domain.
Log in to phpMyAdmin and select the WP database. Find a “wp_options” table, open it by clicking on it. Inside there are two records with value “siteurl” and “home” to which the address of the old blog is associated. Edit the records with the new address
Save everything. But database changes can lead to data loss if done incorrectly, before proceeding make sure you have an updated backup copy.
As we have seen, the migration of a blog to a different hosting space is not a complicated operation, but it still requires maximum attention in some steps and a rigorous procedure.
There are certain drawbacks to WordPress such as slow speed, outdated PHP, and MySQL, there you need to purchase SSL, not able to consolidate different sites under one umbrella, etc. So MigrateWPToday could help you in getting out of these problems very smoothly and easily.