The wp-config.php Location at GridPane

1 min read

To keep your WordPress configuration file (wp-config.php) secure, at GridPane it’s stored one level above your websites /htdocs folder.

Your wp-config.php file contains your database username and password along with other information about your website. We keep it hidden and protected.

You can find it on your server here (site.url = your websites domain name):

/var/www/site.url/

This contains GridPane specific configurations and so if migrating over, you will need to ensure that a second wp-configs.php is copied across inside the /htdocs folder, and if there is, delete this one, and NOT the GridPane version.

To learn more about making edits to the wp-config.php file on your GridPane websites and/or about checking your sites after a migration, please see this article that covers migrations, cloning, and the custom user-configs.php file which you can edit and place your own configurations into:

Migrations, Cloning, and the WordPress Configuration File (wp-config.php)