wp-config security
-
I am in the proccess of making my wp-config files more secure. I already added this code to my .htaccess files, to o deny access to wp-config:
# protect wpconfig.php
<files wp-config.php>
order allow,deny
deny from all
</files>Now I like to know if it is a good idea to also change the file permissions for wp-config from 600 (actual setting) to 400?
Or is it not necessary anymore to change the file permission because of the code I added to the .htaccess file?
And when I change the permission to 400 and I want to change anything in the wp-config file in the future, I have to change it back to 600 first, correct?
Thank you for your help 🙂
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘wp-config security’ is closed to new replies.