Prompt
How do I build a multisite setup with one content source?
Latest observation
A good “one content source, many sites” multisite setup usually means:
- One central content repository: authors create/manage content in one place.
- Multiple presentation sites: each site pulls from that source and renders content differently.
- Shared governance: roles, publishing workflow, taxonomy, and localization rules are centralized.
Here’s a practical way to build it.
1) Decide the architecture
You generally have 3 common patterns:
A. Traditional CMS multisite
One CMS installation, multiple sites/domains, shared users and maybe shared content.
- Best if all sites are on the same platform and closely related.
- Examples: WordPress Multisite, Drupal multisite, Sitecore, AEM.
B. Headless CMS + multiple frontends
One headless CMS stores content; each site is a separate frontend app consuming the CMS API.
- Best for flexibility, performance, and varied site designs.
- Common with Contentful, Strapi, Sanity, Prismic, Drupal as headless.
C. Central content hub + site-specific layers
A central content service feeds separate CMS instances or static sites.
- Best when you need stronger site isolation or different teams/platforms.
If you want “one content source” with multiple branded sites, headless CMS + multiple frontends is usually the most scalable.
2) Model your content centrally
Design content types so they work across all sites.
Core content types
- Article / Page / News / Event
- Navigation
- Media asset
- Author
- SEO metadata
- Site config (branding, URLs, analytics IDs, etc.)
Include site targeting
Add fields like:
sites(which sites can use this content)localepublish_start/publish_endcontent_statuscanonical_urlslug
This lets one content item be reused across multiple sites with site-specific control.
3) Plan shared vs site-specific content
You need rules for what is shared and what is customized.
Shared globally
- Corporate news
- Brand-approved legal pages
- Reusable components
- Standard product descriptions
Shared with overrides
- Homepage hero text
- Navigation labels
- Footer content
- Call-to-action buttons
Site-only
- Local events
- Region-specific offers
- Local contact information
- Country-specific legal notices
A useful pattern is:
- Base content in the central source
- Site-level overrides for title, slug, images, or copy
4) Set up routing and site resolution
Each request should resolve to the correct site.
Common methods
- Domain-based:
us.example.com,uk.example.com - Path-based:
example.com/us,example.com/uk - Hybrid: domain per major market, paths per section
Your frontend should:
- Detect hostname or path
- Load the matching site configuration
- Fetch only content allowed for that site
- Render using that site’s theme/layout
5) Create a delivery layer
Don’t let every site query the CMS directly in a messy way.
Good practice
Use an API layer or content service that:
- Filters by site and locale
- Handles caching
- Normalizes data
- Enforces permissions
- Maps CMS content to frontend-ready JSON
This can be:
- A custom backend
- Serverless functions
- An edge middleware layer
- A BFF (Backend for Frontend)
6) Handle localization properly
If you have multilingual sites:
- Treat language and country/site separately
- Example:
en-US,en-GB,fr-FR - Use translation relationships between content entries
- Support fallback logic:
- If local page doesn’t exist, fall back to global English
- If a field isn’t translated, inherit from source language
7) Centralize assets and components
Assets
Use a shared media library with:
- CDN
- Image transformations
- Alt text requirements
- Rights/usage metadata
Components
Standardize reusable blocks:
- Hero
- CTA strip
- Card grid
- Testimonial
- FAQ
- Banner
This prevents every site from inventing its own content structure.
8) Permissions and workflow
If many teams publish into the same source, strong governance matters.
Role examples
- Global editor
- Site editor
- Translator
- Approver
- Developer/admin
Workflow examples
- Draft → review → approved → published
- Global content requires central approval
- Site-local content can be approved by local editors
9) Implement caching and performance
A multisite setup can create heavy load if every site pulls content live.
Use:
- CDN caching for pages/assets
- API response caching
- Incremental static regeneration or pre-rendering if possible
- Webhooks from CMS to invalidate cache on publish
For high traffic, a static or hybrid-rendered frontend often performs best.
10) Operational concerns
SEO
- Use canonical tags carefully
- Avoid duplicate content across sites
- Generate per-site XML sitemaps
- Separate robots rules if needed
Analytics
- Store per-site analytics IDs and consent settings
- Track site-specific conversions
Testing
- Preview drafts per site
- Validate links and site targeting
- Test fallback behavior across locales
Disaster recovery
- Backup central content database
- Version content
- Log publish events
Example implementation pattern
Central CMS
Contains:
- All pages
- Shared media
- Site configurations
- Translation groups
Frontend apps
us.example.comuk.example.comca.example.com
Each app:
- Reads site config at startup
- Fetches only content tagged for that site
- Uses a shared component library
- Applies its own styling/theme
Suggested stack choices
If you want simplicity
- WordPress Multisite
If you want flexibility and scale
- Headless CMS (Contentful/Strapi/Sanity/Drupal)
- Next.js/Nuxt/SvelteKit frontend
- CDN + edge caching
- Shared design system
If you need enterprise governance
- Adobe Experience Manager or Sitecore
- Strong workflow and permissions
- Centralized localization and asset management
A practical starter blueprint
- Define site list and domains
- Choose one CMS as the content source
- Create global content models with site targeting
- Build site config entries for each site
- Build a frontend that resolves the site by hostname
- Add filtering by site, locale, and publish state
- Implement cache invalidation and preview
- Add governance, roles, and translation workflow
- Roll out one pilot site first, then clone the pattern
If you want, I can also give you:
- a reference architecture diagram
- a WordPress Multisite approach
- a headless CMS + Next.js example
- or a step-by-step implementation plan for your specific platform.