Announcing Public Preview of Migration plugin for WordPress on App Service
We are excited to announce that we have launched the public preview of the App Service migration plugin for WordPress.
If you want to move your WordPress website from any hosting platform to App Service, this plugin is for you. The plugin copies all your content from your existing site to a new WordPress site in App Service without impacting the existing site, so that you can verify and test your new site before making it available to visitors.
In this article, we will learn how to use the migration plugin to move your WordPress site to App Service.
Prerequisites:
The source site. This is the site which has the content that needs to be migrated. For this example, we will use https://thegourmetkitchen.online/
The destination site. You need a new WordPress on App Service site to get started. We will use https://destinationsite.azurewebsites.net/
To create a WordPress site on App Service step by step, follow the instructions here: https://techcommunity.microsoft.com/t5/apps-on-azure-blog/how-to-set-up-a-new-wordpress-website-on-azure-app-service/ba-p/3729150
Now let’s start!
Step 1: Download the migration plugin in ZIP format from the link below:
Step 2: Install and activate the plugin in both the source site and the destination site.
Step 3: Go to the destination site. Navigate to Azure App Service Migration (Preview) > Auth Token
Step 4: Click on Generate Token and copy the token.
Step 5: Go to the source site. Navigate to Azure App Service Migration (Preview) > Migrate
Step 6: Select the options if you wish to exclude any item from the migration.
Do not export post revisions: Only the latest versions of the blog posts will be transferred. The past revisions will not be transferred.
Do not export media library: The media files (images and videos) will be skipped.
Do not export themes: All installed themes will be excluded from migration.
Do not export must-use plugins: Must-use plugins will not be transferred. Learn more about must-use plugins, click here: Must Use Plugins – Advanced Administration Handbook
Do not export plugins (files): The entire plugin directory (all installed plugins) will be excluded from the migration.
Step 7: Enter the destination URL. Ensure that the destination URL is in the correct format and contains only the base URL of your WordPress website.
Step 8: Enter the destination site token. Paste the token copied in step 4.
Step 9: You can choose to use the advanced options for migration.
The migration plugin packs the source site’s data and transfers it in chunks of ‘Data transfer chunk size’. The plugin then waits for each chunk to successfully transfer before going to the next chunk. If the time taken for transferring a chunk is greater than ‘server timeout’, it will result in migration failures.
The default values of ‘Data transfer chunk size’ is 5000 KB and ‘Server timeout’ is 60 s. This should work for most migration scenarios. If migration fails due to slow internet speed, you can decrease the chunk size until the issue resolves.
Step 10: Click on Migrate
Step 11: Warning: Please read this carefully.
Note that during the migration process:
The source site and the destination site will be under maintenance mode. Users will not be able to access these sites.
If you leave this page during migration, the migration process will continue in the backend. Please do not restart the migration until the migration is successfully completed.
Please proceed only if you accept to these terms. Click on Migrate.
Step 12: Please wait until the migration process is complete. You can also choose to stop the migration by clicking on ‘Cancel Migration’.
Step 13: Now your site has successfully migrated!
Next steps: The next step will be to map the domain name to the destination site. In this case ‘thegourmetkitchen.online’. Follow instructions here: How to use Custom Domains with WordPress on App Service
Note: The migration plugin is currently in public preview. We are excited to know about your experience with the plugin. Please write your reviews in the comments section below or reach out to us at wordpressonazure@microsoft.com
Support and Feedback
In case you need any support, you can open a support request at New support request – Microsoft Azure.
If you have any ideas about how we can make WordPress on Azure App Service better, please post your ideas at Post idea · Community (azure.com)
or you could email us at wordpressonazure@microsoft.com to start a conversation.
Microsoft Tech Community – Latest Blogs –Read More