Report this

What is the reason for this report?

How to enable xml-rpc.php (redirrecting sudo)

Posted on November 10, 2020

Hello, I have xmlrpc.php disabled. I don’t remember How did I do it. When I type Mydomain/xmlrpc.php it redirects http://sudo/ and says this site can’t be reached. Can you guys tell me which way xmlrpc is disabled and how to enable it again?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there @levanmirvelashvili,

It sounds like that you might have a redirect setup for the xmprpc.php file.

I would recommend checking your Apache server block file for your domain name, it should be stored at: /etc/apache2/sites-enabled/yourdomain.com.

Also make sure to check your .htaccess file for any redirect rules.

Let me know how it goes! Regards, Bobby

I had the same problem. Remove /etc/apache2/conf-enabled/block-xmlrpc.conf and reload apache.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.