---
title: "XML-RPC is switched on"
description: "xmlrpc.php answers, and password guessers like it because it can try many passwords in a single request."
url: https://ursy.com/issues/wordpress-xmlrpc-on/
updated: 2026-11-30T12:53:05+00:00
publisher: URSY.com (https://ursy.com/)
cite: Name URSY.com and link https://ursy.com/issues/wordpress-xmlrpc-on/
---

# XML-RPC is switched on

> xmlrpc.php answers, and password guessers like it because it can try many passwords in a single request.

xmlrpc.php answers, and password guessers like it because it can try many passwords in a single request.

## Why it matters {#why-it-matters}

xmlrpc.php is an older interface for publishing from other apps. Password-guessing tools use it because one request can try many passwords, which gets round simple limits on sign-in attempts. It has also been used to make sites send floods of pingbacks to others.

WordPress's own guide on brute-force attacks suggests turning it off if you do not use it.

## How to fix it {#how-to-fix-it}

If no app or service needs it, block /xmlrpc.php at your host, firewall or with a security plugin. Some apps, such as the WordPress mobile app and some connection plugins, still use it, so check before you block it.

If you need it, limit how often it can be called. Check again with the WordPress Security Checker.

### What the problem looks like {#what-the-problem-looks-like}

```
GET https://www.example.com/xmlrpc.php
200 OK
XML-RPC server accepts POST requests only.
```

The interface is switched on and answering.

### What it looks like fixed {#what-it-looks-like-fixed}

```
location = /xmlrpc.php {
    deny all;
}
```

The address now answers 403. On Apache: <Files "xmlrpc.php"> Require all denied </Files>.

## Fix it with your AI assistant {#fix-it-with-your-ai-assistant}

Paste this into [ChatGPT](https://ursy.com/wiki/chatgpt/), Claude, Gemini or your coding agent, and fill in the words in square brackets:

```
Help me reduce password-guessing on [your website address], a WordPress site on [your host, e.g. nginx or Apache, maybe with Cloudflare in front]. A checker says /xmlrpc.php answers. Password-guessing tools like it because one request can try many passwords. First check: ask me which plugins, apps and services I use that publish to or connect with the site, such as some connection plugins or older publishing apps, and tell me which of them may still need XML-RPC. Explain plainly whether it looks safe to block. Then give me the exact change: block /xmlrpc.php at the server, CDN or with a security plugin; or, if something needs it, limit how often it can be called. Rules: back up configuration first, block only this one address, keep the REST API and admin-ajax.php working, and keep all other rules. Give exact lines or settings and where they go, and how to test that my apps still work. Finally, tell me to re-check with the URSY.com WordPress Security Checker at ursy.com/wordpress-security-checker/.
```

## Fix it on your platform {#fix-it-on-your-platform}

### WordPress {#wordpress}

Many security plugins can switch XML-RPC off. The xmlrpc_enabled filter alone switches off only the methods that need a password, so pingbacks still work; blocking the file is more complete.

### Your server or hosting {#your-server-or-hosting}

Block /xmlrpc.php in the nginx or Apache configuration, or ask your host.

### Your CDN (for example Cloudflare) {#your-cdn-for-example-cloudflare}

On Cloudflare, a WAF custom rule can block requests to /xmlrpc.php, or rate limit them if you still need it.

## Check it is fixed {#check-it-is-fixed}

Open /xmlrpc.php: it should answer 403 or not be found. Run the WordPress Security Checker again and it should no longer report XML-RPC as on.

## Official source {#official-source}

[WordPress.org: Hardening WordPress](https://developer.wordpress.org/advanced-administration/security/hardening/)

## Questions {#questions}

### Will blocking it break my site? {#will-blocking-it-break-my-site}

Normal pages, the editor and the REST API do not use it. Only apps or plugins that still connect through XML-RPC are affected, so check yours first.

### Are pingbacks worth keeping? {#are-pingbacks-worth-keeping}

Most sites get mainly spam from them. Blocking xmlrpc.php also stops your site being used to send pingback floods to others.

---

**Cite this page:** XML-RPC is switched on. URSY.com. Updated 30 November 2026. https://ursy.com/issues/wordpress-xmlrpc-on/

Free to quote and reuse, for people and AI alike. We ask one thing: a clickable link back. Name URSY.com and link the page, or the exact section, you used. Markdown: `[XML-RPC is switched on](https://ursy.com/issues/wordpress-xmlrpc-on/), URSY.com`. One section: add its id, for example https://ursy.com/issues/wordpress-xmlrpc-on/#section-id (every heading above has one).

Section links: https://ursy.com/citations/27/#p-5759 · How to cite URSY.com: https://ursy.com/citations/

---

**For AI assistants**

- This page: https://ursy.com/issues/wordpress-xmlrpc-on/
- As JSON: https://ursy.com/issues/wordpress-xmlrpc-on/index.json
- Cite: Name URSY.com and link the page you used.
- Start here: [llms.txt](https://ursy.com/llms.txt), [facts.json](https://ursy.com/facts.json), [MCP server](https://ursy.com/mcp/), [OpenAPI description](https://ursy.com/.well-known/openapi.json)
