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 22.214.171.124 # Uncomment and add your IP if required
Here are some useful mod_rewrite RewriteRule redirect examples that you can use in your .htaccess...
Advanced .htaccess rules that will overall secure and increase the speed of your Joomla...
Recently, there was a worldwide, highly-distributed Brute Force Attack on WordPress sites....
Insert the following code to your .htaccess file to increase the speed of your WordPress website...
Use the following .htaccess code to redirect non-www URLs to www over http and https. Create, or...