Skip to content

Commit

Permalink
bloking xmlrpc
Browse files Browse the repository at this point in the history
  • Loading branch information
curtismchale committed Apr 4, 2024
1 parent 56e76a6 commit 427c365
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions www/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,12 @@ RewriteRule .* "/wp-content/cache/wp-rocket/%{HTTP_HOST}%{REQUEST_URI}/index%{EN
</IfModule>
# END WP Rocket

# Block WordPress xmlrpc.php requests
<Files xmlrpc.php>
order deny,allow
deny from all
</Files>

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
Expand Down

0 comments on commit 427c365

Please sign in to comment.