문제

I am trying to convert my installation to a Drupal multi-site.

I have the original site (www.original.com) with a settings.php file under the sites/default folder. I want to add a new site by adding the following files.

  • sites/original2.com/sites.php
  • sites/original2.com/settings.php

I can access both URLs, but they use the default.settings.php file.

I have not changed anything in NginX as both URLs are resolved from Drupal on my docker instances.

도움이 되었습니까?

해결책

You have the sites.php file in the wrong spot, it should be at sites/sites.php, it should not be inside any of the site directories, such as sites/original2.com/sites.php.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 drupal.stackexchange
scroll top