Quantcast
Channel: BulletProof Security Forum » All Posts
Viewing all articles
Browse latest Browse all 12503

Reply To: WordPress XML-RPC DDoS Protection – protect xmlrpc.php, block xmlrpc.php, forbid xmlrpc.php

$
0
0

Try this: ADD IT TO THE CUSTOM CODE BOTTOM TEXT BOX.

 #BuddyPress Anti-Spam Registration 2
# Filter by HTTP/1.0 & Referer GET or POST
RewriteCond %{REQUEST_URI} ^(/register|/activate/|wp-login\.php|xmlrpc\.php)$
RewriteCond %{HTTP_REFERER} !^.*ait-pro.com.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^(vapier)$ [NC,OR]
RewriteCond %{THE_REQUEST} HTTP/1\.0$ [OR]
RewriteCond %{SERVER_PROTOCOL} HTTP/1\.0$
RewriteRule ^(.*)$ /spam-prevention [R=301,L]
  • This reply was modified 1 day, 20 hours ago by Profile photo of AITpro Admin AITpro Admin.
  • This reply was modified 1 day, 20 hours ago by Profile photo of AITpro Admin AITpro Admin.

Viewing all articles
Browse latest Browse all 12503

Trending Articles