Privacy

WordPress Recovery Mode: regain access and verify the real repair

A recovery link can reopen an administrator’s route past a failing extension. Understand the private session, choose a bounded correction and retest the public site outside Recovery Mode.

Made by Pagember · Editorial policy

Editorial guidancePublished Updated Sources

The short answer

Use the emailed Recovery Mode link to reach the dashboard, then identify the failing plugin or theme. If no email arrives, rename the suspected plugin or theme folder over SFTP or the file manager, and read debug.log for the real error. Apply a reversible, authorized fix, leave Recovery Mode, and check the public site and the admin tasks that failed.

On this page7 sections

Getting into the WordPress dashboard through Recovery Mode is a way to investigate a failure. It is not proof that visitors can use the site again. Keep those two outcomes separate: first regain a supported administrative route, then repair or mitigate the failing component and check the ordinary site.

The official WordPress W identifies a conceptual rescue ring between a private recovery email, an extension paused for a session and a separate public-page retest.

When the site shows “There has been a critical error on this website”, WordPress usually sends a recovery email to the address in Settings → General → Administration Email Address. If that email arrives, use its link and continue below. If it does not, you can still get back in through the files:

  1. Connect with SFTP or open the host’s file manager and go to wp-content/plugins.
  2. Rename the folder of the plugin you updated or installed last, for example contact-form to contact-form.off. WordPress deactivates a plugin whose folder it cannot find. If you do not know which plugin, rename the whole plugins folder, sign in, then rename it back and reactivate plugins one at a time.
  3. If the error started after a theme change, rename the active theme’s folder in wp-content/themes; WordPress falls back to another installed theme.
  4. To see the actual error, add define( 'WP_DEBUG', true );, define( 'WP_DEBUG_LOG', true ); and define( 'WP_DEBUG_DISPLAY', false ); to wp-config.php, reload the page and read wp-content/debug.log. Remove the lines when you are done.

To send future recovery emails somewhere you check, add define( 'RECOVERY_MODE_EMAIL', 'you@example.com' ); to wp-config.php. The SFTP guide explains how to connect to the right folder, and a tested backup is the fallback if a rename does not help. Getting into the dashboard is only the first step; the sections below separate it from a site that works for visitors.

Understand which access Recovery Mode changes

WordPress’s Recovery Mode documentation describes a built-in route that can help after some fatal PHP errors. The administrator receives an email with error details and a recovery link, then logs in. The dashboard can identify a problematic plugin or theme while it is paused for that recovery session.

Start by writing down the affected action: loading a public page, opening the dashboard, editing a particular item or another task. Record when it last worked and which change immediately preceded the failure. A time relationship is a useful lead, but it is not enough to blame an extension without reviewing the reported error.

If the public pages fail while the dashboard works, preserve that distinction. If both fail, record both. This gives the person responsible for the repair a smaller and more useful question than “the entire website is broken.”

Use the expected administrator mailbox and confirm that the email concerns your actual website. Inspect the destination through the mail application’s normal link information before following an unexpected message. Do not post the recovery URL in a ticket visible to the public, a screenshot, an article or a group chat.

The WordPress core design note explains that the recovery link establishes a client cookie, after which login is still required. Pausing applies to that client; fully deactivating an extension is a separate change affecting the site. A recovery pause does not automatically repair the experience of other visitors.

If someone else is repairing the site, arrange authorized access through the site’s normal administration process. Do not forward an emergency link indiscriminately or weaken login safeguards to make access easier. Keep the recovery browser under the control of the authorized operator and close out the session when the work is finished.

Choose an action from the error and the business impact

ObservationBounded next actionWhat to verify afterward
An extension is paused in the recovery dashboardRecord the error and identify the extension and recent changeThe proposed correction actually addresses the reported failure
Deactivation is the chosen temporary mitigationReview the extension’s responsibilities before an authorized global changeThe public site works and dependent features have a known temporary state
A supported fixed version is availableValidate the source, compatibility and rollback route before applying itThe original action works with the corrected extension active
The recovery route is unavailable or failsUse established host or developer support with sanitized error detailsAccess is restored through a supported route without exposing private data

The failing extension might support a catalog search or a booking form. Temporarily removing that capability has a different impact from pausing a decorative feature. Decide whether an explicit temporary limitation is acceptable and who will communicate it. Do not click every recovery control simply to clear the notice.

If several components appear in the failure path, use the safe plugin-conflict workflow to narrow the cause. A component named in an error location is an investigation starting point, not automatic proof that its maintainer caused the underlying incompatibility.

Preserve current work before a correction or rollback

Establish what changed since the last recoverable copy. The site may have received new entries or form submissions after the backup. Restoring everything to yesterday can discard legitimate work even when it removes the failing update. Choose the smallest supported correction that addresses the demonstrated fault.

Our WordPress backup and restore guide helps define what can be recovered. Before an extension replacement or rollback, confirm that the operator has the necessary files, data and a tested recovery route for that operation. An emergency is not a reason to download an unverified replacement ZIP.

Use the WordPress update test workflow when a separate environment can reproduce the fault. Match the affected task and relevant versions there. A successful homepage load in that environment does not substitute for testing the catalog search that originally failed.

Handle missing or expired recovery access without guessing

Check that the expected administrator mailbox is accessible and review its spam folder. If a recovery message is missing, do not assume that no fatal error exists or that repeated page reloads will deliver a new link. Use the host’s established support route or the site’s authorized maintainer to investigate the failure and mail path.

The current WP_Recovery_Mode reference includes cookie handling, expired-key cleanup and a filterable link lifetime. A guide cannot promise one fixed lifetime for every installation. If a link no longer works, obtain current supported recovery assistance rather than editing its private parameters or copying another site’s link.

Send support the affected route, approximate time, relevant versions and sanitized error text. Remove private filesystem details or account information when they are not needed. Never include a password, recovery URL or copied browser cookie in a public report. If broader server access is necessary, have the authorized administrator coordinate it through the normal secure channel.

Leave Recovery Mode and verify the ordinary workflows

Once the authorized correction or temporary mitigation is applied, use Exit Recovery Mode and test the task again in the ordinary site. Also open the affected public route in a separate signed-out browser context. This prevents the recovery client’s special state from becoming the only evidence of success.

Verify a public page, the feature that broke and the administrative action that previously failed. If an extension was globally deactivated, confirm which functionality is intentionally unavailable and who owns its restoration. If a replacement was installed, check that the supported version is active and the original error no longer recurs during the same task.

Record the cause established by the investigation, the exact change, the verification results and any temporary limitation. An acceptable handoff says what works outside Recovery Mode and what remains restricted. A usable emergency dashboard is valuable progress; a normal public and administrative journey is the evidence that closes the repair.