September 7, 2020
September 7, 2020
Planning to switch hosting providers? Then you need to know how to migrate your WordPress site. If you’re not sure how — don’t worry. This article will explain the two different methods on how to do just that. Furthermore, there’s also a tutorial for those who want to migrate from WordPress.com to WordPress.org.
Let’s get started!
Limited time offer. Migrate WordPress site to Hostinger and get up to 82% OFF for WordPress hosting packages.
For some website owners, migrating a WordPress site is a bothersome experience as there are many details to pay attention to during the transfer process. Others think it’s too risky and may damage the whole website. However, even if there are some risks involved, website migration can be a seamless process and will bring several benefits if done correctly:
Let’s dig into the two methods to migrate your WordPress site: the manual way and with the help of a plugin.
Manual migration requires you to transfer files and databases, and then edit the wp-config.php file. You can do it all via the file manager on your hosting control panel or use an FTP client like FileZilla.
First thing first, you need to download all WordPress files to your computer. These files will be uploaded to your new hosting account later on.
After the download is finished, it’s time to create a backup of your MySQL database:
The next step of migrating your WordPress site is to upload the files you’ve downloaded to your new host.
After that step is done, now we need to upload the MySQL database:
Next, specify the credentials of your new MySQL database by editing the wp-config.php file in your new hosting account.
You should follow this step only if you plan to use a different domain name when migrating your WordPress site. Before proceeding, make sure that the new domain is functional and correctly pointed to your new hosting platform.
Alternatively, you can also update all WordPress URLs by running a query via phpMyadmin.
Another method to migrate a WordPress site is by using a cloning plugin. Although there are hundreds of PHP cloning scripts, we recommend using All-in-One WP Migration as it is straightforward and provide all the necessary tools to migrate your site.
Before we continue, make sure you have WordPress installed on your new hosting account, and the plugin activated on both the old and new accounts. Once you’re done, follow the steps below:
The final step of using the plugin is to re-save your permalink structure. You need to change the structure twice as it will regenerate your .htaccess file:
Hostinger’s automatic migration tool is the fastest and easiest way to transfer your WordPress website. This feature will take care of the entire migration process for you.
This tool requires your WordPress site’s login details, such as the username, password, and link you use when logging in to your WordPress admin panel (yourwebsite.com/wp-admin).
Besides that, you will need the link to your previous hosting provider’s login page and the username and password to access your old hosting account.
To use Hostinger’s migration tool, you can follow these simple steps:
The tutorials above are perfect for those who have their websites hosted on a hosting service. But what about those who just signed up for a hosting account and want to migrate their WordPress.com sites to WordPress.org? Don’t worry. Sit tight and let’s go over the details on how to do that:
Keep in mind that this method will only transfer your posts, pages, and media files. Other site data like themes and plugins need to be installed manually.
All in all, migrating your WordPress site is a straightforward process and can be done quickly. So if you think you need to migrate to a new host or switch to self-hosted WordPress, don’t be afraid to do so!
Here’s a quick recap on the explained methods:
We hope that this tutorial can help you migrate your WordPress site. Hit the comment section below if you have any questions and suggestions.
November 06 2017
ok, I can access to the Hostinger cPanel, but not to the Wordpress admin page
September 22 2020
Great step by step guide. One question. I plan to use the same domain name on Hostinger as I have on my old site. Can I do this with all the options you listed? Do I first migrate my wordpress site and then work on the DNS information on the Hostinger site to point to my domain?
Replied on November 18 2020
Hey Daniele. Yes you can do that with all options listed, and you should first migrate, then point the DNS.