In sites deployed on v3 of the Convesio platform (after approximately 1 Nov 2020) you will find an essential file added to your wordpress folder: wp-convesio.php. As described in the file header, this is where you will place directives you would typically place in wp-config.php. In v3 of the platform, the site backup and restore functionality is based on git. On a regular basis, your site’s git repository is regenerated and the wp-config.php file is updated to reflect the new (internal) repo name. This will overwrite any manual changes to the file. Simply put those directives in wp-convesio.php instead, and they will persist when your site repository is regenerated.
<?php
/**
- The extended configuration for WordPress hosted on Convesio Platform
* - wp-config.php is not persistent on Convesio, and is deleted and recreated by the platform, as needed.
- So any change made to wp-config.php will not be persistent, and can be deleted anytime.
* - To create persistent custom directives for your wordpress config, add it to this file.
* - @package Convesio
*/