Use .htaccess To Protect The wp-config File


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <files wp-config.php>
  2. order allow,deny
  3. deny from all
  4. </files>

URL: http://www.smashingmagazine.com/2010/07/01/10-useful-wordpress-security-tweaks/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.