Question

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

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.)


Submit an answer
Answer a question...

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!

Sign In or Sign Up to Answer

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.

jarland
DigitalOcean Employee
DigitalOcean Employee badge
April 16, 2019
Accepted Answer

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

Jarland

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

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Thanks a lot :) You saved my day