Page 1 of 1

Disable XML-RPC via Apache/.htaccess

Posted: 29 Dec 2024, 13:55
by Kygo
Here is the technique that I use to protect XML-RPC on my own WordPress sites, using Apache’s alias module
Please Login or Register to see this code This simple directive blocks all access to by returning a 403 “Forbidden” response for all requests. Very lightweight and very effective.xmlrpc.php