Quantcast
Viewing all articles
Browse latest Browse all 12471

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

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]

Viewing all articles
Browse latest Browse all 12471

Trending Articles