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

Posted November 10, 2020 795 views

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?

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.

Submit an Answer
2 answers

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/

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

Let me know how it goes!

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