跳转到主要内容

设置drupal多站点

The following guide will highlight the manual steps required to set up a Drupal multisite. This guide is a work in progress with only some example configurations presented. Other options are available, such as HTTPS, other Web servers and databases, and more refined virtual host configurations, etc.

Drupal多站点-何时、如何以及为什么。管理多个Drupal网站的终极指南

Drupal可以配置为从一个代码库为多个网站提供服务。这样的Drupal安装被称为多站点。使用一个Drupal来运行多个网站的能力是很好的,但另一方面,需要一些考虑。在这篇文章中,我将详细讨论Drupal多站点,让您深入、完整地了解多站点是如何工作的,为什么使用它,何时有意义以及何时避免它。


什么是Drupal多站点及其工作方式

Drupal多站点安装是指在单个代码库上支持多个Drupal网站的安装。
多站点是通过在Drupal系统的/sites/文件夹中为每个网站创建一个单独的文件夹来实现的。例如