October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk3 min

How to Put Your WordPress Site in Read-Only Mode for Maintenance

WordPress maintenance mode shows visitors a temporary response, but it is not a universal write lock. Here’s how to enable it and plan a real site-specific freeze.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

WordPress’s built-in maintenance mode shows visitors a maintenance response during an upgrade window; it is not documented as a switch that blocks every form, checkout, API, scheduled task, or other route that can save data. Use it for a visitor notice. If you need to prevent public changes from being saved, inventory the site’s write paths, block them with controls that cover those paths, and test the result before maintenance starts.

Choose between a maintenance notice and a genuine write freeze

For routine core, plugin, or theme updates, the built-in maintenance response may be enough to tell visitors the site is temporarily unavailable. It does not, by itself, establish that every application route is unable to write data. A site that must not accept changes needs a separate, site-specific write-freeze plan.

As an Amazon Associate I earn from qualifying purchases.

WordPress core uses a .maintenance file in the installation root. Its $upgrading timestamp determines whether core considers maintenance mode active: the timestamp must be less than ten minutes old. The upgrader creates or deletes the file as part of its maintenance method. This time-limited mechanism is not a persistent read-only policy. WordPress: wp_maintenance()

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

When active, the standard response uses HTTP 503 and a Retry-After: 600 header. WordPress can use a wp-content/maintenance.php drop-in for a custom response. Those details describe what visitors receive; they do not demonstrate that every route or integration is blocked. WordPress: Maintenance mode

#1 Best Overall
Vehicle Maintenance Log Book, 110 Car Maintenance & Expense Tracker Record Sheets Plus 36 Service Due Stickers, Car Repair & Service Record Spiral Binding Logbook (5.5” x 7.1”)
  • 110 Sheets Log Book: This vehicle maintenance log book includes 110 record sheets to track repairs, services, fuel costs, and other vehicle-related expenses. It also comes with 36 convenient “Service Due” stickers to help remind you of upcoming maintenance schedules. Everything you need to keep your car records organized in one place.
  • Detailed Information: Each page is carefully structured with dedicated sections for date, mileage, service description, parts replaced, vehicle information, cost, and additional notes. The clear and organized format allows you to maintain accurate records, monitor repair history, and better manage long-term vehicle performance and expenses.
  • Enough Writing Space: The record sheets provide ample space for clear and thorough entries. Whether you’re documenting routine oil changes or major repairs, there’s plenty of room to write detailed information without feeling cramped.
  • Easy to Use: The spiral binding allows the notebook to lay flat for comfortable writing, making entries quick and convenient. The included 36 “Service Due” stickers can be placed inside the book or on visible surfaces like your windshield or dashboard, helping you keep important maintenance reminders in sight.
  • Proper Size: This compact logbook measures 5.5” x 7.1”, which fits easily in your glove compartment, center console, backpack, or desk drawer. Its portable size ensures you can access and update your vehicle records anytime, whether at home, in the garage, or at the service center.

Enable and verify the built-in maintenance response

Take a restorable backup before making changes. If server access or permissions are controlled by your hosting provider, confirm the available controls and recovery arrangements with the host. WordPress: Changing File Permissions

With WP-CLI available, run the following commands in the context of the relevant WordPress installation:

Rank #2
Sale
LKTHSEEK Equipment Maintenance Log Book 8.5 x 11 Inch 110 Pages Maintenance Record Notebook Tracking Repairs and Service Spiral Bound For Equipment Inspection and Maintenance
  • All In One Equipment Maintenance Log Book With Detailed Fields:This equipment maintenance log book is designed for complete tracking of machinery and equipment performance Featuring pre-printed sections for Equipment Name Manufacturer Name Model Number Serial Number Purchase Date Item Location and Additional Information this repair log book ensures accurate and consistent service records
  • Includes Maintenance Schedule Fields for Time and Task Recording:Each page includes dedicated spaces for Date and Time Maintenance Task or Remarks Performed By and Cost helping you record maintenance frequency track service intervals and monitor expenses Ideal for preventive maintenance logs and repair history documentation
  • Large Format Repair Log Book With Continuation Pages:Sized at 8.5 x 11 inches this equipment service record notebook provides generous space for writing and includes 110 Pages with continuation pages to extend entries when needed Ensures that even complex service reports are kept complete and organized
  • Durable Spiral Bound Construction for Long Term Use:Built with a 300gsm laminated cover and strong spiral binding this maintenance log notebook lies flat for easy writing and endures frequent handling in demanding environments from factory floors to fieldwork sites
  • Ideal for Industrial Commercial and Personal Equipment Tracking:Whether you’re managing heavy machinery in construction agricultural tools in farming or facility systems in schools or warehouses this maintenance record book helps technicians engineers and facility managers maintain consistent and accessible logs
  1. wp maintenance-mode status — check whether maintenance mode is currently active.
  2. wp maintenance-mode activate — enable the visitor-facing maintenance response.
  3. Perform the planned work, then check the visitor response and confirm the team has the administrative access it needs.
  4. wp maintenance-mode deactivate — restore normal service.
  5. wp maintenance-mode status — confirm the mode is off, then review the site as a visitor.

WP-CLI documents these three operations. Its global --path=<path> parameter can target an installation directory; in multisite, --url=<url> selects the target site. WP-CLI: maintenance-mode

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The commands report maintenance-mode status, not whether every application write path is blocked. If your goal is a true freeze, test the relevant public routes and integrations with a safe test plan rather than treating a maintenance page as proof.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Plan a true read-only window around the site’s write paths

Before promising that nothing can be saved, list the ways this particular site accepts or processes changes. Depending on its plugins and connected services, that may include:

  • Account and profile updates
  • Comments and public forms
  • Ecommerce orders and bookings
  • API integrations and imports
  • Scheduled tasks that process or create data

The right way to block those writes depends on the application and hosting setup; the documented core maintenance mechanism does not provide a universal control for them. For a hard guarantee, coordinate with the application and hosting operators, use a blocking layer that covers the actual paths, and verify the restriction with safe test submissions before reopening. Where server-level permissions or configuration are managed by the host, ask the host to help implement and reverse the change.

Use a branded maintenance page when the visitor experience matters

For block themes, a WordPress Developer Blog article published July 13, 2026 describes adding a theme hook and creating a Maintenance template in the Site Editor. Its example lets logged-in users bypass the template and see the normal site while visitors see the maintenance page. It also demonstrates a Retry-After: 3600 header and cache-control behavior. These are choices in that example, not proof of a write lock or universal defaults. WordPress Developer Blog: Creating a Custom Maintenance Page for Block Themes

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Clear a stuck scheduled-maintenance notice after an upgrade

If an upgrade has failed and the standard scheduled-maintenance message remains, WordPress’s troubleshooting guidance says to delete the .maintenance file from the site root. First confirm that no upgrade is still in progress; removing the file while work is ongoing can interfere with it. WordPress: FAQ Troubleshooting

Once it is safe to remove, delete the file and check the site again. This clears a lingering maintenance response; it does not create or remove a separate application-level write freeze.

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.