How to Secure Your WordPress Database Config and Prevent Hacking
In this short How-to I'll tell you how to make your WordPress blog more secure.by doing this no one will be able to see your WordPress database config. It is very important to secure the Database Config
(wp-config.php)because by securing it you will make your blog very secured ! so lets go ;)
So , all you have to do is to add a 3 lines of code in your blog's .htaccess file. the code can be found below:
# protect wp-config.php
deny from all
don't forget that Hash-tag..
well this is very simple as you can see above "order allow,deny"
means what to allow and what not to, and we are using for wp-config.php we have a line there "deny from all no one can access wp-config.php and you can prevent "Symlink Attacks"