Resolving XMLRPC DDoS WordPress Attack with .htaccess
Brute Force Attacks against WordPress have always been very common.
Here is how to temporarily stop a Brute Force Attack exploiting XML-RPC (xmlrpc.php) in WordPress by adding the following code to your .htaccess file:
# Redirect WordPress xmlrpc.php requests
RewriteRule ^xmlrpc\.php$ "http\:\/\/0\.0\.0\.0\/" [R=301,L]
# Block WordPress xmlrpc.php requests - Cause high CPU load
deny from all
#allow from 126.96.36.199 # Uncomment and add your IP if required
Advanced .htaccess rules that will overall secure and increase the speed of your Joomla...
Deny access based upon IP address, or an IP block, by placing the following code into your...
Below is a useful code block for blocking a lot of the known bad bots and site rippers currently...
A simple .htaccess 301 redirect generator to be used to create SEO friendly permanent redirects....
In your .htaccess file insert this line of code. addhandler application/x-httpd-php .htm .html