[ad_1]
hey all,
Sorry for the noob question but I cannot seem to get any of the plugins to use to disable XML-RPC.
Tried the WPCode and Disable XML-RPC plugins but when I go to [http://example.com/xmlrpc.php]), it still loads that it accepts POST traffic.
I know you can edit the .htaccess file to add the snippet as well but there are like 10 of them when I search via WinSCP and they are all for plugins. They don’t seem to be for the actual page itself…
Am I missing something obvious here?
[ad_2]
.htaccess method: [https://support.cpanel.net/hc/en-us/articles/360060606074-How-to-disable-xmlrpc-php-via-htaccess])
<Files xmlrpc.php>
order deny,allow
deny from all
</Files>
Though it is better to do it with a firewall rule eg Cloudflare WAF rule.