Configuration Sync Directory Setup for Drupal 8, Drupal 9

Last updated February 4, 2020
Site Administration8.9.x/9.3.x

Before we start synchronizing configuration, let's take a look at the default, out-of-the-box file location for staging and synchronizing configuration. Then we'll walk through how to change that directory to a location outside of our project's docroot and update settings.php appropriately.

In this tutorial, we'll cover:

  • The default location of the configuration sync directory
  • How the configuration sync directory is secured
  • How to change the location of the sync directory