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

BlueVM Latest Offers

Previously introduced: http://love8.org/7310.html...

$2.99/month/700GB space/3TB traffic virtual host - GiGi Host

GiGi Host is a US hosting company. Its domain nam...

Jolly Works Hosting: $7/month/100GB space/1TB traffic/free domain name/Phoenix

Jolly Works Hosting, I have introduced its VPS an...

HostUS: $20/year/256MB memory/180GB space/1TB traffic/KVM/Los Angeles/Hong Kong

HostUS, Black Friday discount is out, seems prett...

Wired router (modem), wireless router, IPTV and other shared Internet settings

I have a desktop computer at home, and then I hav...

VPB: $8.5/month/1GB memory/30GB SSD space/1TB traffic/Onapp/Singapore/Hong Kong

VPB, seems to be a Chinese host, registered in th...