Zero-downtime WordPress deployment means shipping new theme, plugin or core code from Git without visitors ever seeing an error, a half-copied site or the “Briefly unavailable for scheduled maintenance” screen. Each deploy is built in its own folder beside the live site, checked, then switched in one step, while uploads and wp-config.php stay shared.
That last part is where WordPress differs from a Laravel or Node.js app. WordPress writes media into its own code folder, keeps secrets in a PHP file, and lets anyone with admin access install plugins on the live server. A deploy method built for other apps trips over all three. If you want the general theory first, read our guide to zero-downtime deployment strategies.
This guide covers what has to change in your WordPress repository, which files must be shared between releases, how to handle plugins and database changes, and how to turn it on and roll back in xCloud.

TL;DR
Short on time? Here is the whole guide in a few lines:
- Zero downtime needs release folders: every deploy goes into a new folder, gets checked, and the site switches to it in one step. A
git pullinto the live folder is never zero downtime. - WordPress core must be in Git. Classic layout: commit core, including
wp-settings.php. Bedrock: commit your Composer project. - Share what WordPress writes at runtime:
wp-content/uploads,wp-config.phpand.env(classic), orweb/app/uploadsand.env(Bedrock). - Plugins come from Git, not the admin. Installs and updates from the dashboard would only change one release and vanish on the next deploy.
- Rollback switches code, not the database. Plan plugin updates that change tables, and back up first.
- In xCloud: turn on Release mode from Site → Git. It works for Git-deployed WordPress on nginx servers.
What WordPress Needs That Other Apps Don’t
This is the part most zero-downtime guides skip. They show a Laravel or Node.js example and assume WordPress works the same way. It doesn’t, and the table below is why.
We built it from the rules in xCloud’s Release mode for WordPress, which decide what goes into each release and what stays shared:
| What | Where it lives in a release setup | Why |
|---|---|---|
| WordPress core | In every release (from Git) | Each release is a full checkout. Classic repos need wp-settings.php; Bedrock repos need composer.json. |
| Plugins and themes | In every release (from Git or Composer) | A plugin installed from the admin lands in one release only, and the next deploy drops it. |
wp-content/uploads (Bedrock: web/app/uploads) |
Shared | Media uploaded after a deploy must survive the next deploy and any rollback. |
wp-config.php (classic) |
Shared | Database password and salts never belong in Git. Bedrock keeps them in .env instead. |
.env |
Shared | Environment settings stay the same across releases. |
blogs.dir (old multisite) |
Shared, if it exists | Older multisite networks store files there. |
| Object cache and page cache drop-ins | Copied forward from the live release | Host-added files such as object-cache.php and advanced-cache.php are not in your repo, but the site needs them. |
Two rows surprise people. First, xCloud’s own Git setup for an existing site leaves WordPress core out of the repository, so a site connected that way must commit core before it can use release folders. Second, cache drop-ins are not in your repo; without the copy-forward step, a new release would boot without its object cache.
When we tested Release mode on 10 November 2026, a Bedrock WordPress blog on an nginx test server took 3 deploys and 1 rollback under a steady 8 requests a second, 1,520 requests with 0 failed. The full test, with five other stacks, is in our Release mode launch post.
Why a Normal WordPress Deploy Causes Downtime
Most WordPress deploys change files in the folder visitors are using. That is the root of every gap.
git pullor SFTP upload in place: for a few seconds, some files are new and some are old. A request that loads a new theme file and an old plugin file can end in a fatal error.- Updates from the admin: WordPress shows its maintenance screen while it replaces plugin, theme or core files.
composer installin the live folder (Bedrock): thevendorfolder is half-built while visitors hit the site.
The fix is the release folder pattern, also called symlink deploys: build somewhere else, then switch. If you want the comparison with blue-green and canary, see how blue-green deployment works.
Prerequisites
| You need | Classic layout | Bedrock layout |
|---|---|---|
| Site deployed from a Git repository | Yes | Yes |
| WordPress core in the repo | wp-settings.php committed |
composer.json committed (Composer installs core) |
| Web root | Site root (wp-content at the top) |
web/ |
| Secrets | wp-config.php, kept out of Git |
.env, kept out of Git |
| Server (for xCloud Release mode) | nginx | nginx |
If your site is not on Git yet, connect a provider first: integrate a Git provider with xCloud.
Step 1: Put WordPress Core in Your Repository
Every release is a fresh checkout, so the repository must hold everything WordPress needs to boot.
For a classic site, commit core files (including wp-settings.php), your themes and your plugins. Keep wp-content/uploads/ and wp-config.php out of Git with .gitignore.
For Bedrock, commit the project as it is. Bedrock treats “WordPress core, plugins, and themes as dependencies” managed with Composer, and reads settings from .env (Bedrock).
If you connected an existing xCloud site to Git with Git integration for an existing site, that setup leaves core out. Commit core first, or Release mode refuses to turn on with “WordPress core is not in the repository…”.
Step 2: Move Plugin and Theme Changes Into Git
With release folders, the admin is the wrong place to install or update code. A plugin added from Plugins → Add New would exist in one release and disappear on the next deploy.
WordPress has a setting for this. DISALLOW_FILE_MODS blocks plugin and theme installs and updates from the admin (WordPress wp-config.php reference). xCloud sets it for you while Release mode is on, and removes it again when you turn Release mode off.
Your new routine:
- Update the plugin locally or on staging (for Bedrock,
composer update vendor/plugin-name). - Commit and push.
- Deploy. The new release carries the new plugin version.
Test bigger changes on a copy first. Our staging site guide shows how.
Step 3: Plan Database Changes Before You Deploy
Release folders solve code. They do not solve the database, and WordPress plugins change the database more often than people think.
When a plugin update runs its own upgrade routine (new tables, renamed options), the old code and the new code may not agree on the data. A rollback brings back the old code, but the database stays as the new version left it.
Three habits keep you safe:
- Back up before any deploy that updates a plugin with its own tables (shops, forms, membership plugins).
- Ship big plugin upgrades on their own, not in the same deploy as theme work, so a rollback is easy to reason about.
- Read the plugin’s changelog for “database update” notes before you deploy.
Step 4: Turn On Release mode in xCloud
In xCloud, open the site and click Git, then scroll to the Release mode card. On a WordPress site the card first shows a note: plugins and themes can’t be installed or changed in the WordPress admin while it is on.

Click the switch and confirm with Turn on. When the card says Release mode is on., the shared files are listed under Shared between releases. Need another folder shared, such as a cache or export folder a plugin writes to? Add it as described in shared files and folders in Release mode.
Step 5: Deploy and Check
Deploy as usual: push to your branch with push-to-deploy, or click deploy. Behind the scenes, each deploy:
- Checks out your commit into a new release folder and confirms WordPress core is tracked.
- Links the shared files and folders into it.
- Runs your deploy script inside the new release, if the site has one (for example
composer installon Bedrock). - Copies xCloud’s cache drop-ins forward from the live release.
- Runs a smoke check: the home page of the new release must answer below a 500 error within 10 seconds.
- Switches the site to the new release in one step.
If any step fails, the new release never goes live and visitors keep getting the old one. The deployment log says why; common messages and fixes are in Release mode messages and fixes.

Step 6: Roll Back When Something Looks Wrong
A deploy that passes the smoke check can still have a broken layout or a misbehaving plugin. Find the older release in the list on the Release mode card and click Rollback. The site switches to it at once.

xCloud keeps the last 5 releases of a WordPress site. Uploads, wp-config.php and .env are not touched by a rollback. Full details: how to roll back a deployment.
Common Pitfalls
| Symptom | Likely cause | Fix |
|---|---|---|
| Release mode won’t turn on: core not in the repository | Repo connected with xCloud’s Git setup for an existing site | Commit WordPress core (wp-settings.php), then try again |
| Release mode refused: site installed by xCloud | The site was not deployed from Git | Deploy the site from a Git repository that includes core |
| Not available on this server | WordPress site on OpenLiteSpeed | Host the site on an nginx server |
| Uploaded files vanish after a deploy | A plugin writes to a folder that is not shared | Add that folder under Shared between releases |
| New plugin “disappeared” | It was installed from the admin before Release mode, not committed | Commit it to the repo and deploy |
| Deploy marked failed at the smoke check | The new release answers with a 500 error (often a PHP fatal in a plugin) | Read the deployment log, fix, push again |
For deploy failures that are not specific to Release mode, see why your Git deploy failed on xCloud.
What xCloud Does Today, and What It Doesn’t
What it does: builds each WordPress release beside the live one, shares uploads and settings, carries cache drop-ins forward, runs a smoke check, switches in one step, keeps 5 releases for one-click rollback, and turns admin plugin installs off and on for you. The zero-downtime deployments page covers every stack.
What it doesn’t do:
- No database rollback. A rollback switches code only.
- The smoke check is basic. It confirms the home page answers without a server error. It does not catch a broken layout, a broken checkout or a slow page.
- Git-deployed WordPress only. A WordPress site installed by xCloud, with plugins managed from the admin, cannot use Release mode.
- nginx only for WordPress. OpenLiteSpeed servers are not supported for WordPress in Release mode.
- No admin plugin installs while it is on. That is the point, but it changes how non-developers on your team work.
How to undo it: turn Release mode off on the same card. Shared files move back into the site folder, and plugin installs from the admin work again.
If your sites are classic WordPress managed from the admin, that’s fine: stay on standard deploys, and use xCloud’s WordPress hosting features such as staging and backups for safe changes.
Ship Your Next WordPress Release Without a Maintenance Screen
Zero downtime for WordPress is less about a clever tool and more about three decisions: core and plugins in Git, uploads and secrets shared, and database changes planned before the deploy. Get those right, and the switch itself is the easy part.
This week, check whether your repository holds WordPress core, list the folders your plugins write to, and try one deploy on a staging copy. Then turn on Release mode with the zero-downtime deployment guide for WordPress open next to you.
If you have found this blog helpful, feel free to subscribe to our blogs for valuable tutorials, guides, knowledge, and tips on web hosting and server management. You can also join our Facebook community to share insights and engage in discussions.
Frequently Asked Questions
Can WordPress be deployed with zero downtime?
Yes, if the site’s code comes from Git. Each deploy is built in its own folder next to the live site, checked, and then the site switches to it in one step. Uploads and wp-config.php live in a shared place, so every release sees the same media and settings.
Do I need Bedrock for zero-downtime WordPress deploys?
No. A classic WordPress repository works too, as long as WordPress core (wp-settings.php) is committed. Bedrock is a good fit because it already keeps core, plugins and themes as Composer packages and settings in .env.
Can I still update plugins from the WordPress admin?
Not while Release mode is on in xCloud. Plugin and theme installs and changes from the admin are turned off, because the code must come from Git. Add or update plugins in your repository and deploy. Turning Release mode off allows admin installs again.
Does rolling back a WordPress deploy undo database changes?
No. A rollback switches code only. If a plugin update changed database tables, the older release runs against the changed tables, so take a backup before deploying plugin updates that change the database.
Does zero-downtime deployment work on OpenLiteSpeed for WordPress?
Not in xCloud today. Release mode for WordPress sites needs an nginx server. Laravel and custom PHP sites can use it on OpenLiteSpeed.
