• I decided to protect my wp-config.php (contains the database password) and my .htaccess by adding these lines in my .htaccess file:

    < Files .htaccess >
    Order allow,deny
    Deny from all
    < /Files >

    < FilesMatch “wp-config.php[~]*” >
    < Limit GET >
    deny from all
    < /Limit >
    </FilesMatch>

    Is there anything more that I could do to secure my WP with .htaccess? ANy other files to protect?

    Thanks.

  • The topic ‘Securing files’ is closed to new replies.