You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/app-service/migrate-wordpress.md
+19-21Lines changed: 19 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,37 +4,37 @@ description: Migrate WordPress to App Service on Linux.
4
4
author: msangapu-msft
5
5
6
6
ms.topic: article
7
-
ms.date: 12/12/2022
7
+
ms.date: 01/20/2023
8
8
ms.author: msangapu
9
9
ms.devlang: php
10
10
ms.custom: seodec18
11
11
12
12
---
13
13
# WordPress Migration to Linux App Service
14
14
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.
16
16
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.
18
18
19
19
You can migrate your site to WordPress on Azure App Service in two ways:
20
20
21
-
1.With WordPress plugin All-In-One WP Migration
21
+
1. WordPress plugin: All-In-One WP Migration
22
22
2. Manual process of migration
23
23
24
-
## All-In-One WP Migration Plugin
24
+
## Migrate WordPress with All-In-One WP Migration Plugin
25
25
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).
27
27
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.
31
29
32
30
| Application Setting Name | Default Value | New Value |
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
+
>
38
38
39
39
### Export the data at source site
40
40
@@ -63,7 +63,7 @@ The prerequisite is that the WordPress on Linux Azure App Service must have been
63
63
64
64
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.
65
65
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).
67
67
68
68
### Manually Import the data at destination site
69
69
@@ -78,13 +78,11 @@ The prerequisite is that the WordPress on Linux Azure App Service must have been
78
78
rm -rf /home/site/wwwroot/wp-content/*
79
79
```
80
80
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**'.
84
82
85
83
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.
86
84
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).
88
86
89
87
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).
90
88
@@ -103,15 +101,15 @@ The prerequisite is that the WordPress on Linux Azure App Service must have been
103
101
104
102
### Install Recommended Plugins
105
103
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.
107
105
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:
- 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.
115
113
116
114
### Recommended WordPress Settings
117
115
@@ -128,15 +126,15 @@ One common issue that users face during migration is that some of the contents o
128
126
129
127
## Configuring Custom Domain
130
128
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)
132
130
133
131
## Migrating Custom Domain
134
132
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).
136
134
137
135
## Updating SSL Certificates
138
136
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.
140
138
141
139
Next steps:
142
140
[At-scale assessment of .NET web apps](/training/modules/migrate-app-service-migration-assistant/)
0 commit comments