CONFIGURATION SYNC DIRECTORY

Configuration sync directory error in Drupal 8

When changing the web site directory name in the sites directory in:

Drupal [root] \ Sites \ [Web site name]

a error message might appear that sync does not exist.

Error message:
sites/example.com/files/config_M3SQ7uO4SCpx5yTp6IvxxDJYJwuIhJUGfm7Q6vGGWPhd1NNNEMdDFjixOPxDgKWCj8p_9jWxpA/sync does not exist.

To address this issue check in your settings.php file if the directories are correct.

The location of the settings.php file should be at:  

Drupal[root] \ sites \ [website name] \ settings.php

Update the config_sync_directory location if not correct.

$settings['config_sync_directory'] = 'sites/examplesite.com/files/conf$

Taxonomy