- Goal
- Why disable WordPress XML-RPC?
- How?
- Requirements
- Installation
- Known Issues
- FAQs
- Feedback
- Change Log
- Security
- Credits
- License
Disable WordPress XML-RPC (i.e: /wp/xmlrpc.php
) via actions and filters.
Especially for those who can't control their servers, for example: Kinsta, WP Engine or other managed hosting.
- Kinsta: What is WordPress XML-RPC and How To Stop an Attack
- WPMU DEV: XML-RPC and Why It’s Time to Remove it for WordPress Security
- Sucuri: New Brute Force Attacks Exploiting XMLRPC in WordPress
- Incapsula: WordPress Default Leaves Millions of Sites Exploitable for DDoS Attacks
- LittleBizzy: How (And Why) To Disable WordPress XML-RPC
Using actions and filters:
Disable all XML-RPC methods which require authentication.
Note: The name is misleading!
Remove all built-in/third-party XML-RPC methods.
Limit the number of elements to parse in an XML-RPC response. Thus, make most XML-RPC requests fail.
- WordPress 4.9.8 or later
- PHP 7.0 or later
$ composer require itinerisltd/itineris-disable-xml-rpc
Upload itineris-disable-xml-rpc.php to wp-content/plugins
.
Unfortunately, some plugins still relying WordPress XML-RPC:
Yes, but you have a better choice - trellis-disable-xml-rpc
This plugin is for those who can't control their servers, for example: Kinsta, WP Engine or other managed hosting.
Never! This plugin will only works on actively supported PHP versions.
Don't use it on end of life or security fixes only PHP versions.
- Articles on Itineris' blog
- More projects on Itineris' GitHub profile
- Follow @itineris_ltd and @TangRufus on Twitter
- Hire Itineris to build your next awesome site
Thanks! Glad you like it. It's important to make my boss know somebody is using this project. Instead of giving reviews on wp.org, consider:
- tweet something good with mentioning @itineris_ltd
- star this Github repo
- watch this Github repo
- write blog posts
- submit pull requests
- hire Itineris
Please provide feedback! We want to make this library useful in as many projects as possible. Please submit an issue and point out what you do and don't like, or fork the project and make suggestions. No issue is too small.
Please see CHANGELOG for more information on what has changed recently.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Itineris Disable XML-RPC is a Itineris Limited project created by Tang Rufus.
Full list of contributors can be found here.
Itineris Disable XML-RPC is licensed under the GPLv2 (or later) from the Free Software Foundation. Please see License File for more information.