Skip to content

Instantly share code, notes, and snippets.

@nickkuijpers
Created July 12, 2015 23:17
Show Gist options
  • Save nickkuijpers/58ac5910c97a8c5debf1 to your computer and use it in GitHub Desktop.
Save nickkuijpers/58ac5910c97a8c5debf1 to your computer and use it in GitHub Desktop.
xmlrpc.php ddos solution
# XML-RPC DDoS PROTECTION
<FilesMatch "^(xmlrpc\.php)">
Order Deny,Allow
Deny from all
</FilesMatch>
# XML-RPC DDoS & TRACKBACK/PINGBACK PROTECTION
# Also block Pingbacks and Trackbacks
<FilesMatch "^(xmlrpc\.php|wp-trackback\.php)">
Order Deny,Allow
Deny from all
</FilesMatch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment