XML-RPC server accepts POST requests only WordPress Origin: Application & API Last updated 15 Oct 2026

WordPress: XML-RPC server accepts POST requests only (xmlrpc.php)

You opened xmlrpc.php in a browser (GET) — it’s an API endpoint, not a page. Heavy POST traffic to it usually means brute-force bots.

Exact message you may see XML-RPC server accepts POST requests only
Seen on: WordPress

Meaning

XML-RPC serves old apps/Jetpack/pingbacks. Bots abuse it for password guessing (system.multicall) and DDoS pingbacks. If you don’t need it, block it.

Common causes

  • Visiting xmlrpc.php directly (expected message)
  • Bot traffic hammering xmlrpc.php
  • Jetpack/mobile app requiring it

⚡ Quick fix

  1. Ignore the message if you opened it in a browser
  2. Block xmlrpc.php at the web server if unused
  3. Use security plugins to limit XML-RPC

Detailed fix by platform

Apache

  1. apache
    <Files xmlrpc.php>
      Require all denied
    </Files>

Nginx

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

How to diagnose

  1. Traffic — Requests to xmlrpc.php in access logs
  2. Usage — Jetpack/app needs it?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Application & API. Errors that are often confused with or caused by this one (click to open):

403 Forbidden wp-admin — WordPress: 403 Forbidden on wp-admin, wp-login.php or admin-ajax.php (WordPress)403 Forbidden wp-admin405 — HTTP 405 Method Not Allowed (HTTP)405AADSTS50053 — AADSTS50053: Your account is locked (Smart Lockout) / sign-in blocked due to suspicious activity (Azure)AADSTS50053Are you sure you want to do this? — WordPress: Are you sure you want to do this? Please try again. (nonce check failed) (WordPress)Are you sure you want…file type is not permitted — WordPress: Sorry, you are not allowed to upload this file type / Sorry, this file type is not permitted for security reasons (WordPress)file type is not perm…invalid csrf token — ForbiddenError: invalid csrf token (EBADCSRFTOKEN) (Authentication)invalid csrf tokenis damaged and can’t be opened — macOS: “App” is damaged and can’t be opened. You should move it to the Trash. (macOS)is damaged and can’t …SecurityException: Permission Denial — java.lang.SecurityException: Permission Denial ... requires android.permission.X (Android)SecurityException: Pe…XML-RPC s…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.