Tag Archives: access control

5 tips to protect WordPress sites with .htaccess

Jul 18, 2015 | Posted by in WordPress | Comments Off on 5 tips to protect WordPress sites with .htaccess

Protect wp-config.php The wp-config.php file, located in the root directory of your WordPress Site, stores informations about your site as well as MySQL settings, table prefix, secret keys, WordPress language, and ABSPATH. To prevent any access to this file, open the .htaccess file, located in the root directory, and add the following lines: <Files wp-config.php>Read more …