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.
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
Click below to sign up and get $100 of credit to try our products over 60 days!
That worked for me too. For testing purposes, what is the command to renable xml-rpc blocking?
Hello I have xmlrpc.php disabled. I don’t remember How did I do it. When itype 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? thanks
Here is my process of debugging, and if you happen to run into similar situation
https://mywordpress.my.domain/xmlrpc.php
it keeps redirect tohttps://mywordpress.my.domain/
tail -f /var/log/apache2/access.log
GET /xmlrpc.php HTTP/1.1" 301 1112
keep redirecting to301
(HTTP code for permenantly moved). And I checked the config and it turns out there is ablock-xmlrpc.conf
https://www.digitalocean.com/community/questions/how-do-i-enable-xml-rpc-on-wordpress-installed-via-marketplace
which makes it even easier.Yep, that was it! Thanks a bunch. :)