What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
The most direct way to control WordPress core maintenance mode is WP-CLI. From the directory containing your WordPress installation, run wp maintenance-mode activate to enable it and wp maintenance-mode deactivate to turn it off. Use wp maintenance-mode status to inspect the current state; wp maintenance-mode is-active is available when you need a simple check for an administrator or script.
Antihost offers managed WordPress hosting with free migration, one-click staging and a 14-day free trial.
If a site is stuck on a maintenance screen after an interrupted update, connect with authenticated FTP, SSH, or your hosting file manager, remove the root-level .maintenance file, and then verify the state. WordPress core treats a .maintenance file created less than 10 minutes ago as active, while an older file is treated as inactive.
As an Amazon Associate I earn from qualifying purchases.
Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Repair Windows errors before they cause bigger problems3Scan for outdated or missing drivers - takes under a minuteEnable maintenance mode with WP-CLI
WP-CLI gives you explicit commands for turning core maintenance mode on and off. It is preferable when you have shell or remote command access because the operation, confirmation message, and status check are all visible in one place.
1. Open the WordPress installation directory
Connect to the server through SSH or another shell and change to the directory that contains the WordPress installation. If you do not want to change directories, provide the installation path with WP-CLI’s --path option.
#1 Best Overall
- [Ultra-Lightweight Ear Buds Designed for Small Ears] Each earbud weighs only 3.7g and features a compact, ergonomic in-ear design made especially for small ears. Secure, low-profile, and comfortable for workouts, all-day wear or overnight sleeping.The ultra-slim profile sits flush in your ear with no hard edges poking or rubbing, so you can even sleep on your side without discomfort.
- [Immersive Stereo Sound with TOZO OrigX Technology] TOZO OrigX tuning delivers clear vocals, balanced mids, and natural stereo sound for music, podcasts, and videos.
- [Long Battery Life for Daily Use] Get up to 7 hours of playtime on a single charge, with up to 32 hours total using the charging case—ideal for workdays, commuting, and extended listening sessions.
- [Bluetooth 5.3 & Stable Connection] Bluetooth 5.3 provides fast pairing, stable wireless performance, and reduced dropouts as you move around home or office.
- [Deep Bass with Clear Vocals] High-performance drivers produce punchy bass while keeping vocals clean and detailed for everyday listening.
The command must target the correct site. On a server hosting several WordPress installations, running the command from the wrong directory can affect a different site or fail to find a WordPress installation.
2. Check the current state
Run:
wp maintenance-mode status
This tells you whether WordPress core currently considers maintenance mode active. Checking first avoids enabling an already active state unnecessarily and gives you a baseline for troubleshooting.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallOutdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware match3. Activate maintenance mode
Run:
wp maintenance-mode activate
WP-CLI reports the result with the success message Success: Activated Maintenance mode. Open the site in a separate browser session, preferably one that is not already authenticated as an administrator, and confirm that visitors receive the maintenance response rather than the normal front end.
4. Record what you changed
For a planned update, note the time you activated maintenance mode and the work you intend to perform. This is particularly useful because WordPress core’s file-based check is time-sensitive: a newly created file is active for the first 10 minutes according to the core behavior described below. Your change log should distinguish a deliberate maintenance window from an abandoned file left by an interrupted update.
Disable maintenance mode with WP-CLI
When the update or other work is complete, return to the same WordPress installation directory and run:
wp maintenance-mode deactivate
The documented success response is Success: Deactivated Maintenance mode. Recheck both the command-line state and the public site:
wp maintenance-mode status
Load the front end in a separate browser session after deactivation. An administrator’s authenticated session can behave differently from a visitor’s session, so checking from an independent session helps confirm that the public site is available.
Rank #2
- 【IP68 Waterproof Multifunctinal Smart Watch】Torjalph fitness activity tracker smart watch is IP68 waterproof technology ,you can wear it when swimming,handwashing,it's rain-proof which means that you perform multiple exercise modes outside without worrying about sweat or rain corroding your fitness smart watch,and this watch equipped with a 230 mAh large capacity battery magnetic charging ,and this sports activity tracker watch can be used 5-7 days If fully charged.
- 【Larger 1.83'' Full Screen Watch & Multi-dial Selection】1.83 inch full HD color touch screen smart watch for men / women provides excellent 240*284 resolution image quality ,This Bluetooth smart watch offers a better touch experience and remarkable immersion and ,more than 200 watch faces for you to choose from App"Da Fit ", you can change the dial style according to your mood to wear keeping the world on your wrist
- 【Accurate Activity Tracker Smart Watch 】sports watch activity tracker uses sweat and dust resistant breathable silicone strap, our Fitness Tracker Smart Watch for Android iOS Phones supports 12 sports modes,walking,running,bicycle,swimming,badminton,basketball,football,rope skipping. This bluetooth calls smart watch for men women is lightweight and stylish, bringing more convenient and relaxing sports experience while also providing more protection.
- 【Your 24 Hour Personal Daily Health Monitor】Fitness watch for women men full touch screen IP67 waterproof bluetooth smartwatch for Android iOS Phones with heart rate blood pressure monitor multifunction Andriod smart watch with steps counter sleep monitor sports fitness watch, monitoring blood oxygen saturation allows you to understand your physical condition in real time to track fitness progress ,to know your health status in time.
- 【More Functions Bluetooth Call Smart Watch】This fitness activity smart watch full screen for iPhone and Android phones includes a bunch of new features including:The bluetooth smart watch can hang up the phone, receive and display WhatsAPP /Text /Facebook /Twitter /Messenger reminder.Support sedentary reminder, alarm clock, stopwatch, timer,weather information,music control, remote camera control compatible with Android 5.0 and above or iOS 9.0 and above smartphones.
Use status and is-active for checks
WP-CLI documents four subcommands for maintenance mode: activate, deactivate, is-active, and status.
| Subcommand | Purpose | Typical use |
|---|---|---|
wp maintenance-mode activate |
Enables WordPress core maintenance mode. | Start a planned maintenance window before updates or other work. |
wp maintenance-mode deactivate |
Disables WordPress core maintenance mode. | Restore normal public access after the work is complete. |
wp maintenance-mode status |
Displays the current maintenance state. | Inspect the site before activation, after deactivation, or during recovery. |
wp maintenance-mode is-active |
Checks whether maintenance mode is active. | Use as a focused check in an administrative procedure or an automation script. |
Use the full command with the correct path when the shell’s current directory is not the site root. For example:
wp --path=/path/to/wordpress maintenance-mode status
Replace the path with the actual installation directory on your server. Do not copy a path from another site or assume that the document root and the WordPress root are identical.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →How WordPress core decides whether maintenance mode is active
WordPress core does not require a separate dashboard switch for this temporary state. It checks for a file named .maintenance in the WordPress root directory. The core documentation describes the check as: “Checks for a file in the WordPress root directory named “.maintenance”.”
The root-level .maintenance file
The file is hidden on many operating systems because its name begins with a dot. It is placed directly in the WordPress root, alongside the installation’s core files, not in a theme directory, plugin directory, uploads directory, or a user’s home directory.
The file contains an $upgrading timestamp. That timestamp lets WordPress decide whether the file represents a current maintenance operation or a stale remnant of an older one.
The ten-minute rule
If the .maintenance file was created less than 10 minutes ago, WordPress treats maintenance mode as active. If the file is more than 10 minutes old, WordPress core’s wp_is_maintenance_mode() function returns false and the site is treated as not being in core maintenance mode.
Rank #3
- [Low Noise High Fidelity] New bee guitar cord with 22AWG oxygen-free-copper center conductors provides enhanced signal transfer, the PVC insulation material and the high-density stranded copper double shield provide noise rejection for quiet operation
- [Ideal for Choice] New bee 1/4 straight and right angle metal connectors, ensures a secure connection in any instrument, pedal, or amp jack. L shape great fro on stage guitar stands
- [Wide Compatible] Suitable for mixer, power amplifier, microphone, effector, decoder, equalizer, electoronic organ, electric guitar, electric bass and other electronic equipments. Widely used in the installation of smart home, karaoke speaker, professional stage audio, etc
- [Easy Disassemble] Making incidental repairs quick and easy! Very nice, flexible cable
- [Dont Hesite to Order] 24 hours customer services and professional technology team are standing by
The age rule explains why a screen can disappear on its own after an abandoned file has aged past the active window, but waiting is not the clearest recovery practice. If you know an update was interrupted, remove the stale file and verify the result rather than leaving an unexplained hidden file in the installation root.
Recover a site stuck on the maintenance screen
An interrupted WordPress core, plugin, or theme update can leave .maintenance behind in the WordPress root. If the normal WP-CLI command cannot run or the site remains on a maintenance screen, address that file directly.
1. Obtain authenticated server access
Use one of the access methods permitted by your host and account:
- SSH, if you have shell access to the server.
- Authenticated FTP, if file transfer access is provided.
- Your hosting control panel’s authenticated file manager.
Do not attempt to remove a file through an unauthenticated or improvised method. You need access to the actual server directory that contains the WordPress installation.
2. Locate the WordPress root
Find the directory in which WordPress is installed. The correct directory is the one containing the WordPress core files and the root-level .maintenance file. On a multi-site server, verify the site name or path before making any change.
3. Remove only the stale .maintenance file
Delete the file named exactly .maintenance from that WordPress root. Do not delete similarly named files, a directory, or files inside wp-content. A hidden-file setting in a file manager may need to be enabled before the file is visible.
4. Verify from the command line when possible
After removal, return to the installation directory and run:
Rank #4
- Digital Family Calendar: BSIMB digital calendar wall touch screen puts an end to your chaotic life. Designed for busy families, the digital calendar keeps you organised and in step with your family. Assign different colours and tasks to each family member to make family scheduling easier and more intuitive.
- Easy Setup and Auto-Sync: Plug in, connect to WLAN and auto-syn your electric calendar in minutes. Digital wall calendar compatible with Google calendar, iCloud calendar, Outlook calendar, Cozi calendar and Yahoo calendar. Add events directly on the device or through the ecalendar app. Electronic calendar stays current whether you're at work or traveling—no manual updates needed.
- All-In-One Home Assistant: Smart calendar builds habits and encourage independence with personalised chores. Display daily meal plan to reduce the daily ‘What's for dinner?’ stress. To-do lists keep track of everything you want. Turning chores into valuable achievements with stars and rewards, making life easier and more enjoyable.
- Manage Anytime Anywhere: BSIMB electronic calendar for family stay connected with the powerful ecalendar app. Access and manage your digital wall calendar anytime, anywhere with free features like stars & rewards, photo screensaver, chore charts, meals plans, to-do lists etc. Electronic planner paid features like Magic Import tailor advanced tools for users with special needs.
- Stay in Touch with Loved Ones: Share photos or videos from your phone to electronic wall calendar with app, instantly update your life moment, and keep in touch with your family, especially those who are far away; you can also surprise your smart calendar digital wall by sending him a wish card; it's also great for keeping tech-illiterate elders in touch with the youngsters.
wp maintenance-mode status
If WP-CLI is available, the status check confirms what WordPress sees after the file cleanup. Then open the public site in a separate browser session and check the front end.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →Scan for outdated or missing drivers - takes under a minuteDriver Scan →5. If the file is not present
If you cannot find .maintenance in the correct root, do not remove unrelated files to force the site online. Confirm that you are looking at the actual WordPress root, that hidden files are displayed, and that your account has permission to see server files. If WP-CLI is available, its status command provides another way to check the core state.
Choose the right control method
The two practical controls described here address different access situations. WP-CLI is a command interface for an explicit state change; direct file access is the recovery path when the file itself is the problem or commands are unavailable.
| Method | Access required | Control provided | Best fit |
|---|---|---|---|
| WP-CLI | Shell or remote command access to the WordPress installation. | Explicit activate, deactivate, status, and is-active operations. | Planned maintenance, repeatable administration, and scripted checks. |
| Direct file removal | Authenticated SSH, FTP, or hosting file-manager access to the server files. | Removes the root-level .maintenance file that controls the core check. |
Recovery after an interrupted update or when WP-CLI cannot run. |
Neither method is a replacement for the other. Use WP-CLI for a deliberate maintenance window when it is available; use authenticated file access to clean up a stale root file when the site is stuck or the command interface is inaccessible.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.A safe maintenance runbook
Following the same sequence reduces the chance of leaving the site in an unintended state.
Free tools Windows power users keep installed
One-click scans. No signup required.
Before starting
- Identify the exact WordPress installation path.
- Confirm that you have shell access or authenticated server-file access.
- Check the current state with
wp maintenance-mode statuswhen WP-CLI is available. - Decide whether the work requires core maintenance mode or only a separate presentation layer.
During the work
- Activate with
wp maintenance-mode activate. - Confirm the success message and test the public view in a separate browser session.
- Perform the planned update or maintenance task.
- If the process stops unexpectedly, check for the root-level
.maintenancefile before making other changes.
After the work
- Run
wp maintenance-mode deactivate. - Run
wp maintenance-mode statusto verify the state. - Load the site as a visitor, not only through an authenticated administrator session.
- If the site remains on the maintenance screen, use the recovery procedure and inspect the root-level file.
Troubleshoot common problems
WP-CLI cannot find the site
Make sure the shell is in the directory containing the WordPress installation, or add the correct --path value to each command. A path problem is different from a maintenance-mode problem: the command must first identify the intended installation before it can report or change its state.
The command appears to succeed but visitors still see maintenance mode
Run wp maintenance-mode status again and test from a separate browser session. If the status is not what you expect, repeat the command from the verified installation path. If the status indicates that maintenance mode is not active but the screen persists, inspect the server’s root-level .maintenance file and confirm that you are checking the same document root serving the public site.
Best Value
The site is stuck after an update
Use authenticated SSH, FTP, or the hosting file manager to locate and remove the stale .maintenance file in the WordPress root. Then run the status command if available and test the front end. The ten-minute rule may eventually make an old file inactive, but explicit cleanup identifies and removes the cause.
You are unsure which file to delete
Delete only a file named exactly .maintenance at the WordPress root. Do not remove files from a theme or plugin directory merely because their names contain the word “maintenance.” If the root cannot be established, stop and verify the installation path before deleting anything.
WP-CLI is unavailable
Use authenticated server-file access to inspect the root directory. The file mechanism is part of WordPress core, so direct access can be used for recovery even when a command-line workflow is not available. After cleanup, verify the public site and use any available administrative status check.
Core maintenance state versus a custom maintenance page
WordPress core’s maintenance mode is a temporary state derived from the root-level .maintenance file and its timestamp. A custom maintenance page or a plugin that changes the appearance of the maintenance response is a separate presentation layer.
That distinction matters when diagnosing a site that appears unavailable. First establish whether core considers maintenance mode active with WP-CLI or by inspecting the root file. Then evaluate any custom page or plugin configuration independently. Removing .maintenance addresses the core state; it does not automatically undo a separate presentation layer that may still be configured to display a maintenance page.
Commands at a glance
wp maintenance-mode status
wp maintenance-mode activate
wp maintenance-mode deactivate
wp maintenance-mode is-active
Run these commands from the WordPress installation directory, or add --path=/path/to/wordpress before maintenance-mode. The activation and deactivation commands change the core state; the two checking commands let you inspect it before, during, and after a maintenance window.
Final decision
For normal administration, use WP-CLI: check with status, enable with activate, and disable with deactivate. If an interrupted update leaves the site stuck, connect with authenticated server access, remove the root-level .maintenance file, and verify the result. Remember that WordPress core treats a file younger than 10 minutes as active and an older file as inactive, and keep core state separate from any custom maintenance-page presentation.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

