Adding this code to your .htaccess file will prevent external access to the wp-config.php file. For more tips on securing your WordPress site, see the linked post.
<files wp-config.php>
order allow,deny
deny from all
</files>Adding this code to your .htaccess file will prevent external access to the wp-config.php file. For more tips on securing your WordPress site, see the linked post.
<files wp-config.php>
order allow,deny
deny from all
</files>