Can’t seem to get XML-RPC disabled…

[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]
1 Comment
  1. .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.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer