Do you want to use WordPress recovery mode to fix an error on your website?
The recovery mode feature was introduced in WordPress 5.2, and it allows you to easily to fix fatal errors on your site that can make WordPress’s backend or frontend inaccessible.
In this article, we will show you how to use recovery mode in WordPress.
What is WordPress Recovery Mode
If you’re encountering a WordPress error that’s preventing you from logging into your website, then WordPress will automatically shift into recovery mode.
Recovery mode allows you to access your WordPress admin dashboard by sending a link to your administration email. This email contains details about the error that’s preventing users from accessing their WordPress website.
You can use the link to access your admin dashboard and fix the issue.
For example, your WordPress site may show you a critical error and blocks you from logging into your dashboard.
This is when you can use the WordPress recovery mode feature to regain access. Let’s see how you can use the WordPress recovery mode.
Note: Keep in mind to always back up your WordPress site before attempting to enter recovery mode. If you cannot access your admin area, then check out our guide on how to create a WordPress database backup manually.
Method 1. Using Recovery Mode Through The Email Link
If a WordPress plugin or theme causes an error, then recovery mode can be used to fix it.
You might see a plain white screen when trying to access your account. Sometimes, a message is also shown on the screen.
If that is the case, immediately log in to your administrator email account. Keep in mind to check the inbox of the email address that you provided as the administrator email address to WordPress.
You will receive an email to your WordPress email address that will inform you about the specific error on your website. If WordPress can determine the cause of the outage, this email will have that information.
For example, if there is a file corrupted in your theme directory or a plugin incompatibility, WordPress may be able to tell.
The email will also give you a link to access your WordPress admin dashboard.
Simply click the provided link, and you will be taken to the WordPress admin area. Here, you will see a banner telling you that Recover Mode has been initalized.
You can then log in as normal.
Once in your admin panel, you can deactivate the theme or plugin that’s causing the issue.
Simply go to Plugins » All Plugins and then click the ‘Deactivate’ link under the right one.
If the email sent by WordPress did not specify the plugin or theme that’s causing the error, then you should deactivate all the plugins. After that, try logging into your account.
You can figure out the faulty plugin by then activating the plugins one by one. Once you find the faulty plugin that’s causing the issue, you can find an alternative plugin for it or get support from the plugin developers.
If for some reason your website is showing a plain white screen but you haven’t received any email from WordPress, then you can try method 2 to use recovery mode.
Method 2. Using Recovery Mode Without Email Link
You can use this method to access recovery mode without any email link. You can simply create a WordPress recovery mode link by following the link below to access recovery mode.
example.com/wp-login.php?action=entered_recovery_mode
All you have to do is replace example.com
with your own site’s domain name.
This URL will take you to your WordPress admin area where you’ll be asked to log in.
Here you will see an alert that you are logging into Recovery Mode.
Now you can fix any error on your site.
Keep in mind that if you use this method to manually access the Recovery Mode login page, WordPress won’t locate the plugin or theme that’s causing the error itself. You will need to do some work to figure that out on your own.
You can start by simply changing your theme or deactivating all your plugins. This should fix whatever error was occurring and you will be able to access your WordPress website.
From there, you can reactivate plugins one by one to find the issue, or you can even roll back your theme or WordPress version to an earlier one that wasn’t incompatible.
Bonus: Additional Recovery Mode Options
If you’re not clear about the error on your website that’s preventing you from logging in, then you can also try these two options in recovery mode to solve your problem:
- Download a site health plugin to diagnose issues
- Run a malware scan to be sure your site or server hasn’t been compromised
For example, you can install and activate the Health Check & Troubleshooting plugin. For more instructions, see our guide on how to install a plugin in WordPress.
Once you activate this plugin, it will perform a number of checks on your WordPress site and will detect common errors that may be causing the fluctuation.
Sometimes, malware on your website may be causing the error. You can use recovery mode to scan your website for malicious code and create a completely secure website. For help, you can check out our ultimate WordPress security guide.
You can also ask your WordPress hosting provider for support. If you’re using a top WordPress hosting company like Hostinger, Bluehost, WPEngine, and SiteGround, then their support team will be able to help you resolve the issue.
That’s it! We hoped you learned how to use recovery mode in WordPress. You may also want t check out our pick of the best WordPress SEO plugins and our tutorial on how to fix the critical error in WordPress.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
The post How to Use WordPress Recovery Mode (2 Ways) first appeared on WPBeginner.