Site Administration

Configuration Sync Directory Setup for Drupal 8, 9, 10, and 11

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 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