Created
October 7, 2016 17:26
-
-
Save GhazanfarMir/99f73dd4f62d6101fd28e47639d4e832 to your computer and use it in GitHub Desktop.
Disable xmlrpc.php in WordPrrss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You can add this to your .htaccess: | |
| # START XML RPC BLOCKING | |
| <Files xmlrpc.php> | |
| Order Deny,Allow | |
| Deny from all | |
| allow from 127.0.0.1 | |
| errordocument 401 default | |
| errordocument 403 default | |
| errordocument 404 default | |
| errordocument 411 default | |
| </Files> | |
| # FINISH XML RPC BLOCKING |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment