Guides and tutorials

Hundreds of tutorials and step by step guides carefully written by our support team.

Migrate WordPress in a simple way

Migrating a WordPress may seem like a complex task, and in a certain way, it is. Either because you come from another provider and you want to bring your WordPress to SW Hosting, because you have hired a more powerful Cloud, or for any other reason, we help you to make the migration in a simple way.

In this manual, we cover the migration process with the "All-in-One WP Migration" plugin, which will be responsible for generating a single ".wpress" file with all the data of your WordPress website: configuration, publications, plugins, topics, database, etc.

Later you can import this file into any other WordPress website.

Install plugin "All-in-One WP Migration" in WordPress

We start by installing the plugin in the WordPress of origin from which we are going to perform the migration:

  • Access the Wordpress administration panel. Usually, this is found in the "wp-admin" directory, for example:

    • https://www.yourdomain.com/wp-admin
  • In the left menu, click on Plugins > Add new and in the search field enter "all in one wp migration":

  • Click on the button Install now of the All-in-One WP Migration plugin, and once installed, on the Activate button that appears in the same place.

Export WordPress in origin

  • Access the Wordpress administration panel. Usually, this is found in the "wp-admin" directory, for example:

    • https://www.tudominio.com/wp-admin
  • In the left menu, access All-in-One WP Migration > Export:

  • Click on Export to > Archive. All the data of your WordPress begins to be compiled in a single file.

If you wish, you can open the Advanced options dropdown and exclude the data you consider, thus reducing the size of the resulting file.

Attention! Some of these options may result in an incomplete migration.

  • Once the export is finished, click on Download to obtain the resulting file. This file will be downloaded to your computer and will be the one you will import into the destination WordPress.

Import WordPress on destination

You have already exported your WordPress in a single ".wpress" file. It is time to import it into destination:

  • If your domain already points to the new server where you will import your WordPress, you can skip this point. Otherwise, in order to be able to access the new WordPress, we will make the domain point to the IP of the new server on our computer:

    • Open the "Notepad" as administrator (right click on "Notepad" > "Run as administrator") and edit the following file on your computer: C:\Windows\System32\drivers\etc\hosts

    • Add a line with the IP of the new server followed by the domain, for example: 81.25.123.45 miwordpress.com

    • Save the file. Now, when you access "miwordpress.com", you will do it through the IP that you have indicated in the file instead of the one that really points the domain. These changes only affect the computer you are using. For your domain to point to the new server in a real way, you must modify the "nameserver" (DNS servers) of the domain.

    • Remember that later you must delete this new line that you just added.

  • At the destination you must also install the plugin, follow the steps indicated in the first section of this manual.

  • Once the plugin is installed, in the left menu access All-in-One WP Migration > Import:

  • Click on Import of > File and locate on your computer the file ".wpress" previously downloaded, during the export process. Once selected, the file will be sent to the server. This may take several minutes depending on the size of the file and the speed of your connection.

  • A warning will appear indicating that the new WordPress will be replaced by the content of the file that we are importing. Press Proceed:

  • If everything went well, it appears the following:

  • Click on Save structure of permanent links. The following configuration page opens:

  • Check the settings and press Save changes.

  • Click again Save changes for the second time to save the settings and let WordPress internally regenerate the ".htaccess" file.

  • Finally, click on Finish:

Congratulations!! You have already migrated your WordPress website.

Remember to delete the line you added earlier in the "hosts" file and modify the "nameserver" (DNS servers) of your domain to point to the new server.

Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.
Your privacy is important for us
We use our own cookies for the proper functioning of the site. In addition, third-party cookies are used for analytical purposes only. This information is not associated with any person so that personal identifying data is not stored, but is only information that is collected to identify the session, with the aim of facilitating the analysis of the website. You can change your preferences at any time by entering this website again. For more information about our cookie policy you can visit our Cookies. You can press the "Accept and close" button to give us your consent or you can access more detailed information and manage cookies.