Skip to content

Commit d2ec831

Browse files
committed
acro
1 parent 4d258cf commit d2ec831

File tree

2 files changed

+20
-22
lines changed

2 files changed

+20
-22
lines changed

articles/app-service/migrate-wordpress.md

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,37 @@ description: Migrate WordPress to App Service on Linux.
44
author: msangapu-msft
55

66
ms.topic: article
7-
ms.date: 12/12/2022
7+
ms.date: 01/20/2023
88
ms.author: msangapu
99
ms.devlang: php
1010
ms.custom: seodec18
1111

1212
---
1313
# WordPress Migration to Linux App Service
1414

15-
This document describes two approaches for migrating your WordPress sites from Windows App Services or any other external hosting provider to WordPress deployed to Linux App Services, preferably created from [Azure Market Place](https://aka.ms/linux-wordpress). These migration approaches will let you continue with the existing WordPress site as it is. It is recommended to transition the traffic to the new site after all the validations are taken place, site is successfully up and running.
15+
This articles describes two ways to migrate WordPress from App Service on Windows or external hosting providers to App Service on Linux.
1616

17-
>**Note:** Migrate the content to a test instance first, validate all E2E scenarios of your website, and if everything works as expected, swap this instance to the production slot.
17+
>**Note:** First migrate the content to a test instance, validate all scenarios, and if everything works as expected, swap this instance to the production slot.
1818
1919
You can migrate your site to WordPress on Azure App Service in two ways:
2020

21-
1. With WordPress plugin All-In-One WP Migration
21+
1. WordPress plugin: All-In-One WP Migration
2222
2. Manual process of migration
2323

24-
## All-In-One WP Migration Plugin
24+
## Migrate WordPress with All-In-One WP Migration Plugin
2525

26-
This is a very popular and trusted plugin used for migrating sites with ease and is also recommended by the Azure WordPress team. However, there are certain things that need to be taken care of before starting on the WordPress migration.
26+
This plugin is popular for migrating sites with ease. This approach is recommended for sites less than 256MB. If it's more, you can either **purchase the premium version** of the plugin or **migrate manually** using the steps outlined in [manual migration process](#manual-migration-process).
2727

28-
This approach is recommended for smaller sites where the content size is less than 256MB. If it is more, you can either **purchase the premium version** of the plugin, which allows you to bypass the file upload limit, or you can **manually migrate** the site using the steps outlined in the next section.
29-
30-
By default, the file upload size for WordPress on Linux App Services is limited to 50MB, and it can be increased up to 256MB (Maximum Limit). To change the file upload size limit, you need to add the following Application Settings in the App Service and save it.
28+
By default, the file upload size for WordPress on Linux App Services is limited to 50MB, and it can be increased up to 256MB (Maximum Limit). To change the file upload limit, add the following [Application Settings](configure-common.md?tabs=portal) in the App Service and save it.
3129

3230
| Application Setting Name | Default Value | New Value |
3331
|--------------------------------|---------------|-------------|
3432
| UPLOAD_MAX_FILESIZE | 50M | 256M |
3533
| POST_MAX_SIZE | 128M | 256M |
3634

37-
If you choose to migrate the site using this plugin, install All-In-One Migration plugin on both source and target sites.
35+
> [!IMPORTANT]
36+
> Install All-In-One Migration plugin on both source and target sites.
37+
>
3838
3939
### Export the data at source site
4040

@@ -63,7 +63,7 @@ The prerequisite is that the WordPress on Linux Azure App Service must have been
6363
6464
1. Download the **wp-content** folder from the source site. You can use popular FTP tools like [FileZilla](https://filezilla-project.org/download.php?type=client) to connect to the web server and download the content.
6565

66-
1. Export the contents of the source database into an SQL file. You can perform this task either using MySQL client tools like HeidiSQL, [MySQL workbench](https://dev.mysql.com/downloads/workbench/), [PhpMyAdmin](https://docs.phpmyadmin.net/en/latest/setup.html) or through command line interface. For more information on exporting the database, please refer to the following [documentation](https://dev.mysql.com/doc/workbench/en/wb-admin-export-import-management.html).
66+
1. Export the contents of the source database into an SQL file. You can perform this task either using MySQL client tools like HeidiSQL, [MySQL workbench](https://dev.mysql.com/downloads/workbench/), [PhpMyAdmin](https://docs.phpmyadmin.net/en/latest/setup.html) or through command line interface. For more information on exporting the database, refer to the following [documentation](https://dev.mysql.com/doc/workbench/en/wb-admin-export-import-management.html).
6767

6868
### Manually Import the data at destination site
6969

@@ -78,13 +78,11 @@ The prerequisite is that the WordPress on Linux Azure App Service must have been
7878
rm -rf /home/site/wwwroot/wp-content/*
7979
```
8080

81-
4. Upload the new contents of **wp-content** folder using the File Manager. Click on the label that says '**Drag a File/Folder here to upload, or click to select one**'. Please note that if you are not able to upload everything at once, then you can try dividing your upload into multiple smaller ones.
82-
83-
<!TODO: we should prob recomend doing this over FTP, it's more reliable than web upload through SCM site?>
81+
4. Upload the new contents of **wp-content** folder using the File Manager. Click on the label that says '**Drag a File/Folder here to upload, or click to select one**'.
8482

8583
5. You can either point your WordPress to [use an existing MySQL database](https://github.com/Azure/wordpress-linux-appservice/blob/main/WordPress/using_an_existing_mysql_database.md), or use the steps below to migrate the content to the new database server (an Azure Database for MySQL flexible server) created by the WordPress on Linux App Services offering.
8684

87-
>**NOTE:** Azure Database for MySQL - Single Server is on the road to retirement by 16 September 2024. If your existing MySQL database is hosted on Azure Database for MySQL - Single Server, please consider migrating to Azure Database for MySQL - Flexible Server using the following steps, or using [Azure Database Migration Service (DMS)](/mysql/single-server/whats-happening-to-mysql-single-server#migrate-from-single-server-to-flexible-server).
85+
>**NOTE:** Azure Database for MySQL - Single Server is on the road to retirement by 16 September 2024. If your existing MySQL database is hosted on Azure Database for MySQL - Single Server, consider migrating to Azure Database for MySQL - Flexible Server using the following steps, or using [Azure Database Migration Service (DMS)](/mysql/single-server/whats-happening-to-mysql-single-server#migrate-from-single-server-to-flexible-server).
8886

8987
6. If you chose to migrate the database, import the SQL file downloaded from the source database into the database of your newly created WordPress site. You can do it via the PhpMyAdmin dashboard available at **\<sitename\>.azurewebsites.net/phpmyadmin**. Please note that if you are unable to one single large SQL file, please try to break it into multiple smaller parts and try uploading. Steps to import the database through phpmyadmin are described [here](https://docs.phpmyadmin.net/en/latest/import_export.html#import).
9088

@@ -103,15 +101,15 @@ The prerequisite is that the WordPress on Linux Azure App Service must have been
103101

104102
### Install Recommended Plugins
105103

106-
It is an optional step, after the site migration it is recommended to validate that you have the default recommended/equivalent plugins activated and configured accurate as before. If you are prohibited from not configuring them as per your organization governing policies, then you can uninstall the plugins.
104+
It's an optional step, after the site migration it is recommended to validate that you have the default recommended/equivalent plugins activated and configured accurate as before. If you are prohibited from not configuring them as per your organization governing policies, then you can uninstall the plugins.
107105

108-
- The W3TC plugin should be activated and configured properly to use the local Redis cache server and Azure CDN/Blob Storage (if it was configured to use them originally). For more information on how to configure these, please refer to the following documentations:
106+
- The W3TC plugin should be activated and configured properly to use the local Redis cache server and Azure CDN/Blob Storage (if it was configured to use them originally). For more information on how to configure these, refer to the following documentations:
109107

110108
- [Local Redis Cache](https://github.com/Azure/wordpress-linux-appservice/blob/main/WordPress/wordpress_local_redis_cache.md)
111109
- [Azure CDN](https://github.com/Azure/wordpress-linux-appservice/blob/main/WordPress/wordpress_azure_cdn.md)
112110
- [Azure Blob Storage](https://github.com/Azure/wordpress-linux-appservice/blob/main/WordPress/wordpress_azure_blob_storage.md)
113111

114-
- WP Smush plugin is activated and configured properly for image optimization. Please see [Image Compression](https://github.com/Azure/wordpress-linux-appservice/blob/main/WordPress/wordpress_image_compression.md) for more information on configuration.
112+
- WP Smush plugin is activated and configured properly for image optimization. See [Image Compression](https://github.com/Azure/wordpress-linux-appservice/blob/main/WordPress/wordpress_image_compression.md) for more information on configuration.
115113

116114
### Recommended WordPress Settings
117115

@@ -128,15 +126,15 @@ One common issue that users face during migration is that some of the contents o
128126

129127
## Configuring Custom Domain
130128

131-
If you plan to setup your site with a new Custom Domain please follow the steps described here: Tutorial: [Map existing custom DNS name - Azure App Service | Microsoft Docs](app-service-web-tutorial-custom-domain.md?tabs=a%2Cazurecli)
129+
To configure your site with a custom domain follow the steps described here: Tutorial: [Map existing custom DNS name](app-service-web-tutorial-custom-domain.md?tabs=a%2Cazurecli)
132130

133131
## Migrating Custom Domain
134132

135-
When you migrate a live site and its DNS domain name to App Service, that DNS name is already serving live traffic. You can avoid downtime in DNS resolution during the migration by binding the active DNS name to your App Service app pre-emptively as per the steps described here: [Migrate an active DNS name - Azure App Service | Microsoft Docs](manage-custom-dns-migrate-domain.md)
133+
When you migrate a live site and its DNS domain name to App Service, that DNS name is already serving live traffic. You can avoid DNS resolution downtime by binding the active DNS name to your app as described in [Migrate an active DNS name](manage-custom-dns-migrate-domain.md).
136134

137135
## Updating SSL Certificates
138136

139-
If your site is configured with SSL certs, then we need to redo the setup following the instructions here: [Add and manage TLS/SSL certificates - Azure App Service | Microsoft Docs](configure-ssl-certificate.md?tabs=apex%2Cportal)
137+
If your site is configured with SSL certs, then follow [Add and manage TLS/SSL certificates](configure-ssl-certificate.md?tabs=apex%2Cportal) to configure SSL.
140138

141139
Next steps:
142140
[At-scale assessment of .NET web apps](/training/modules/migrate-app-service-migration-assistant/)

articles/app-service/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@
497497
- name: Migrate WebSphere
498498
href: /azure/developer/java/migration/migrate-websphere-to-jboss-eap-on-azure-app-service?toc=/azure/app-service/toc.json&bc=/azure/bread/toc.json
499499
- name: Migrate WordPress
500-
href: migrate-wordpres.md
500+
href: migrate-wordpress.md
501501
- name: Cookbooks
502502
items:
503503
- name: Reference Architectures

0 commit comments

Comments
 (0)