There are numerous reasons why we may need to move our WordPress site. And although a possible option is to reinstall and migrate all the contents, the flexibility of WordPress offers us some much easier alternatives, always depending on our case.
Below, we are going to list the most common methods and their steps involved.
Warning: If you have the site hosted with us, you can follow the steps detailed in this note or simply send us a ticket, clarifying where you want to move your WordPress. We will take care of everything!
Automatic migration via WP Clone, from the company WP Academy
Our preferred option for copying and migrating WordPress is WP Clone by WP Academy. This plugin really works great: it's easy and doesn't include options that make us run away in terror.
It requires that you install WordPress in the destination place, but, once this is done, it will simply be enough for you to generate the backup in a file, and in the destination place, paste the URL of said file so that the plugin downloads it, extracts it, replaces the data with those of the new WordPress and… Ready!
Manual migration when your domain and URLs don't change
In the case of wanting to move your WordPress server, although your domain and URLs will remain exactly the same, the process is very simple.
- If the database is the same, all you have to do is copy all your files and your database.
- In case the database changes, you have to edit your wp-config.php file to reflect the new values. This file is located in the root of your WordPress (usually inside public_html when your entire site is WordPress).
- If you want to test the migration before making the change, you can temporarily adjust the value of "siteurl" and "home" in your database's "wp_options" table (via phpmyadmin, for example, as long as you have cPanel).
Migration automation via WordPress Duplicator
wordpress duplicator It is a plugin that facilitates the migration task, although it is necessary to have it installed in advance in WordPress to be able to move forward with the migration. Basically, what it does is generate a file with all your contents, a file that you will then have to import into the destination server.
If the migration involves a change of domain, the plugin also takes care of replacing the values in your database. When installing it we will have a wizard in duplicator -> Packages:
- Change domain name: did you change your site from e.g. company.com a company.com/blog? This process will keep the site in the same location.
- migrate: If you want to migrate your site, changing the domain or not, this process will guide you through the process.
- restore: This is the option that we will have to choose when we need to restore a copy previously made on the destination server.
If you have any questions or queries regarding the process, leave your comment below. We will reply to you shortly.
We are Duplika
Give your site the hosting it deserves