TLDR; This WordPress China tutorial provides you with a simple step-by-step set of instructions to deploy and host WordPress in mainland China.
What is WordPress?
WordPress is developed based on PHP, a free and open source veteran blog and content management system (CMS). WordPress has a rich and complete theme and available plugins. Nearly 40% of the websites in the world are using WordPress with the main website, e-commerce website, content management system and other purposes.
Is WordPress Available in China?
In a separate article, Does WordPress Work in China?, we performed a case study on 10 popular site’s including Walt Disney Company and Katy Perry’s official website to learn if WordPress is available in China out-of-the-box.
How to Deploy and Host WordPress in China 2022
This guide shows how to deploy and host a WordPress China site using 21YunBox in a few minutes. This deployment plan refers to the official WordPress best practice recommendations, using the full site HTTPS support, MySQL v5.6+ Database, and PHP v7.4+ technology are deployed, so that users can achieve the best WordPress effect.
If you prefer to deploy and host a WordPress as a headless CMS in China, please refer to this guide.
If you have an existing WordPress website that doesn’t work in China, contact us to learn how to get it working in China without a frontend rebuild.
Steps to Deploying Wordpress in China
- Signup on 21YunBox
- Create a MySQL database in 21YunBox
- Click “Hosted Applications” in the navigation menu, and then select “WordPress”
In terms of service configuration selection, the official WordPress documentation recommends using at least 1GB of RAM and 10GB cloud disks. If you choose a machine with fewer cloud disks for deployment, the deployment may fail.
4. Click Advanced Configuration and add the following environment variables:
|Environment Variable Key||Environment Variable Value|
||MySQL host name|
||MySQL user password|
5. Click “Create Now”
In seconds, the WordPress instance will be deployed online and you can access it through
If you are not sure about the above steps, you can refer to the following operation demonstration:
Configure Custom Domain Dame
When you complete ICP Filing, You need to configure the custom domain name in the backend of 21YunBox and the dashboard of WordPress respectively, as follows:
1. Operation in WordPress
Find and modify “WordPress Address (URL)” and “Site Address (URL)” in the “Settings” of the dashboard to point to the custom domain name.
2. Operation in 21YunBox
Find “Custom Domain Name” in the “Settings” of the project, add the custom domain name and connect. For more details, please refer to: Custom Domain Name Configuration.
Configure Sending Mail Service
If you need to use WordPress to send emails, you can install the free WPMail SMTP plug-in and configure with the mail sending service provider, such as Mailgun, which will provide you a monthly quota of 10,000 emails for free.
More WordPress plugins
You can install new plugins in the WordPress dashboard. Here are a few commonly used WordPress plugins:
- Jetpack is used to increase security and performance.
- Akismet Anti-Spam Manage comment spam.
- Yoast SEO Website used to optimize search engines.
- How to Deploy Laravel Apps in China? (2022 updated)
- Does WordPress Work in China?
- Turn WordPress into Headless in China
- How to Deploy Parse Dashboard in China? (A Step-by-Step Guide)
- How to host Ghost Blog in China?
- How to Deploy Ruby on Rails Apps in China? (A Step-by-Step Guide)
- How to Deploy Java Spring Apps in China? (A Step-by-Step Guide)
- How to Deploy Go Gin Apps in China? (A Step-by-Step Guide)
- How to Deploy Streamlit App in China? (A Step-by-Step Guide)
- How to Deploy Express Apps in China? (A Step-by-Step Guide)
- How to Deploy Django Apps in China? (A Step-by-Step Guide)
- How to Deploy Python Flask Apps in China? (A Step-by-Step Guide)
How To Publish My Game In China
Sep 18, 2023
Content Restrictions and Requirements For Publishing Games In China
Sep 5, 2023
China Health Gaming Advisory
Sep 2, 2023
Method for Determining Illegal and Improper Collection and Use of Personal Information by Apps
Sep 2, 2023
Notice on Preventing Minors from Addiction to Online Games
Sep 1, 2023