Skip to main content
Strattic static WordPress hosting logo Strattic is a solution for headless and static WordPress hosting. When a WordPress site is hosted on Strattic, it has three versions:
VersionPurposeMainWP Compatibility
StagingWordPress administration (wp-admin)Connect to MainWP using this URL
PreviewReview changes before publishingNot used with MainWP
LiveStatic public-facing siteNot accessible via MainWP
MainWP connects only to the Staging version, which is the dynamic WordPress instance.

What You’ll Learn

  • How to add a Strattic site to MainWP
  • Current limitations when using MainWP with Strattic

Prerequisites

  • Strattic account with access to site details
  • MainWP Dashboard installed and configured
  • MainWP Child plugin installed on the Strattic Staging site

Add a Strattic Site to MainWP

1

Access Strattic Dashboard

Go to your Strattic Dashboard, locate the site you want to add, and click Details.
2

Get HTTP credentials

From the site details page, copy the HTTP (Basic Auth) Credentials and the WordPress URL.
HTTP Basic Auth is mandatory for the Staging version of the site.
Strattic Dashboard showing HTTP credentials and WordPress URL
3

Open Add New Site in MainWP

Navigate to MainWP Dashboard > Sites > Add New.
4

Enter site details

Fill in the required fields:
  • Site URL: Use the Staging WordPress URL from Strattic
  • Administrator username: Admin username for the child site
  • HTTP username: From Strattic’s HTTP credentials
  • HTTP password: From Strattic’s HTTP credentials MainWP Add Site form with HTTP authentication fields
5

Add the site

Click Add Site. MainWP connects to the Staging version of your Strattic site.

Current Limitations

Publishing Required After Changes

When you make changes through MainWP (updates, plugin installations, etc.), the Staging site is modified. These changes are not visible on your Live site until you publish. Publishing generates a fresh static version of your site. See Strattic’s publishing documentation for publishing options.

Container Shutdown

After a period of inactivity on the Staging site, Strattic automatically shuts down the container for security and resource reasons.
ImpactDescription
MainWP communicationDashboard cannot sync or connect while container is down
Wake processCurrently only possible through Strattic dashboard
Live siteCompletely unaffected by container shutdown
Before performing MainWP operations, ensure the Strattic container is running by accessing the Staging site through the Strattic dashboard.

Self-Check Checklist

  • Located Staging URL in Strattic Dashboard
  • Copied HTTP Basic Auth credentials
  • Entered HTTP credentials in MainWP Add Site form
  • Site successfully added and syncing
  • Published changes to Live after MainWP updates