in

Enable Xmlrpc.php and Stop Cloudflare from blocking XmlRpc

Enable Xmlrpc.php on Cloudflare
Enable Xmlrpc.php on Cloudflare

Recently Cloudflare security and protection has increased because of bots and DDoS attacks.

 

On dafault Cloudflare has disabled Xml-Rpc for sites under the platforms.

 

 

What does XmlRpc do.

 

It helps to ping indexing sites whenever a post is updated on your site, it also helps to index more faster for Google update.

 

Also some plugins like jetpack and WordPress app, really need it to function.

 

Enable Xmlrpc.php on Cloudflare
Enable Xmlrpc.php on Cloudflare

 

XmlRpc 520 Error

 

When ever you enter yoursitedomain/xmlrpc.php

And You get 520 server error

 

520 error
520 error

 

 

It will says your hosting is The the error but the fault is not actually from your hosting, it’s on Cloudflare.

 

 

To enable it just apply this simple settings.

We have two steps to take.

 

Step1

Pause Cloudflare on site

Pause Cloudflare

 

 

First login to your Cloudflare dashboard, at https://dash.cloudflare.com/ on overview screw down if you are on mobile device, till you see Pause Cloudflare on site. Click on it.

 

 

After that, if you are using cache plugin purge your cache and text your xmlrpc

 

Example of XmlRpc link

yourdomainname/xmlrpc.php

 

If it’s working you will see a blank screen written

 

XML-RPC server accepts POST requests only.

 

XmlRpc.php

 

Still want to use Cloudflare follow this step.

 

2. Step two

If you still want to use Cloudflare on your site without Pausing Cloudflare on site.

 

If you did the first step and it worked fine. then you have to renable Cloudflare on the site.

But if you didn’t, follow the steps below.

 

1,  Login to your Cloudflare dashboard.

 

2,  on menu click SSL/TLS overview

 

3,   on default Cloudflare sets your SSL to flexible

 

Click on Full (strict)

 

Cloudflare SSL/TLS Full (strict)
Cloudflare SSL/TLS Full (strict)

 

 

After that purge your cache, text your xmlrpc. It must be working fine now.

 

But if this doesn’t resolve your issue, then you have to check your php extension if you have enable XmlRpc, or Contact your hosting.

 

Also check if you have any security plugin on the site and disable it.

 

Also Check your htaccess  if any code is blocking the XmlRpc.

 

If this resolved your issue please don’t forget to comment Bellow, thanks and take care.

Leave a Reply

Your email address will not be published. Required fields are marked *