All In One WordPress Migration Tutorial

Introduction

In this pelajaran, we’ll take a look at how to use the excellent AIOWP Migration Plugin to migrate your sites from your old hosting to GridPane.

WordPress provides a variety of different plugin tools to help you migrate your sites from one host to another.

Often a host, especially shared hosting, won’cakrawala provide you with root access to the server where your sites are hosted. In these situations using one of these tools is necessitated.

In this article, we are going to use the
All In One WP Migration plugin
to migrate a site into a GridPane peladen using an AIOWPM backup, but the process looks pretty much the same no matter where you’re importing the website into.

Throughout this article, we will be referring to the site you wish to migrate as the
origin siteand the site or peladen being migrated into as yourdestination site or server.

Before you begin, we recommend disabling all caching on your origin and destination server before proceeding. This includes any peladen-based page and object caching systems that might be in place, and any application-level plugin based caching.

For this article, the demo origin site I will use has a small amount of dummy content and is using the stargazer theme.

aiom_source.png

Step 1. Backup your Origin site with All In One Migration

The plugin authors, ServMask, have extensive documentation about using this plugin at their Knowledge Base. Please refer to this documentation for any use of the more advanced features of the plugin. You may also contact them for free help here.

Install and activate theAll in One WP Migration plugin on yourorigin site.

aiom_plugin.png

Once activated go to theAll In One WP Migration settingsExport page. This page includes aDatabase Find and Replace
feature, and more
Advanced options you can configure.

AIOWPM_export.png

For this article, we don’t need any of the advanced options.

However, I have set the export to replace our site title with something appropriate so we can see that the migration has been successful. I am changing the site title from
AIOM Migration Source toAIOMigration Completed.

Click theEXPORT TO hamburger menu, and selectFile from the dropdown menu.

aiom_export_to.png

A Popup modal will appear detailing the progress of the export process.

progress_modal.png

Once the export is complete, you will be presented with a button to download the site backup.

download_modal.png

Click the big green button to begin the download process.

Another modal will appear and ask you to save the file. Notice that the downloaded file has an extension of.wpress, this is the All In One WP Migration format, you must be very careful titinada to change this filetype.

save_modal.png

Store the backup file somewhere safe on your local machine.

Step 3. Enable a local Saudara redirect by editing your Hosts file

However, at the moment you can’t visit your destination site as theDNS records andName Servers for the domain are currently point to the origin hosting.

Now you need to edit your local machine’shosts  file to enable a Saudara redirect. This will allow you to visit your destination site from your local machine using the correct site URI. With the redirect enabled, you will see the destination site, while the rest of the internet will see the origin site.

As I am using macOS I will open my/private/etc/hosts  file for editing with the following command.

sudo nano /private/etc/hosts

We have more complete documentation regarding editing your local machine’s hosts file to redirect URIs here, including instructions on the location of ahosts  file on macOS, Windows and Linux machines.

For this latihan the active domain is an-example.com and the destination server IP address is188.166.148.89, so I need to add the following lines to myhosts file.

188.166.148.89 an-example.com 188.166.148.89 www.an-example.com

edited_hosts.png

Once the editedhosts file has been saved you will be able to visit your GridPane site using the active domain.

With regards to this articles example destination site, when I visithttp://an-example.com  I now see the recently deployed GridPane site and titinada the origin site.

destination_site_pre_migration.png

Step 4. Migrate Origin Site Duplicate into Destination Site

Here we’re at the final step where we’ll import the All in One Migration Backup into your Destination website.

Install the All in One Migration Backup plugin on your GridPane destination site and activate it. Once activated, go to the All in One WP Migration Importsettings page and click the IMPORT FROM hamburger in the middle of theIMPORT SITE panel.

aio_import_page.png

A dropdown menu will appear, selectFILE.

aio_import_file.png

Now select the All In One WP Migration backup.wpress file you saved to your local machine inStep 1,and click Open.

select_wpress.png

A popup modal will appear displaying the progress of the upload process, this may take some time depending on the size of the origin site being migrated and your internet connection.

import_wpress.png

Once the upload is complete, the modal will be replaced with a warning notifying you that the existing site, including all files, plugins, themes, and the database will be overwritten by the migration. You will need to clickProceed.

overwrite_warning.png

Once the migration is completed and your data has been imported successfully, the popup modal will notify you of the need to reset your permalinks before your migrated site can be viewed correctly.

Click thePermalinks Settings link.

import_complete_permalinks.png

You will be automatically logged out. This is because your GridPane destination site Admin User was deleted when the database was overwritten. You will need to gelondong back in using the Admin User from the origin site.

On thePermalinks Settings page, don’cakrawala touch any of the settings, butclick save twice.

save_permalinks_twice.png

Test your duplicate site by visiting its URL

http_migration.png

Next, you should enable an SSL.

If you are using the DNS API method (method 2 in our article) you can enable the SSL before you swap DNS.

If you are relying on the webroot SSL method, you will need to swap your DNS first and there will be some HTTPS downtime. The site will be served as HTTP until a origin SSL is placed on the server.

Source: https://gridpane.com/kb/migrate-sites-to-gridpane-using-all-in-one-wp-migration/