
WordPress
How WordPress Version Control Actually Works
Learn how WordPress version control works across Git, databases, deployments, backups, rollbacks and multi-site workflows.
A prioritized WordPress maintenance framework covering update order, staging workflows, backups, security and database cleanup with current data.
WordPress maintenance is the ongoing work that keeps your site secure, compatible, recoverable and performant. It includes updating WordPress core, plugins, themes and PHP, verifying backups, monitoring security, checking uptime, optimizing performance and testing changes before they reach production.
This guide covers the maintenance tasks that have the biggest impact, when to perform them and the workflows experienced WordPress teams use to keep problems from reaching production.
The safest WordPress update strategy is built around isolating risk. When dozens of updates are installed at once, every plugin, theme and WordPress core release becomes a potential cause if something breaks. Smaller, deliberate update cycles make failures easier to identify, roll back and fix.
Here’s what to do in order:
This order follows dependency relationships, reducing the chances of compatibility conflicts cascading through the site. Also, make sure to always start with a fresh backup and use a staging environment.
Not every update deserves the same urgency:
Resist the temptation to postpone updates for weeks or months. A site that's six months behind is less secure and also much harder to maintain. Catching up on dozens of deferred updates creates more variables, more compatibility issues and far more time spent troubleshooting than keeping the site current with small, predictable update cycles.
A plugin can update successfully while quietly breaking your checkout, hiding a call-to-action or stopping an integration from syncing data. A backup alone doesn't solve that problem. That’s why experienced WordPress teams test updates in a staging environment instead of applying them directly to the live site.
Your staging environment should closely mirror production, including the latest database and uploaded media. Once you apply your updates on the staging site:
There are two important testing approaches to keep in mind:
The amount of testing should reflect the impact of failure. A simple brochure site doesn't need the same release process as a WooCommerce store, membership platform or university website where every deployment affects revenue, users or critical services. The higher the business risk, the more structured your testing workflow should become.
Automation makes the updating and testing process faster, more consistent and easier to manage. However, don’t treat automation as a complete replacement for release review.
Pantheon’s Autopilot is a good example of this kind of automation. It applies updates in an isolated environment, compares before-and-after screenshots through VRT and pauses deployment when unexpected changes are detected.
Also, Pantheon's Dev, Test Live workflow gives every site dedicated environments for validating changes before deployment.

The highest-risk maintenance tasks are often the ones that give you a false sense of security. Your site stays online, pages load normally and nothing appears broken, while the systems meant to protect it quietly stop doing their job.
A successful backup notification doesn't guarantee your site can be restored. Storage fills up, cloud credentials expire and scheduled jobs fail without affecting the front end.
Follow the 3-2-1 backup strategy: three copies of your data, stored on two different media, with one copy kept offsite. Backup frequency should also match business risk. Active WooCommerce stores, membership sites and publishers should be backed up daily, while lower-change brochure sites can usually follow a weekly schedule.
Once a quarter, restore the latest backup to staging and confirm the database loads, media files are present, the admin area works and the most important user workflow still functions. For WooCommerce, that means checking a recent order or test checkout. For lead-generation sites, submit a form and confirm CRM delivery. Record which backup was restored and how long recovery took.
If you’re using Pantheon, you get automated daily backups and one-click restores, which reduce dependence on a plugin-only backup process.
Many compromised WordPress sites still look normal while attackers hide SEO spam, malicious redirects, fake plugins, injected JavaScript, hidden admin users, modified files, rogue cron jobs or database malware.
Popular plugins are not automatically safe. According to Patchstack’s 2026 State of WordPress Security report, 11,334 new vulnerabilities were found across the WordPress ecosystem in 2025. Of those vulnerabilities, 91% were found in plugins, while 1,966 (17%) were considered high severity and likely to be exploited in automated, mass-scale attacks.
Minimum hardening should include 2FA for admins, strong unique passwords, least-privilege roles, monthly user audits, removal of unused plugins and themes, disabled file editing, correct file permissions and XML-RPC disabled when not needed. Some malware can even tamper with scanner files, so high-risk sites should use server-level or external scanning in addition to WordPress plugins.
WP-Cron usually runs when someone visits the site, not continuously in the background. On a low-traffic site, tasks can be delayed or skipped without any obvious warning. A broken loopback request, plugin conflict, firewall rule, caching setup, or hosting restriction can also stop scheduled jobs from running properly.
The site may still look normal, but backups may be missing, scans may be outdated and scheduled posts may not publish. For important sites, WP-Cron should be monitored or replaced with a real server cron job.
Performance problems accumulate gradually as content grows, plugins add more data, scheduled tasks multiply, and the database stores information that's no longer needed. Monthly maintenance helps remove that technical debt before it affects users, search rankings or editorial workflows.
WordPress stores post revisions every time you save changes to a post or page, and by default, it places no limit on how many it keeps. It also accumulates auto-drafts, spam and trashed comments, and expired transients – temporary pieces of cached data that plugins and themes create.
Individually, these records are small, but over months or years, they add unnecessary overhead. It's also worth checking for orphaned database tables left behind by uninstalled plugins and optimizing fragmented tables that have become less efficient after frequent updates.
WordPress automatically loads certain settings, called autoloaded options, every time a visitor requests a page. If plugins store too much data there, every page takes longer to generate, even when that information isn't needed. This is also a good time to identify plugins generating slow database queries, unnecessary background jobs or repeated requests to external services.
Remember, plugin quality matters far more than plugin quantity. A handful of inefficient plugins can have a bigger performance impact than dozens of well-built ones. Tools like Query Monitor can help you identify these bottlenecks.
Check that page caching, browser caching and object caching are all working as expected, then investigate requests that repeatedly bypass the cache. In many cases, slow pages aren't caused by the database itself but by expensive operations that never benefit from caching.
Review Core Web Vitals, page load times and your most important user journeys after each maintenance cycle. Look for trends rather than isolated scores. A gradual decline is usually much easier to fix than months of accumulated performance debt.
Like software updates, database cleanup and performance optimizations should be tested on a staging site before being applied to production.
There's no single "right" way to maintain a WordPress site. The best approach depends on how much risk the site carries, how often it changes and how much downtime your organization can tolerate.
A useful way to evaluate your approach is to ask where your time actually goes.
As your environment grows, however, the challenge shifts from completing maintenance tasks to managing a repeatable maintenance workflow. This is where Pantheon takes a different approach.
Rather than treating maintenance as a collection of services, Pantheon builds maintenance into the way WordPress sites are developed and deployed. Depending on the plan, Pantheon includes:
Additionally, for agencies and organizations managing multiple WordPress sites, Pantheon extends the same philosophy across an entire portfolio through Upstreams, allowing standardized codebases and shared updates instead of maintaining every site independently. The result is less time spent reacting to failed updates, more consistent deployments and a maintenance process that scales as your WordPress footprint grows.
WordPress maintenance becomes much easier when it's built into your development workflow instead of managed through disconnected tools and manual checklists. Testing updates before deployment, verifying backups, monitoring security and standardizing maintenance across every site creates a process that's more predictable and far less prone to human error.
That's the approach Pantheon is built around. With Dev, Test and Live environments, Autopilot, Managed Updates, automated backups, Upstreams and platform-level security features, teams can spend less time reacting to maintenance problems and more time shipping changes with confidence.
Start on Pantheon today and build a maintenance workflow that's designed for reliable updates, safer deployments and WordPress sites that scale without adding operational complexity!
WordPress maintenance mode is the temporary state visitors may see while updates are running. WordPress can display the default “Briefly unavailable for scheduled maintenance” message during core, plugin or theme updates. You can also use a maintenance mode plugin to show a branded holding page during a launch, redesign or planned downtime.
For routine maintenance, a staging workflow is usually better than taking the live site offline. Updates can be tested privately, then deployed once they’re ready.
Yes, developers can enable maintenance mode with WP-CLI (using a command like wp maintenance-mode activate) or by creating a .maintenance file in the WordPress installation root that contains a fresh $upgrading timestamp. However, most nontechnical users will find a plugin easier and safer to use.
For production sites, use maintenance mode sparingly. It should be reserved for short planned downtime, not routine updates that can be tested in staging.
If your site shows “Briefly unavailable for scheduled maintenance,” WordPress itself probably isn’t down. The update process was likely interrupted before WordPress removed the temporary .maintenance file.
To fix it, confirm the update completed or roll it back safely, then remove the .maintenance file from the site root using SFTP, SSH or your hosting file manager. Afterward, clear caches and check the site before running the update again.

WordPress
Learn how WordPress version control works across Git, databases, deployments, backups, rollbacks and multi-site workflows.

Website Security
Learn how IT teams can manage WordPress vulnerability exposure after patching, from inventory and verification to investigation, recovery, and readiness.