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/overview-wordpress.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ title: 'An overview of WordPress'
3
3
description: An overview of WordPress on App Service. You can focus on creating WordPress content while Azure takes care of the infrastructure, security, and performance needs.
4
4
keywords: app service, azure app service, wordpress, preview, app service on linux, plugins, mysql flexible server, wordpress on linux, php
@@ -26,94 +28,108 @@ There's no fixed limit on the number of sites you can host, but recommended app
26
28
| P1v3, I1v2 | 16 |
27
29
| P2v3, I2v2 | 32 |
28
30
| P3v3, I3v2 | 64 |
29
-
Bandwidth is unlimited, but charges apply for internet egress.
31
+
32
+
Bandwidth is unlimited, but [charges apply for internet egress](https://azure.microsoft.com/pricing/details/bandwidth/).
30
33
31
34
## How are security patches updated?
32
35
Azure manages security patches for core technologies, while WordPress-specific updates may require manual or semi-automated steps:
33
36
-**PHP Major Versions:** Update manually under **App Service > Settings > Configuration**.
34
37
-**WordPress Core:** Minor updates are automatic, while major updates need manual configuration.
35
-
-**Plugins and Themes:** Perform manual updates after backing up your site to avoid issues. WordPress also offers autoupdate options.
38
+
-**Plugins and Themes:** Perform manual updates after backing up your site to avoid issues. WordPress also offers auto update options.
39
+
40
+
See [How to keep your WordPress website stack on Azure App Service up to date](https://techcommunity.microsoft.com/blog/appsonazureblog/how-to-keep-your-wordpress-website-stack-on-azure-app-service-up-to-date/3832193) for more information.
36
41
37
42
## What security features are available to protect my website?
38
43
Azure App Service integrates robust security features to safeguard WordPress sites:
39
-
-**App Service Security:** HTTPS, IP restrictions, certificates, authentication, and network isolation.
40
-
-**Easy Authentication:** Built-in identity provider integration with minimal effort.
41
-
-**Database Security:** Advanced protections for Azure MySQL servers, including encryption and backup capabilities.
42
-
-**Virtual Network (VNET):** Secure communication between Azure resources, the internet, and on-premises networks.
43
-
-**Managed Identities:** Credential-free access to resources using Microsoft Entra tokens.
44
-
-**Defender for Cloud:** Proactive threat detection with DevSecOps integration.
45
-
-**Azure Key Vault:** Secure storage for keys, secrets, and certificates.
46
-
-**Microsoft Entra ID:** Single sign-On (SSO) for seamless authentication.
44
+
-**[App Service Security](overview-security.md):** HTTPS, IP restrictions, certificates, authentication, and network isolation.
45
+
-**[Easy Authentication](overview-authentication-authorization.md):** Built-in identity provider integration with minimal effort.
46
+
-**[Azure Database for MySQL](/security/benchmark/azure/baselines/azure-database-for-mysql-flexible-server-security-baseline):** Advanced protections for Azure MySQL servers, including encryption and backup capabilities.
47
+
-**[Virtual Network (VNET)](/azure/virtual-network/virtual-networks-overview.md):** Secure communication between Azure resources, the internet, and on-premises networks.
48
+
-**[Managed Identities](/entra/identity/managed-identities-azure-resources/how-manage-user-assigned-managed-identities):** Credential-free access to resources using Microsoft Entra tokens.
49
+
-**[Microsoft Defender for Cloud](/azure/defender-for-cloud/defender-for-cloud-introduction):** Proactive threat detection with DevSecOps integration.
50
+
-**[Azure Key Vault](/azure/key-vault/):** Secure storage for keys, secrets, and certificates.
51
+
-**[Microsoft Entra ID]/entra/identity/):** Single sign-On (SSO) for seamless authentication.
52
+
53
+
47
54
48
55
## How can I set up WordPress Multisite?
49
56
WordPress Multisite allows managing multiple sites from a single installation. To enable:
50
-
1. Set up a **subdirectory-based Multisite** or **subdomain-based Multisite**.
51
-
2. Follow [guides for configuration](#).
52
-
**Important Notes:**
53
-
- Conversion to Multisite is permanent; reverting to a single site is unsupported.
54
-
- Switching between subdirectory and subdomain setups isn't allowed.
57
+
Set up a **[subdirectory-based Multisite](https://techcommunity.microsoft.com/t5/apps-on-azure-blog/how-to-set-up-subdirectory-multisite-in-wordpress-on-azure-app/ba-p/3791071)** or **[subdomain-based Multisite](https://techcommunity.microsoft.com/t5/apps-on-azure-blog/how-to-set-up-subdomain-multisite-in-wordpress-on-app-service/ba-p/3886283)**.
58
+
59
+
> [!NOTE]
60
+
> - Conversion to Multisite is permanent; reverting to a single site is unsupported.
61
+
> - Switching between subdirectory and subdomain setups isn't allowed.
62
+
>
55
63
56
64
## How do I access my WordPress website's database?
57
-
The database can be accessed using **phpMyAdmin** at:
58
-
`https://<your-site-link>/phpmyadmin`
65
+
The database can be accessed using **phpMyAdmin** at: `https://<your-site-link>/phpmyadmin`.
59
66
Use the `DATABASE_USERNAME` as the username and a generated token as the password (tokens can be retrieved via **Kudu SSH**).
60
67
61
68
## How do I enable a custom domain for my WordPress website?
62
69
Custom domains can be set up with these resources:
63
-
-[Using custom domains with WordPress on Azure App Service](#)
64
-
-[Configuring custom domains with Azure Front Door](#)
70
+
-[Using custom domains with WordPress on Azure App Service](https://techcommunity.microsoft.com/t5/apps-on-azure-blog/how-to-use-custom-domains-with-wordpress-on-app-service/ba-p/3886247)
71
+
-[Configuring custom domains with Azure Front Door](https://learn.microsoft.com/azure/frontdoor/front-door-custom-domain)
65
72
66
73
## Does WordPress on App Service have email functionality?
67
-
Yes, email functionality is supported through **Azure Communication Services**. Custom email domains can be configured using [these guides](#).
74
+
Yes, email functionality is supported through **[Azure Communication Services](https://techcommunity.microsoft.com/t5/apps-on-azure-blog/wordpress-on-azure-appservice-email-integration/ba-p/3890486)**. [Custom email domains can be also be configured](https://learn.microsoft.com/azure/communication-services/quickstarts/email/add-custom-verified-domains).
68
75
69
76
## How can I update NGINX configurations for my WordPress website?
70
-
NGINX configurations can be updated using a **startup script**. Detailed instructions are available in the [startup script guide](#).
77
+
NGINX configurations can be updated using a **startup script**. Detailed instructions are available in the [startup script guide](https://techcommunity.microsoft.com/t5/apps-on-azure-blog/updating-nginx-default-configurations-on-azure-app-services/ba-p/3710146).
71
78
72
79
## How can I access error logs for my WordPress website?
73
-
Access error logs for debugging via **App Service logs** or the **Kudu dashboard**. Refer to the [documentation](#) for detailed steps.
80
+
Access error logs for debugging via **App Service logs** or the **Kudu dashboard**. Refer to the [documentation](troubleshoot-diagnostic-logs.md) for detailed steps.
74
81
75
82
## How do I estimate pricing for hosting a WordPress site on Azure?
76
-
Use the [Azure Pricing Calculator](#) to estimate hosting costs, considering App Service, MySQL, CDN, Blob Storage, and other components.
83
+
Use the [Azure Pricing Calculator](https://azure.microsoft.com/pricing/) to estimate hosting costs, considering App Service, MySQL, CDN, Blob Storage, and other components. Use this [pricing estimate guide](https://techcommunity.microsoft.com/t5/apps-on-azure-blog/how-to-estimate-pricing-for-wordpress-on-app-service/ba-p/4029262) for more information.
77
84
78
85
## How can I debug and monitor my WordPress site?
79
86
Key tools for debugging and monitoring WordPress sites include:
80
-
-**App Service Logs**
81
-
-**Kudu Dashboard**
82
-
-**SSH Access**
83
-
-**phpMyAdmin**
84
-
Refer to the [documentation](#) for details.
87
+
-**[App Service Logs](troubleshoot-diagnostic-logs.md)**
WordPress on App Service utilizes an Azure Database for MySQL flexible server, which is integrated into a VNET. This setup restricts database access to within the VNET. WordPress on App Service includes phpMyAdmin by default. You can access it at: https://<your-site-link>/phpmyadmin.
93
+
94
+
If you are using Managed Identities, you can log in to phpMyAdmin by using the value from DATABASE_USERNAME environment variable as the username and the token as the password. To find the token use your Kudu SSH to run the following command:
95
+
96
+
/usr/local/bin/fetch-mysql-access-token.sh
97
+
98
+
Or you can find the database username and password from App Service environment variables
85
99
86
100
## What features can I use to boost my WordPress site's performance?
101
+
87
102
Enhance performance with these features / plugins:
-**[App Service settings](/azure/app-service/configure-common)**
101
117
102
118
## How can I build a headless WordPress site?
103
-
Enable **WP REST APIs** and integrate with **Static Web Apps** to create a decoupled front-end experience. Learn more [here](#).
119
+
Enable **WP REST APIs** and integrate with **Static Web Apps** to create a decoupled front-end experience. Learn more [here](https://techcommunity.microsoft.com/blog/appsonazureblog/integrating-wordpress-on-app-service-with-azure-static-web-apps/4004955).
104
120
105
121
## What features are available for creating an enterprise-grade production website?
106
122
Key features include:
107
-
- Staging slots for safe testing
108
-
- Custom domains and SSL certificates
109
-
- CI/CD pipelines for automated deployments
110
-
- Startup scripts for configuration
111
-
-Custom email domains
112
-
- Scaling and load testing capabilities
123
+
-[Staging slots](https://techcommunity.microsoft.com/blog/appsonazureblog/how-to-set-up-staging-slots-in-wordpress-on-app-service/4144847) for safe testing
124
+
-[Custom domains](https://techcommunity.microsoft.com/blog/appsonazureblog/how-to-use-custom-domains-with-wordpress-on-app-service/3886247) and SSL certificates
125
+
-[CI/CD](https://techcommunity.microsoft.com/blog/appsonazureblog/how-to-integrate-continuous-integration-and-deployment-with-wordpress-on-app-ser/4144886) pipelines for automated deployments
126
+
-[Startup scripts](https://techcommunity.microsoft.com/blog/appsonazureblog/how-to-run-bash-scripts-in-wordpress-on-azure-app-service/3625692) for configuration
127
+
-[Emails with custom domain](/azure/communication-services/quickstarts/email/add-custom-verified-domains)
128
+
-[Scaling](/azure/app-service/manage-scale-up) and [load testing](/azure/load-testing/concept-load-test-app-service) capabilities
113
129
114
130
## What are common errors for WordPress on App Service, and how can I troubleshoot?
115
131
Typical issues and resolutions:
116
-
-**Debug Logs:** Enable for troubleshooting.
117
-
-**CORS Issues:** Adjust settings in CDN or Azure Front Door.
-**Intl Extension Issues:** Install via the configuration panel.
132
+
-**[Debug Logs](https://github.com/Azure/wordpress-linux-appservice/blob/main/WordPress/enabling_debug_logs_for_wordpress.md):** Enable for troubleshooting.
133
+
-**[CORS Issues](https://github.com/Azure/wordpress-linux-appservice/blob/main/WordPress/cors_issue_with_azure_cdn_frontdoor_blob.md):** Adjust settings in CDN or Azure Front Door.
-**[Intl Extension issues](https://techcommunity.microsoft.com/blog/appsonazureblog/how-to-install-intl-extension-on-wordpress-on-azure-app-service/4138353):** Install via the configuration panel.
0 commit comments