How to solve the problem of WordPress being unable to access the backend after using Cloudflare CDN

How to solve the problem of WordPress being unable to access the backend after using Cloudflare CDN

Many people are unable to access the backend of WordPress after using Cloudflare CDN, mainly because of the use of Cloudflare's SSL. I tried several methods at night, but none of them worked. 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

Plugin download: https://wordpress.org/plugins/Cloudflare-flexible-ssl/

2. Enter the MySQL database, in the wp_options table, edit active_plugins in option_name (for activated plugins). Our method is to add Cloudflare Flexible SSL to it, which enables 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 to

 i:1;s:34:"cloudflare-flexible-ssl/plugin.php";

At the same time, the number at the beginning of a:2 is the number of enabled plug-ins, so remember to modify it.

<<:  anyunweb: 20 yuan/month/1GB memory/50GB space/unlimited traffic/20Mbps/DDOS/HyperV/Los Angeles

>>:  SiliconHouse: $45/month/E3-1230v2/32GB memory/2TB hard drive/20TB traffic/1Gbps/Phoenix

Recommend

KTS24 10GB RAM SSD Hard Drive 1Gbps Bandwidth German KVM VPS Review

Details : KTS24: €2.5/month/4G memory/25GB SSD sp...

Cloudflare Pages tutorial

Cloudflare Pages is a new service launched by Clo...

drServer: $16/month/Atom C2750/16GB RAM/2TB SSHD/Unlimited traffic/Dallas

drServer, a foreign hosting provider, has been in...

T667: 19 yuan/month/128MB memory/3GB space/100GB traffic/KVM/Los Angeles CN2 GIA

T667, the Chinese business owner is a good guy. H...

BudgetVM related evaluation information

As the saying goes, if you take money from others...

123Systems: $25/year/2.5GB/75GB/2TB/OpenVZ/multiple data centers

123Systems recently launched a special price host...