Grab Your Free 17-Point WordPress Pre-Launch PDF Checklist: http://vid.io/xqRL
Protect Your WordPress WP-Config.php Via .htaccess – Hacker Proofing Your Site | WP Learning Lab
# BEGIN Protect the wp-config.php file
(left pointy bracket)files wp-config.php(right pointy bracket)
deny from all
(left pointy bracket)/files(right pointy bracket)
# END Protect the wp-config.php file
You doesn’t allow the pointy brackets (Shift period and Shift comma) so make sure they match what you see in the video.
In this tutorial I’m going to show you to protect wp-config.php file from hackers using the .htaccess file and the code above. The importance of the WordPress wp-config.php file is enough to warrant protecting it. Secure wp-config.php is a big step towards hack prevention and hacker proofing your website..
So let’s put that code into your .htaccess file and secure WordPress.
First login into your hosting account cPanel. Then find and click on the File Manager icon…