WordPress FAQ

How to Disable XML-RPC in WordPress Safely

Disabling XML-RPC is a common security hardening step, though modern WordPress core has mitigated many of the original brute force vulnerabilities. medium confidence based on 8 community reports

Disabling XML-RPC is a common security hardening step, though modern WordPress core has mitigated many of the original brute force vulnerabilities.

Based on 8 community reports.

Linked sources: 8.

Known Issues

Community Q&A

Should I disable xmlrpc.php on my WordPress site?

If you do not use the WordPress mobile app or external services that rely on XML-RPC, disabling it is a recommended security hardening practice.

How do I disable XML-RPC in WordPress?

The safest way is to use a security or optimization plugin like Admin and Site Enhancements (ASE) or Perfmatters to handle the configuration.

Will WordPress updates re-enable XML-RPC?

If you modify or delete the core xmlrpc.php file, WordPress updates will overwrite your changes, so using a plugin is the preferred method.

Reddit Sources