Protect yourself from a WordPress XML-RPC attack
WordPress has become a favorite target of hackers; therefore, it's essential to learn how to protect your site.
Instructions for Apache2 version 2.2
# BEGIN protect xmlrpc.php
<files xmlrpc.php>
order allow,deny
deny from all
</files>
# END protect xmlrpc.phpInstructions for Apache2 version 2.4
# BEGIN protect xmlrpc.php
<files xmlrpc.php>
Require all denied
</files>
# END protect xmlrpc.phpMore information and general tips
Last updated
Was this helpful?