Protect wp-config.php and xmlrpc.php via .htaccess
Protect wp-config.php and xmlrpc.php with .htaccess wp-config.php is the most sensitive file of a WordPress site: the database name, user and password in plain text, the authentication keys and salts, the table prefix. Normally PHP executes the file and a direct request returns an empty page. But that depends on PHP working: if the PHP…