
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# acesso ao wp-login
RewriteCond %{REQUEST_URI} ^/wp-login\.php$ [NC]
RewriteCond %{REQUEST_METHOD} POST
RewriteRule .* - [F,L]

# bloqueia o xmlrpc
<Files xmlrpc.php>
    Require all denied
</Files>

</IfModule>