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):
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:
A backup of the site’s wp-config.php is stored in the following directory:
This file is generated on the initial site build. You can use this backup copy to restore wp-config.php file if it’s ever deleted by accident. You may need to edit it to match the current state of the site/server configuration.