A lightweight WordPress plugin that disables XML-RPC completely, helping reduce attack surface and block unwanted XML-RPC access with zero configuration.
If your site does not rely on XML-RPC, leaving it enabled serves little purpose and can create unnecessary exposure. This plugin turns XML-RPC off in a minimal, focused way.
- Disables XML-RPC for WordPress sites that do not need it
- Returns a 403 response for XML-RPC requests
- Works immediately after activation
- No settings page, setup wizard, or maintenance overhead
- Tiny codebase with a single, clear purpose
This plugin is a good fit for:
- site owners who do not use XML-RPC-based publishing or integrations
- agencies and developers hardening client sites
- WordPress installs where XML-RPC is not part of the workflow
Do not use this plugin if your site depends on XML-RPC for publishing or integrations. Disabling XML-RPC can affect tools or services that still rely on it.
- Go to Plugins → Add New.
- Search for Disable XML-RPC by Progress Planner.
- Install and activate the plugin.
- Download this repository as a ZIP.
- Upload it via Plugins → Add New → Upload Plugin.
- Activate the plugin.
Once activated, the plugin:
- disables WordPress XML-RPC through the relevant filter
- blocks XML-RPC requests directly
- shows a clear “XML-RPC Disabled” response when access is attempted
There are no settings to configure.
No. It is intentionally configuration-free.
It can help reduce exposure on sites that do not need XML-RPC. Like any hardening step, it should be part of a broader security strategy.
It may, if you use a service, app, or workflow that still depends on XML-RPC. Review your stack before activating it on production sites.
This is a deliberately small utility plugin. If you want to review behavior, start with:
pp-disable-xml-rpc.php
MIT. See LICENSE.
These cannot be fully managed from files alone, but they will improve the repository page:
- Description: Disable WordPress XML-RPC completely with a lightweight, no-settings plugin.
- Website: https://progressplanner.com/
- Topics:
wordpress,wordpress-plugin,xml-rpc,security,hardening,site-security,progress-planner - Social preview: Use
.wordpress.org/banner-1544x500.pngor create a 1280×640 social card based on the existing banner
