Last active
July 19, 2016 05:11
-
-
Save jennimckinnon/abab5a0fde93d0553fd49648b25913a8 to your computer and use it in GitHub Desktop.
Block all trackbacks and pingbacks (and XML-RPC) from WordPress.
This file contains 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
# BEGIN Block all trackbacks, pingbacks and use of XML-RPC | |
<FilesMatch "^(xmlrpc\.php|wp-trackback\.php)"> | |
Order Deny,Allow | |
Deny from all | |
</FilesMatch> | |
# END Block all trackbacks, pingbacks and use of XML-RPC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment