
The short answer: xmlrpc.php is an old WordPress file that lets outside programs publish to your site. Most sites no longer need it, and bots love it for guessing passwords. If you do not use an app that depends on it, you can block it; if you do, leave it as it is.
Do you need it?
| If you use… | Do you need XML-RPC? |
| Only the WordPress dashboard, in the browser | No. The dashboard does not use it. |
| The WordPress mobile app, on older sites | You might, depending on the version. Test after blocking. |
| Plugins that connect the site to an outside service | Some do (check the plugin’s documentation). Test after blocking. |
| Publishing from an office program or an external editor | Older ones do; newer ones use another route. |
| None of the above | You can block it. One door less left open. |
Blocking it, step by step
|
|
|
|
|
| Blocking XML-RPC does not replace the rest of the protection. Keep a strong password, a captcha and the login attempt limit: Protecting the WordPress login. It is one piece, not the whole defence. |
| A burst of requests to xmlrpc.php with nobody using it is a sign of attack: DDoS attack or just a traffic spike. |
|
Not sure whether your site needs it? Open a ticket with the address and the names of your plugins. Open a support ticket |
RECOMMENDED PRODUCT WordPress hosting One-click install, updates handled, and speed that holds up. from $5.36/mo (3-year plan, with coupon) See plans |











