Does Linode block XML-RPC?
I got my Wordpress blog up and running again after migrating from a different VPS provider. When accessing the blog with the Wordpress app however, I get an error stating "required XML-RPC methods are missing on the server" even though I can see that the "xmlrpc.php" file exists in the /var/www/html/ directory.
Searching online I've come across some reports that providers might block access to this file for security reasons. Is that the case for Linode, and if so, is there a way to work around this?
2 Replies
As XML-RPC is an API used by mobile applications to access Wordpress, that error message does indicate that it’s blocked or disabled. Linode does not block this at a network level, but if you deployed Wordpress using the One-Click App, then your Apache configuration is blocking xmlrpc.php
by default.
<files xmlrpc.php>
order allow,deny
deny from all
</files>
To allow XML-RPC, remove this block from your virtual hosts configuration and reload Apache.
sudo systemctl reload apache2
Otherwise there may be a plugin or block.conf file that is disabling/blocking XML-RPC.