高级管理文档

WordPress 多站点/网络

💡 云策文档标注

概述

WordPress Multisite 是 WordPress 的一项功能,允许在单一安装中管理多个 WordPress 实例,适用于共享资源(如主题或插件)但内容不同的场景。

关键要点

  • 需要启用重写功能才能使用多站点,具体服务器要求请查看相关文档。
  • 多站点可用于多种目的,例如企业站点共享资源但按区域提供不同内容。
  • 多站点中的内容在数据库中有独立的表,仅用户表在实例间共享。
  • 支持基于子目录(路径)或基于域名/子域名(域)的多站点配置,域名映射方法请参考相关文档。

📄 原文内容

WordPress Multisite is a feature of WordPress that enables you to create several instances of WordPress managed within one installation. You need to have rewrites enabled to use multisite. Check the server requirements for details.

One can use a multisite for a variety of purposes. Multisite is, for example, used by business sites that share some resources, such as the theme or plugins, and have different content for their regions.

The content in a Multisite has its own unique tables in the database, only the user table is shared between the instances.

You can create a multisite that works with subdirectories (“path-based”) or use domains or subdomains (“domain-based”). For how to map the domains, see WordPress Multisite Domain Mapping