On this page
What this issue is
Since WordPress 5.2, a fatal PHP error caused by a plugin or theme triggers recovery mode. WordPress shows visitors a message such as "The site is experiencing technical difficulties" and emails a special login link to the site's admin address. That link lets an administrator log in, pause the broken plugin or theme and get the site back.
Why it costs you leads or sales
The wrong address does not break your site. It makes a break last longer. If a plugin update crashes a page that holds your lead form or checkout, the recovery link is the fastest way in. Without it, you need FTP, a hosting file manager or your host's support to disable the plugin by hand.
Every hour spent finding the right person is an hour of lost form fills or orders on the affected pages. The impact is low on its own, but it multiplies the cost of any other crash.
09:00
A plugin update causes a fatal error on the checkout page.
09:01
WordPress emails the recovery link to a former developer's address.
09:01 to 13:00
Nobody on the team sees the email. Orders on that page fail.
13:00
Someone notices, contacts the host and the plugin is disabled by file access.
13:20
Checkout works again.
How to check if your site has it
- Go to Settings > General and read the Administration Email Address. Is it a mailbox someone actively reads?
- Search wp-config.php for RECOVERY_MODE_EMAIL. If it is set, that address overrides the admin email.
- Ask your developer or agency whether a plugin or code snippet changes the recovery address.
- Check the address is not a staging, test or old agency email.
- Send a test message from that mailbox's provider to confirm it is still active and not full.
- Check that your site can send email at all (an SMTP plugin or host mail setup), otherwise the recovery email will never arrive.
How to fix it
Open General settings
In the dashboard go to Settings > General.
Update the admin email
Enter the right address in Administration Email Address and save. WordPress sends a confirmation email to the new address; click the link in it to finish the change.
Check the users list
Under Users, make sure at least one administrator uses an address that is monitored.
Set a dedicated recovery address
Add the RECOVERY_MODE_EMAIL constant to wp-config.php above the line that says 'That's all, stop editing'. This overrides the admin email for recovery messages only.
Or use a filter
In a small plugin or your child theme's functions.php, use the recovery_mode_email filter to change the recipient. Avoid theme files if you may switch themes, because a broken theme could stop the code from loading.
define( 'RECOVERY_MODE_EMAIL', 'alerts@example.com' );add_filter( 'recovery_mode_email', function ( $email_data ) {
$email_data['to'] = 'alerts@example.com';
return $email_data;
} );How to confirm it's fixed
Confirm the settingWordPress
Reload Settings > General and check the new address shows with no pending-change notice.
Test mail deliveryWordPress
Send a test email from WordPress with an SMTP or mail-logging plugin and confirm it reaches the inbox, not spam.
Test on staging
On a staging copy, deactivate nothing live: add a deliberate fatal error in a test plugin there and check the recovery email arrives at the right address. Never do this on the live site.
Tell the team
Write down who owns that inbox and what to do when the link arrives. The link expires after a limited time, so someone must act on it.
How to prevent it happening again
- Use a shared role mailbox for the admin and recovery address.
- Review the admin email after every migration, handover or staff change.
- Add the address check to your site launch and offboarding checklists.
- Keep a documented backup access route: SFTP or file manager credentials stored safely.
- Set up reliable outgoing mail (SMTP) so system emails arrive.
- Use staging to test updates before they reach the live site.
How FunnelGuard handles this
This issue is outside what FunnelGuard checks. FunnelGuard runs a robot visitor through your customer journeys and checks the steps, tracking hits and test leads. It cannot see which address WordPress uses for its internal recovery emails or read your settings.
The kind of tool that fits is a WordPress site-management or configuration review, such as a maintenance dashboard or a manual admin audit, plus a mail-logging or SMTP plugin to confirm system emails are delivered. The free FunnelGuard audit is read-only and does not cover this setting either.
Summary of the options
| Method | Where | Best for |
|---|---|---|
| Administration Email Address | Settings > General | Most sites; also receives other system emails |
| RECOVERY_MODE_EMAIL constant | wp-config.php | A separate address just for recovery |
| recovery_mode_email filter | Must-use plugin or custom code | Developers who need logic or several recipients |
Questions people ask
Why did WordPress send the recovery mode email to the wrong address?
By default WordPress sends it to the Administration Email Address in Settings > General. If that address is old, belongs to a former developer or was copied from a migration, the link goes there. A RECOVERY_MODE_EMAIL constant in wp-config.php can also override it.
How do I change the WordPress recovery mode email address?
Change the Administration Email Address in Settings > General and confirm the new address through the email WordPress sends. Or add define( 'RECOVERY_MODE_EMAIL', 'you@example.com' ); to wp-config.php to set a separate recovery address.
I did not get the recovery mode email. What can I do?
Check spam, then check the admin address in Settings > General and whether your site can send email at all. If you cannot get the link, disable the faulty plugin by renaming its folder in wp-content/plugins over SFTP or your host's file manager.
Does the WordPress recovery mode link expire?
Yes. The link is valid for a limited time and is tied to the session, so act quickly when it arrives. If it has expired, trigger a new one by reloading the broken page or log in using file access.
Can I send the recovery mode email to more than one person?
The constant takes one address. To notify several people, point it to a shared mailbox or group alias, or use the recovery_mode_email filter in a must-use plugin to change the recipient.
Does changing the admin email affect anything else?
Yes. The admin address also receives other site notices, such as update and new user messages. Use a shared mailbox you trust, or use RECOVERY_MODE_EMAIL if you only want to change recovery messages.
Can FunnelGuard tell me if my recovery mode email is wrong?
No. This is outside what FunnelGuard checks. A WordPress configuration audit or a mail-logging tool is the right fit for this.
Related issues
- OPS-248Admin email unverified/old in settingsFix guide
- OPS-241Plugin conflict causing white screenFix guide
- OPS-243Pending updates piling up (security debt)Fix guide
- OPS-245wp-cron not running (scheduled posts, emails)Fix guide
- OPS-234Plugin auto-update breaks contact formFix guide
- OPS-242WordPress core update breaking themeFix guide