Moving wpconfigphp

Your configuration file contains your database username and password, so it's important to keep this file secure. If you are installing WordPress in your web root directory (such as public_html), you can move your wp-config.php file to the parent directory—one that isn't readable from a browser—without changing any settings, as shown in Figure 11-11. WordPress will automatically recognize the file's new location.

Figure 11-11. Placing wp-config.php outside the public web directory
0 0

Post a comment