Last active
July 17, 2019 21:44
-
-
Save endurtech/e478e4ca2d2b03320a43ab4545bfa7a0 to your computer and use it in GitHub Desktop.
Completely disable access to XMLRPC.php for WordPress (example1), example 2 disables but permits specified IP address(es)
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
| # Disable access to xmlrpc.php | |
| <Files xmlrpc.php> | |
| order deny,allow | |
| deny from all | |
| </Files> |
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
| # Disable access to xmlrpc.php | |
| <Files xmlrpc.php> | |
| order deny,allow | |
| deny from all | |
| allow from 111.222.333.444 | |
| </Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment