Last update at :2024-07-08,Edit by888u
Many people find that WordPress cannot enter the backend after using Cloudflare CDN, mainly because of the use of Cloudflare's SSL. I tried several methods at night but failed. The following solution is safe, simple and convenient.
To solve this problem, Cloudflare released a WordPress plug-in: Cloudflare Flexible SSL, which specifically solves this problem.
1. Download the plug-in to the plugins directory and unzip it
Plug-in download: https://wordpress.org/plugins/Cloudflare-flexible-ssl/
2. Enter the mysql database, in the table wp_options, edit active_plugins in option_name (for the activated plug-ins). Our method is to add Cloudflare Flexible SSL to it, thus enabling this plug-in.
The option_value field:
a:2:{i:0;s:33:"classic-editor/classic-editor.php";i:1;s:34:"cloudflare-flexible-ssl/plugin.php";}Add
i:1;s:34:"cloudflare-flexible-ssl/plugin.php";At the same time, remember to modify the a:2 at the beginning, where the number is the number of plug-ins enabled.
Recommended site searches: IP segment query, domain name price, asp website space, free space in mainland China, dual-line server hosting, domain name purchase, domain name registrar, application for free space, free personal cloud server outside mainland China, forum host,
发表评论