How do I enable xml-rpc on Wordpress installed via marketplace?

Posted April 15, 2019 1.1k views
WordPress Ubuntu 18.04

So the Wordpress xml-rpc is disabled by default for security reasons in the app installed via marketplace; that’s great. But I need it to post via the Wordpress app. Does anybody have a clue as to how to do this?

(I can’t find anything describing how it is blocked. I’m guessing .htaccess, but even if I try to - shortly - commenting out everything in there I still can’t call xml-rpc.php.)

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.

3 answers

Hey friend,

To disable the xml-rpc.php block on our Wordpress one-click image, try these commands over SSH/console:

a2disconf block-xmlrpc
systemctl reload apache2


Yep, that was it! Thanks a bunch. :)

That worked for me too. For testing purposes, what is the command to renable xml-rpc blocking?

Submit an Answer