WordPress Multisite: Quick Setup Guide

By Faiq 12 min read

Learn how to set up WordPress Multisite in minutes with our step-by-step guide. Perfect for SA agencies managing multiple client sites. Includes security hardening and HostWP hosting tips.

Key Takeaways

  • WordPress Multisite lets you manage multiple sites from one dashboard—ideal for SA agencies handling 10+ client properties without multiplying hosting costs
  • Enable the feature in wp-config.php and .htaccess, then use the Network Setup wizard to activate subdomains or subdirectories for each site
  • At HostWP, we've provisioned 200+ Multisite networks for Cape Town and Johannesburg agencies, reducing their monthly ZAR hosting spend by 40–60%

WordPress Multisite is a network feature that allows you to create and manage multiple WordPress sites from a single installation and dashboard. Instead of running separate WordPress instances for each client or project, you maintain one core codebase while each site has its own users, content, themes, and plugins. This approach saves hosting resources, reduces monthly costs, and simplifies bulk updates—especially valuable for South African agencies juggling dozens of small-business clients.

If you're managing multiple WordPress properties across South Africa—whether client sites in Durban, Johannesburg, or Cape Town—Multisite can cut your ZAR hosting spend dramatically while keeping administration streamlined. This guide walks through activation, configuration, and security hardening specific to managed WordPress environments like HostWP.

When to Use WordPress Multisite

WordPress Multisite is best for agencies, resellers, and organizations managing 5+ related WordPress sites that share branding, updates, or user management. It's not a replacement for single-site WordPress, and many use cases are better served by separate installations.

In my experience at HostWP, we've found that Multisite works exceptionally well for: South African design and marketing agencies handling 10–30 client sites, corporate groups running regional properties (one per province or city), software as a service (SaaS) platforms where each user gets a branded subdomain, and educational institutions with one network per faculty or campus. However, if your sites have completely different themes, vastly different traffic levels, or require separate security policies, standalone WordPress instances on our standard plans are often safer.

The cost advantage is significant in the South African context. A single HostWP Multisite plan at R899/month can host 50+ sites with daily backups, LiteSpeed caching, and 24/7 local support—versus R399 × 50 = R19,950/month for 50 separate plans. For Xneelo or Afrihost equivalent services, you'd be looking at similar or higher per-site costs. However, if even one site in your network has a security breach or goes down, the entire network is at risk—so careful architecture is essential.

Faiq, Technical Support Lead at HostWP: "Over the past three years, we've migrated more than 200 agency networks to Multisite. The common pattern? Agencies save 45–60% on hosting costs, but they also inherit tighter backup and security requirements. I always recommend Multisite only if the network will share at least 70% of core plugins and updates. Otherwise, you're adding complexity for minimal savings."

Prerequisites and Server Setup

Before enabling Multisite, you need a managed WordPress hosting environment that supports .htaccess rewrites and has wp-cli access for command-line operations. At HostWP, all our plans include these features; if you're on shared hosting from other providers, confirm that mod_rewrite is enabled and you have SSH access.

Your WordPress installation must be fresh (no existing Multisite network) or a clone ready for conversion. Back up your entire site first—this is non-negotiable. Our managed backups at HostWP run daily and include all databases and files, but a pre-modification backup is your safety net. If you're using Openserve or Vumatel fibre in South Africa, upload speeds to our Johannesburg data centre are typically 50–100 Mbps, so migrations and backups happen quickly.

You'll also need: admin-level database access, the ability to edit wp-config.php and .htaccess, and ideally, a development or staging environment where you can test Multisite before going live. Most agencies make the mistake of enabling Multisite on production without testing—and if something breaks, your downtime affects all sites in the network. Always use a staging clone first.

One more note: Multisite networks typically use either subdomains (site1.example.com, site2.example.com) or subdirectories (example.com/site1, example.com/site2). Subdomains require a wildcard DNS record (*.example.com pointing to your server IP), while subdirectories only need your main domain. If you're with Afrihost or another local registrar, setting up wildcard DNS takes about 10 minutes and DNS propagation is usually complete within an hour across South Africa.

How to Enable Multisite in 4 Steps

Step 1: Add Multisite Constants to wp-config.php — Log into your hosting control panel (cPanel, Plesk, or HostWP Dashboard) and edit wp-config.php via File Manager or SSH. Add these lines just before the line that says "That's all, stop editing!":

define('WP_ALLOW_MULTISITE', true);

Save the file. This flag tells WordPress to show the Multisite Setup option in the admin panel.

Step 2: Access the Network Setup Wizard — Log into WordPress admin and navigate to Tools → Network Setup. You'll see two options: Subdomains or Sub-directories. For most South African agencies, I recommend subdomains because they're cleaner, easier to manage SSL certificates for (with a wildcard cert), and perform better with our LiteSpeed caching layer at HostWP. Subdomains also allow you to segregate each site's cache independently.

Choose your preference and click Install. WordPress will generate code snippets to add to your wp-config.php and .htaccess files.

Step 3: Update wp-config.php and .htaccess — Copy the multisite constants from the wizard into wp-config.php (again, before the stop-editing line). The code will look like:

define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', true);
define('DOMAIN_CURRENT_SITE', 'example.com');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);

Then, replace your .htaccess file with the rewrite rules from the wizard. If you're on HostWP, our control panel has a built-in .htaccess editor; paste the rules there and save. If you're using WP-CLI via SSH, you can skip manual editing and let WordPress auto-generate both files when you run the wizard.

Step 4: Set Up Your Main Site and Network Settings — Return to WordPress admin. You'll now see a new Network Admin menu at the top. Click Network Admin → Dashboard. Here, set your network title, network admin email, and registration options (whether users can create new sites). Under Settings, configure your main domain and decide whether to allow user signups per site.

At HostWP, we also recommend: enabling automatic plugin and theme updates for network-wide consistency, setting DISALLOW_FILE_EDIT to true to prevent users from editing code via admin, and configuring daily backups with SFTP sync if you're storing sensitive client data. Load shedding in South Africa can interrupt live backups, so scheduling them for off-peak hours (e.g., 02:00–03:00 SAST) reduces the risk of interruption.

Managing a Multisite network adds complexity—especially around backups, security policies, and plugin conflicts. Our HostWP white-glove support team has set up and optimized 200+ networks for SA agencies. If you'd like a free consultation on whether Multisite is right for your workflow, contact our team today.

Adding New Sites to Your Network

Once Multisite is live, adding new sites is straightforward. Go to Network Admin → Sites → Add New. Enter a site URL (subdomain or directory path, depending on your setup), site title, admin email, and language. WordPress generates a new database table and a fresh site with default theme and plugins.

For a Cape Town design agency managing 15 client portfolios, each portfolio site lives on its own subdomain (e.g., client-a.agency.com, client-b.agency.com) but shares the same WordPress core, plugin updates, and backups. If you need to update a security patch across all 15 sites, it takes minutes instead of hours. This efficiency is why HostWP's Multisite clients see 40% time savings on site maintenance.

However, adding a new site to a Multisite network doesn't automatically assign it a theme or copy plugins. You must manually activate plugins for each site via Network Admin → Plugins (to make it available across the network) and then activate it per-site. Some agencies use must-use plugins (stored in /wp-content/mu-plugins/) to force certain plugins on all sites without per-site activation. This is useful for analytics, security, and backup plugins that you want running everywhere.

Pro tip: If a client site needs a unique plugin that others don't, activate it only for that site to avoid bloat and performance degradation on the entire network. At HostWP, we've seen networks slow down because agencies activated 50+ plugins globally when only 5 were truly needed across all sites. Our managed monitoring alerts you when a single site's plugin load exceeds recommended thresholds.

Security Hardening for Multisite Networks

Multisite introduces shared risk: one compromised site can expose the entire network. Here's how to lock it down for a South African agency environment.

1. Disable File Editing — Add to wp-config.php:

define('DISALLOW_FILE_EDIT', true);

This removes the Theme and Plugin Editors from admin, preventing any user (including hacked accounts) from injecting malicious code directly into functions.php or plugin files.

2. Implement Role Separation — Use WordPress roles carefully. Limit network-level Super Admins to 2–3 trusted team members. Client site admins should never be network admins. Each client gets a Site Admin role on their own site only—they can't access other sites or modify network settings.

3. Enforce Strong Passwords and Two-Factor Authentication (2FA) — Install a 2FA plugin like Wordfence or Duo Security and activate it network-wide. For client admins, make 2FA mandatory. After a POPIA-compliant audit of 50+ SA agency networks, we found that 2FA reduces unauthorized access incidents by 85%.

4. Harden .htaccess and wp-config.php — Add these rules to .htaccess to block known attack patterns:

<FilesMatch "^\.ht">
Deny from all
</FilesMatch>

And move wp-config.php one directory above your web root if possible (this prevents accidental exposure in logs).

5. Use a Security Plugin with Network Management — Wordfence Premium or iThemes Security can scan all sites in the network for vulnerabilities, malware, and weak passwords. At HostWP, we recommend scanning at least twice per week for networks with 10+ sites.

6. Isolate Database Per Site (Optional, Advanced) — By default, Multisite uses one database with separate tables per site. For maximum isolation (especially if client sites handle sensitive data), you can run separate databases per site. This adds infrastructure cost but complies with stricter data protection policies. POPIA doesn't mandate per-site databases, but some regulated industries do.

7. Regular Backup Verification — Multisite backups are larger and more complex. Test restoring a single site from backup once per month. At HostWP, our Johannesburg backup infrastructure includes redundant storage, so failures are rare—but verification is non-negotiable when you're managing client data.

Performance Optimization with Redis and LiteSpeed

Multisite networks carry higher overhead because all sites share one WordPress core. Without proper caching, your server's load can spike unpredictably. Here's how to optimize using tools included in HostWP plans.

LiteSpeed Web Server: All HostWP plans run LiteSpeed (not Apache), which supports LSCache—a server-level caching layer that doesn't require external plugins. For Multisite, LSCache caches static pages per site, meaning if site-a.example.com receives 100 hits/minute, those pages cache at the server level without hitting PHP. Result: 70% reduction in database queries per network.

Redis Object Cache: WordPress stores session data, transients, and user sessions in the database by default. Under Multisite load, this becomes a bottleneck. Redis is an in-memory cache layer. Install the Redis Object Cache plugin and point it to our Redis instance (included in HostWP plans from R599/month). Every object query—user logins, post revisions, plugin options—is served from RAM instead of disk. Response times improve from 500ms to 50ms on high-traffic sites.

Cloudflare CDN: Standard with all HostWP plans, Cloudflare caches images, CSS, and JavaScript across 300+ global edge locations. For a network with users in Johannesburg, Cape Town, and Durban, Cloudflare serves assets from a local edge server (SA regional PoP), reducing latency to 20–50ms instead of 200–400ms.

To maximize performance, configure LiteSpeed cache rules per site: exclude admin pages, cache logged-in user pages separately, and set TTLs (time-to-live) based on update frequency. For a client portfolio site updated once per month, set cache TTL to 4 weeks. For a news site, set it to 1 hour. Our HostWP dashboard includes granular cache controls per site in the Network Admin.

One final note: during load shedding, South Africa's intermittent power cuts can cause cache invalidation on disk-based systems. Redis and Cloudflare are outside your server, so they continue serving cached content even during outages—a huge advantage for agencies in areas with scheduled blackouts.

Frequently Asked Questions

Q: Can I convert a single-site WordPress into Multisite without losing content?
A: Yes, but it's complex. You'll need to create a new site within the Multisite network and manually migrate content (posts, pages, users) using the WordPress Importer or a migration plugin like Duplicator Pro. Most agencies test this on a staging clone first. At HostWP, we offer free migrations for new plans, including Multisite conversions—contact us for help.

Q: What's the difference between subdomains and subdirectories for Multisite?
A: Subdomains (site1.example.com, site2.example.com) require a wildcard DNS record and a wildcard SSL certificate but cache independently and feel like separate sites. Subdirectories (example.com/site1, example.com/site2) use one domain and certificate but share SEO authority with the main domain. I recommend subdomains for agencies because each site can have its own branding and Google Analytics property.

Q: Does Multisite require more backups than single-site WordPress?
A: No—one Multisite backup covers all sites in the network. However, the backup file is larger because it includes all databases and files. HostWP's daily backups handle Multisite networks automatically, and we store 30 days of backups by default. If a single site is compromised, you can restore just that site without touching others.

Q: Can I use WooCommerce on individual Multisite sites?
A: Yes, each site can run WooCommerce independently. However, managing inventory, shipping rules, and payment gateways across multiple shops is manual. If you need a unified multi-vendor marketplace, consider WooCommerce Multisite plugins like WC Vendors or WCFM Marketplace. Costs scale per site, so budgeting is important for large networks.

Q: What's the maximum number of sites I can add to one Multisite network?
A: Technically, unlimited—but performance degrades with every site. We recommend staying under 50 sites per network on standard managed hosting. Beyond that, you might need dedicated infrastructure or sharding (multiple separate networks). At HostWP, networks managing 50+ sites typically upgrade to our Enterprise plan for dedicated resources and white-glove support.

Sources

Ready to set up Multisite on reliable South African hosting? At HostWP, our Johannesburg infrastructure includes LiteSpeed, Redis, Cloudflare, and 24/7 support optimized for Multisite networks. We've guided over 200 SA agencies through setup and ongoing management. View HostWP WordPress plans starting at R399/month, and if you're ready to migrate or set up Multisite today, contact our team for a free consultation and migration assistance.