1. WebsitePlanet
  2. >
  3. Glossary
  4. >
  5. Website builders
  6. >
  7. What Is WordPress Multisite?

What Is WordPress Multisite?

Sayb Saad Written by:
Christine Hoang Reviewed by: Christine Hoang
24 October 2024
WordPress Multisite lets you manage multiple WordPress websites from one central dashboard. Instead of handling each site separately, you can share core files, plugins, and themes across all your sites. This makes it easier to maintain consistency, handle updates, and manage security settings from one place.

Multisite is particularly useful for connected websites, such as a university’s network or a business with multiple branches. As your needs grow, Multisite’s scalability allows you to effortlessly add new sites to your network without the hassle of setting up separate installations.

Definition of WordPress Multisite

WordPress Multisite lets you manage multiple websites from a single installation. Each site in your network is a subsite with its own domain or subdomain, content, and media. While every subsite has its database tables for storing information, all subsites share the same core files, plugins, and themes. A shared setup makes it easy to manage updates and settings across your network.

As the Super Admin, you control the entire network, handling settings, updates, and plugins for all sites. However, individual site admins can manage their specific subsites. This structure works well for networks like a company with regional sites or a university with department-specific pages.

Remember, not all plugins and themes work with Multisite. For example, backup plugins like UpdraftPlus only handle single-site backups. Also, issues on one site, like a security breach or traffic spike, can affect other subsites. If your network grows, you might need a more powerful hosting plan to maintain stability.

How Does WordPress Multisite Work?

WordPress Multisite creates a network of websites that share the same core files but function independently. Here’s a closer look at its architecture and key components.

Shared WordPress Core, Plugins, and Themes

In a WordPress Multisite network, all subsites share the same core WordPress files, which include the foundational code that powers your entire network. This setup ensures that when you update WordPress, all subsites automatically receive the update, saving you time and effort.

Plugins and themes are stored once in the ‘wp-content’ directory and become available across the network. As the network admin, you allocate resources for each subsite. You can choose to “network activate” a plugin so it runs on all subsites or allow individual site admins to activate the plugins they need.

Media files for each subsite are stored in separate directories in the ‘wp-content/uploads/sites’ folder. This organization keeps each subsite’s media separate for easier management. Since all subsites share the same core files and user database, you can manage user roles and permissions centrally across the network.

Site-Specific Content and Settings

Even though subsites in a WordPress Multisite network share core resources, each one operates independently. Here’s how this setup works:

  • Unique content and settings: Each subsite manages its posts, pages, comments, media, and configurations. This independence ensures there’s no overlap or interference between subsites.
  • Database separation: Every subsite uses its database tables, identified by unique prefixes like ‘wp_2_posts’ or ‘wp_2_comments.’ This separation keeps each subsite’s data isolated while still relying on the same core WordPress files.
  • User management: While all subsites share common ‘wp_users’ and ‘wp_usermeta’ tables, you can log into multiple subsites with the same credentials and customize roles and permissions for each one.
  • Subsite admin control: Subsite admins manage their site’s content, design, and settings independently. They can customize their subsites as needed while using the shared resources provided by the network.
  • Super Admin control: The Super Admin manages the entire network, including global settings, plugins, themes, and user roles. This ensures consistent management and oversight across all subsites.

Network Admin and Site Admin Roles

WordPress Multisite provides two key admin roles – the Super Admin (or Network Admin) and the Site Admin. As the Super Admin, you control essential elements like plugins, themes, and WordPress core updates, ensuring consistency across all subsites. Site Admins handle the daily management of their subsites, focusing on content, design, and settings while working within the structure you’ve established.

Super Admin Site Admin
  • Manages the entire network from the dedicated Network Admin dashboard.
  • Creates, activates, deactivates, and deletes subsites.
  • Installs, activates, and manages plugins and themes across the network.
  • Controls network-wide settings and updates WordPress core for all subsites.
  • Restricts or grants access to plugins and themes for specific subsites.
  • Oversees global user accounts, managing permissions and access across all subsites.
  • Manages content, media, appearance, and settings within their specific subsite.
  • Assigns roles to users within their subsite, such as editors, authors, and contributors.
  • Cannot install or update plugins and themes; this is reserved for the Network Admin.
  • Operates independently in content creation but remains bound by the broader network settings.

Domain Mapping and URL Structure

WordPress Multisite supports two main URL structures for your subsites – subdomains and subdirectories. Subdomains look like ‘site1.example.com,’ while subdirectories appear as ‘example.com/site1.’ You need to choose one during setup – it’s a permanent decision, which you can’t change later.

For added flexibility, WordPress Multisite allows you to map custom domains, like ‘site1.com,’ to any subsite. This gives each subsite a unique web address and branding. WordPress 4.5 and above has domain mapping built-in, so you don’t need a plugin to make it work. Here are some factors to remember when setting up your network’s URL structure and mapping domains:

  • Wildcard Subdomains: If you choose subdomains, configure wildcard subdomains in your DNS settings. This setup automatically creates new subdomains, like ‘site1.example.com,’ without manual intervention.
  • SSL and Security: Each custom domain you map requires its own SSL certificate for secure connections (HTTPS). Many hosting providers, like Kinsta, handle SSL installation automatically.
  • Hosting Compatibility: Ensure your hosting provider supports wildcard subdomains and subdomain setups without extra fees. Verify that your hosting plan aligns with your chosen URL structure and domain mapping needs.

How to Set up WordPress Multisite

Before you start setting up Multisite, update WordPress, your themes, and plugins to the latest versions. Deactivate all active plugins to prevent conflicts during the setup. Back up your entire website, including the database and files, so you can restore everything if needed. Once you’re ready, follow these steps:

  1. Enable Multisite: Access your ‘wp-config.php’ file through your hosting control panel or FTP (File Transfer Protocol). Add the following line of code just before “/* That’s all, stop editing! Happy blogging. */”:
  • define(‘WP_ALLOW_MULTISITE’, true);
Save the file to enable Multisite on your WordPress installation.

  1. Set up your network: In your WordPress dashboard, go to ‘Tools’ and click ‘Network Setup.’ Choose between subdomains and subdirectories for your subsites, keeping in mind that this choice is permanent. Enter your network title and admin email, then click ‘Install’ to proceed.
  2. Configure Wildcard subdomains: If you selected subdomains, configure wildcard subdomains in your DNS settings. Add an asterisk as a subdomain and direct it to your server’s IP address to automatically create new subsites without manual setup.
  3. Update configuration files: After installing your network, WordPress will give you two code snippets. Add one to your ‘wp-config.php’ file and the other to your ‘.htaccess’ file. These codes allow WordPress to route requests and manage your Multisite network properly.
  4. Finalize the Setup: Once you’ve configured the network, log back into your WordPress admin dashboard. You’ll see a new ‘My Sites’ menu, where you can access your Network Admin dashboard to manage all your sites, add new subsites, and control user roles.
Ensure your hosting plan supports multiple domains and offers sufficient server resources. As your network grows, consider upgrading to VPS or dedicated hosting to handle increased traffic and demands. Also, enable Pretty Permalinks in your WordPress settings for clear, readable URLs.

How to Manage Your Multisite Network

Once your WordPress Multisite network is set up, you’ll need to familiarize yourself with managing the various tasks that keep it running smoothly. As a network admin, you have a range of responsibilities, from creating new sites to optimizing performance and security.

Create New Sites

To add a new site to your Multisite network, go to the network admin dashboard, open the ‘Sites’ menu, and click ‘Add New.’ Enter the subsite’s URL, title, language, and admin email. Depending on your setup, the new subsite will either use a subdomain or a subdirectory.

Next, assign the site to an existing user or create a new user account for the site admin. Then, manage default settings like the theme and plugins from ‘Network Settings’ to maintain consistency across your network. To control resource usage, set storage limits and upload quotas for each subsite so that no single site consumes too many server resources.

Additionally, you can customize welcome emails to greet new site admins or users, adding a personal touch to the onboarding process. Before activating any plugins or themes for subsites, always test them on a staging site. This practice ensures compatibility and prevents issues across your network.

Managing Plugins and Themes

As the network admin, you control which plugins and themes are available across your network. You can install, update, and activate them from the network admin dashboard. If you need specific plugins, like security tools, to be active on all subsites, you can force their activation. Before doing so, always test them in a staging environment to avoid compatibility issues.

Subsite admins can customize their site’s appearance and functionality if you allow it, but you can also restrict access to specific plugins and themes as needed. Enabling automatic updates for plugins and themes helps you maintain security and performance without manual effort.

Consider using version control for your plugins and themes. Version control lets you track changes, revert to previous versions when necessary, and maintain stability after updates or customizations.

Configuring Network Settings

The network admin dashboard provides a range of settings to customize and manage your Multisite network based on your specific needs.

  • Network settings: Set the network name, admin email, registration settings, and upload limits. To protect your network, be sure to configure security features like two-factor authentication (2FA) for admin accounts and secure login methods.
  • New site settings: Control the default settings for any new subsite, including the theme, plugins, and user roles. Use an SMTP plugin to configure email delivery settings, ensuring reliable notifications, user registrations, and password resets.
  • Operational settings: Set file upload limits, enable plugin update notifications, and optimize your database for better performance. Automate backups for the network and individual subsites to protect your data and simplify recovery.
  • User settings: Manage user accounts by adjusting registration settings, preventing spam, and controlling user avatars. You can also configure custom error pages, like 404 or maintenance mode, to improve the user experience across all subsites.

User Management

The Network Admin dashboard lets you control how users register and interact across your Multisite network. You can allow user registration network-wide or limit it to specific subsites, ensuring users only access what’s necessary. Assign global roles to users who need access to multiple sites, while others can have roles limited to individual subsites.

To simplify management, automate role synchronization across subsites. This way, when you update a user’s role on one site, their permissions automatically adjust across all relevant subsites. Automating user onboarding also ensures that new users receive the correct roles and permissions immediately, making the process more efficient.

Performance and Security Considerations

With multiple sites running on the same server, you should fine-tune your hosting setup so it can meet the high traffic volumes and resource demands of a Multisite network. Here are some performance optimizations you can consider:

  • Caching: Implement object caching and page caching to improve site speeds and reduce server load. You can set up browser caching by configuring HTTP headers, allowing returning visitors to load cached static files quickly.
  • Content Delivery Network (CDN): Use a CDN to distribute images, CSS, and JavaScript files across multiple servers. This minimizes loading times for users, no matter their location.
  • Database Optimization: Regularly clean your database to remove unnecessary data and speed up queries. Since Multisite creates many database tables, keeping them optimized is crucial. Compress media files using tools like WP Smush or Imagify to reduce file sizes and improve loading speeds.
  • PHP and server tuning: Upgrade to the latest version of PHP for better performance. Optimize your server settings, whether you use Apache, NGINX, or another platform, to reduce resource usage and enhance speed.

Conclusion

WordPress Multisite is an excellent way to manage multiple websites efficiently under one system. You can easily manage a corporate network, a series of blogs, or a multilingual site. Multisite’s centralized control lets you customize each site as needed to maintain consistency across the network while still allowing room for individual site flexibility.

To make the most of Multisite, focus on the tools and strategies that align with your needs. For example, if you’re managing a growing e-commerce network, prioritize tools that streamline inventory and checkout processes. If you’re running a multilingual site, invest in translation plugins and localization tools.

Rate this Article
4.5 Voted by 2 users
You already voted! Undo
This field is required Maximal length of comment is equal 80000 chars Minimal length of comment is equal 10 chars
Related posts
Show more related posts
We check all user comments within 48 hours to make sure they are from real people like you. We're glad you found this article useful - we would appreciate it if you let more people know about it.
Popup final window
Share this blog post with friends and co-workers right now:
1 1 1

We check all comments within 48 hours to make sure they're from real users like you. In the meantime, you can share your comment with others to let more people know what you think.

Once a month you will receive interesting, insightful tips, tricks, and advice to improve your website performance and reach your digital marketing goals!

So happy you liked it!

Share it with your friends!

1 1 1

Or review us on 1

3407700
50
5000
97147849