1. Home
  2. Blog
  3. Performance

Disable XML-RPC in WordPress Without Breaking Jetpack or the App

Performance

October 15, 2026

Most WordPress sites have an XML-RPC endpoint they never use. It sits at /xmlrpc.php, it accepts logins, and it is a common target for brute-force and amplification attacks. Most sites can safely switch it off. A few will break if they do, and it is better to know which kind you have before you flip the toggle.

Lightify Pro can disable XML-RPC from its Bloat Removal tab. This post covers only that switch: what XML-RPC is, who still relies on it, how to check, and how to turn it off without surprises.

What XML-RPC is, and why it is still there

XML-RPC is an old remote-procedure protocol that WordPress used for remote publishing before the REST API existed. It still ships enabled for backward compatibility. Because it accepts authenticated requests, attackers like it: one request can carry many login attempts, and pingback calls can be abused to point traffic at other servers.

The Lightify docs describe it as an endpoint that is a common target for brute-force and amplification attacks and is unused by most sites. That is the whole case for turning it off. It is also a performance setting, because every bot hammering /xmlrpc.php still costs you PHP time and database work.

Who still needs it

The Lightify docs are clear here. Some things still need XML-RPC:

  • The WordPress mobile app
  • Jetpack
  • Some remote publishing tools

If you use any of those, leave it on. Turning it off will not break your front end, but it will break whichever tool depends on it, and those failures are often quiet. The mobile app simply stops connecting, or Jetpack features stop syncing.

A two-minute check before you switch it off

  1. Ask the people who publish. Does anyone post from the WordPress mobile app, or from a desktop editor that connects to the site?
  2. Look at your plugins. Is Jetpack active? Is there a remote management or cross-posting service connected to the site?
  3. Look at your logs if you have them. Requests to /xmlrpc.php from your own team’s IPs or a known service mean something uses it. Requests from random IPs at random hours are usually bots.

If all three come back empty, you are in the “unused by most sites” group.

Turning it off in Lightify

  1. Open Lightify > Bloat Removal.
  2. Turn on Disable XML-RPC. It is a Pro option and off by default.
  3. Save.
  4. Check that the things you rely on still work: log in, publish a draft, and if anyone uses a remote tool, have them try it.

Every switch in Bloat Removal is reversible. If something you forgot about stops working, turn the toggle back off and it returns.

What else is on the same tab

Lightify’s docs recommend a sensible set for most sites. Three defaults are already on: disable emojis, disable jQuery Migrate and disable oEmbeds. Beyond those, the suggestions are:

  • Remove Dashicons if your theme does not use them on the front end.
  • Throttle Heartbeat on any site with more than one person in the admin.
  • Disable XML-RPC unless you use the mobile app or Jetpack.

The docs also say to leave Disable RSS Feed and Disable Block Editor CSS alone unless you have a specific reason. We wrote about the front-end side of this tab in turning off emoji, Dashicons and Heartbeat bloat.

Be honest about the gain

Disabling XML-RPC will not move your Core Web Vitals. Visitors never request /xmlrpc.php, so page speed does not change. What changes is the background load: fewer bot requests that get as far as PHP, and one fewer login endpoint to defend. The Lightify docs say the same about the whole tab: each switch saves a request or two, and the real gains come from caching and asset optimizations.

It is still worth doing. It takes a minute, it removes an attack surface you were not using, and it is easy to undo.

Common mistakes

Switching it off on a Jetpack site. Jetpack features stop working, and it is not always obvious why. Check first.

Treating it as a full security plan. Closing XML-RPC removes one door. Strong passwords, updates and real backups still matter.

Forgetting the mobile app. If an editor publishes from their phone, they will be the first to notice. Ask before you switch.

Where this sits in Lightify

Disable XML-RPC is one of the Bloat Removal switches, alongside emoji, Dashicons, jQuery Migrate, oEmbed and Heartbeat controls and scheduled database cleanup. All of it is in Lightify Pro, which comes with every other DaftPlug plugin under one licence; see pricing.