Skip to content

Instantly share code, notes, and snippets.

@thierrypigot
Created April 18, 2024 08:34
Show Gist options
  • Save thierrypigot/52931001d3e3df92dff4ea9b38f4cca5 to your computer and use it in GitHub Desktop.
Save thierrypigot/52931001d3e3df92dff4ea9b38f4cca5 to your computer and use it in GitHub Desktop.
désactiver XML-RPC en ajoutant quelques lignes de code dans le fichier .htaccess
# Block WordPress xmlrpc.php requests
<Files xmlrpc.php>
order deny,allow
deny from all
</Files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment