Hello @gwmbox,
The feature to restrict access to the file in question is implemented via the .htaccess file. The rule in question is the following one:
<Files xmlrpc.php>
order allow,deny
deny from all
</Files>
The default response will be 403 unless you use a custom configuration of some sort.
Best Regards,
Simeon Boev
Thread Starter
GregW
(@gwmbox)
Tried that and that does not work, possibly due to using an OpenLiteSpeed server?
Thread Starter
GregW
(@gwmbox)
Had to use
add_filter( 'xmlrpc_enabled', '__return_false' );
EDIT that didn’t work either 🙁
-
This reply was modified 2 years, 7 months ago by
GregW.
Hello @gwmbox,
Indeed, the approach that the Speed Optimizer uses to restrict access to the xmlrpc.php file is by adding the necessary directives into an .htaccess file.
I noticed that your website is hosted on a server that runs OpenLiteSpeed server and I would recommend you to contact your hosting provider and ask them to reconfigure the web server so it can load the .htaccess files and read the directives in it.
This way you would be able to use our plugin’s feature.
Best Regards,
Daniela Ivanova