Skip to main content

WordPress Multisite Network Setup

Configure and manage a WordPress multisite network with domain mapping, shared resources, network-wide plugins, and centralized user management.

Fill in the placeholders

Edit the values, then copy your finished prompt.

Your Prompt
prompt.txt
You are a WordPress multisite architect. Help me set up and configure a multisite network for a university with departmental sites with 25 sites.

Step 1: Plan the multisite architecture. Decide between subdirectory (example.com/site1) and subdomain (site1.example.com) structure based on the university with departmental sites requirements. For 25 sites, define: which sites share a theme (with customizations), which need unique themes, shared vs site-specific plugins, and the user role hierarchy. Create an architecture diagram showing the network topology and resource sharing.

Step 2: Configure the WordPress installation for multisite. Modify wp-config.php to enable multisite (ALLOW_MULTISITE, MULTISITE, SUBDOMAIN_INSTALL). Set up the .htaccess or Nginx rewrite rules for Nginx. Configure the database table prefix strategy for 25 sites. Set WP_ALLOW_MULTISITE, BLOG_ID_CURRENT_SITE, SITE_ID_CURRENT_SITE, and DOMAIN_CURRENT_SITE. Implement sunrise.php for domain mapping with Mercator or built-in sunrise.php.

Step 3: Set up the theme and plugin strategy. Install GeneratePress Premium as the network-active parent theme. Create 5 child themes for site groups that need different branding. Configure network-activated plugins (applied to all sites): Yoast SEO, Wordfence, WP Super Cache, Redirection. Configure site-specific plugins that administrators can activate per site. Implement a plugin whitelist that prevents site admins from installing unapproved plugins.

Step 4: Design the user management system. Configure 4 custom roles across the network: Super Admin (network management), Network Editor (content across all sites), Site Admin (single site management), and Site Editor (content for one site). Implement single sign-on across all sites using native WordPress multisite cookies. Set up user registration flow: new users register on the main site and are added to specific sites by admins. Configure the user switching plugin for Super Admins to impersonate site users for debugging.

Step 5: Implement shared resources and content. Set up a shared media library using Network Media Library plugin so assets uploaded on one site are accessible network-wide. Configure a network-wide menu of common pages (privacy policy, terms of service) that pull content from the main site. Implement a content syndication system that publishes posts from the main site to all network sites automatically.

Step 6: Configure performance and maintenance for the multisite network. Set up WP Super Cache with multisite support with multisite-aware cache keys. Configure a shared object cache using Redis with wp-redis. Set up automated backups that handle the shared database structure correctly. Implement a network health monitoring dashboard that shows: per-site storage usage (cap at 1 GB per site), plugin update status across all sites, site performance metrics, and user activity logs. Create a maintenance mode that can be applied network-wide or per-site.

What this prompt does

This prompt casts the model as a WordPress multisite architect planning and configuring a network for a [organization_type] running [site_count] sites. It moves through six stages: architecture planning, the wp-config and rewrite setup, theme and plugin strategy, user management, shared resources, and performance plus maintenance.

The first decision it forces — subdirectory versus subdomain — shapes everything downstream, so the prompt ties that choice to the [organization_type] rather than picking arbitrarily. It then sets the multisite constants, wires domain mapping through [domain_mapping_plugin], network-activates [network_plugins], defines [role_count] roles, and caps each site at [storage_limit]. Shared media via [media_solution] and an object cache on [object_cache] are the operational details that keep a [site_count]-site network from sprawling.

The prompt's strength is that it treats the network as an ongoing system, not a one-time install. The role hierarchy spans super admin down to single-site editor, with single sign-on via [sso_method] so users move between sites without re-authenticating. A plugin whitelist stops site admins from installing unapproved code, content syndication pushes shared pages out from the main site, and a health dashboard surfaces per-site storage, plugin update status, and performance across the whole network. These are the controls that decide whether [site_count] sites stay maintainable or become a liability.

When to use it

  • An organization needs many related sites under one WordPress install.
  • You must decide between subdirectory and subdomain structure for [site_count] sites.
  • Different site groups need different branding from one parent theme.
  • You want centralized roles and single sign-on across the network via [sso_method].
  • Assets uploaded on one site must be reachable network-wide.
  • You need per-site storage caps and network-wide health monitoring.

Example output

Expect an architecture write-up plus configuration steps: a topology recommendation (subdirectory vs subdomain) for [web_server], the wp-config constants and rewrite rules, a theme plan using [theme_framework] with [child_theme_count] child themes, a network-plugin list, a [role_count]-role hierarchy with SSO via [sso_method], a shared-media setup using [media_solution], and a maintenance dashboard tracking per-site storage against [storage_limit], plugin updates, and caching through [object_cache].

Pro tips

  • Pick subdirectory vs subdomain based on [organization_type] and DNS needs; switching later is painful.
  • Keep [network_plugins] to genuinely network-wide tools and leave the rest for per-site activation.
  • Set [storage_limit] per site early so one heavy site does not starve the others.
  • Use a plugin whitelist so site admins cannot install unapproved code across [site_count] sites.
  • Configure [object_cache] with site-aware keys so caches do not collide across the network.
  • Test [domain_mapping_plugin] and sunrise.php on staging before pointing live domains at the network.
  • Keep [child_theme_count] child themes lean; each one is another surface to maintain when the [theme_framework] parent updates.
  • Confirm [web_server] rewrite rules early, since subdomain and subdirectory setups need different configuration to route correctly.

Frequently Asked Questions

Should I choose subdirectory or subdomain for my network?
The prompt ties that choice to your `[organization_type]` and requirements rather than defaulting. Subdirectories are simpler for one organization's internal sites, while subdomains suit distinct brands or independent domains, and the trade-off affects DNS and SSL setup.
How is media shared across all the sites?
It configures a shared library through `[media_solution]` so an asset uploaded on one site is accessible network-wide. This avoids re-uploading the same logos or images on every one of the `[site_count]` sites.
Can I stop site admins from installing any plugin they want?
Yes. The plugin strategy includes a whitelist that prevents site administrators from installing unapproved plugins, while network-activated plugins like `[network_plugins]` stay under super-admin control. This keeps a large network consistent and secure.
Does this cover ongoing operations or just initial setup?
It covers both. Beyond configuration, the final step sets up object caching on `[object_cache]`, multisite-aware backups, and a health dashboard tracking per-site storage against `[storage_limit]` and plugin update status across the network.
Engr Mejba Ahmed

Need this built for real?

Engr Mejba Ahmed

AI Developer · Software Engineer

I'm Mejba — I design and ship production AI systems, automations, and full-stack apps. If you want this turned into a working solution for your team, let's talk.

More in WordPress & CMS Prompts

Engr Mejba Ahmed

Engr Mejba Ahmed

AI assistant · trained on my work

👋

Hey there!

Quick Actions

WhatsApp Direct line to me

Chat on WhatsApp

+880 1723 741224 · Replies within the hour on working days

Popular Questions

Engr Mejba Ahmed is connected
Engr Mejba Ahmed is typing...
Engr Mejba Ahmed avatar

✉ Want me to follow up? Drop your email

Engr Mejba Ahmed avatar

📞 Connect Directly

Choose how you'd like to reach me

WhatsApp

+880 1723 741224

Email

mejba.13@gmail.com

✓ Details sent! I'll get back to you shortly.

Powered by OpenAI

335+

Blog Posts

25

AI Courses

63

Projects

Services & Expertise

Pricing & Process

Learning & Resources

Connect & Support