13Multisite

Multisite is an extremely powerful hidden feature that comes included with WordPress. Disabled by default, it is not the kind of feature that everyone will want to use and requires some additional configuration to make work smoothly.

Other projects and platforms often refer to this type of thing as multitenancy. Multisite allows any WordPress installation to be responsible for easily managing an unlimited number of sites inside it, traditionally called a network of sites. This network can have open registration of users, sites, or both or neither. There are a ton of specialty Multisite plugins to help customize everything, from signups to domain aliasing and redirection.

Each site in your Multisite network can have separate plugins and themes activated. They each are responsible for their own unique content, and user roles and capabilities are still assigned on a per‐site basis.

As a plugin developer, you will need to understand what features are available when working with Multisite in WordPress so you know if and how to best support those features in the plugins you build.

Get Professional WordPress Plugin Development, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.