Emergency Recovery Script: A Must-Have Tool in Difficult Situations


WordPress is a Content Management System (CMS) that allows us to create websites, and anyone can use it. Many people don’t think about the disadvantages of WordPress and aren’t ready for those situations that can befall them, right? One of the disadvantages is that WordPress is a frequent target of hacking. The reason why WordPress sites are frequent targets for hacking is that WordPress is the world’s most popular CMS.

In addition to all the protections for the site, what will you do in a situation if your theme or plugin crashes your website or some core WP file is infected by malware? Your screen is white, and you can’t access the site?

For those situations, you need an “emergency tool”. The best emergency tool is the Emergency Recovery Script.

In this article, you will have a chance to get to know the most powerful emergency tool.

What is ERS, and how does it work?

The Emergency Recovery Script (ERS) is a standalone, single-file, WordPress-independent PHP script created to recover a WordPress site in the most challenging situations. If you have a white screen of death on the whole site or you can’t log in to your website, ERS is your top solution to fix the site. You can also install ERS as a precautionary measure and have it ready to use at all times, or you can install it when needed.

ERS has a wide range of tools and can help you in a variety of situations!

In the list below are the most common situations in which ERS can be used. Check it out:

  • Deleting core files leads to your site breaking or a plugin/theme malfunctioning. You can reinstall core files or reset WordPress with ERS in just one click!
  • What if a new WP update killed the site, you installed a plugin, or you changed/updated a theme? No problem! ERS is here to help you. This PHP script has the ability to fix this issue as well.
  • You’ve added a plugin that is crashing your website. You don’t know which plugin causes this problem in the pile of plugins on the site? ERS knows! ERS will locate the plugin crashing the site.

Here are just a few situations in which ERS can help you. ERS has a wide range of applications and can help you in emergencies.

Tools provided to you by ERS

ERS comes with tools that are constantly updated. Find out which tools are included below!

WordPress Information

ERS gives you various information about the WP installation. These include the wp-config.php file location, the WP version, data access details, and website URLs. Reviewing this information is a great way to start repairing your website. It also helps ensure that ERS is connected to the right WP installation, which can be more difficult if you have multiple installations on the same hosting account.

Server Information

Like the previous tool, it provides useful information about the server and provides full access to the phpinfo() function, so you can get even more information about the PHP environment.

Core Files

A secure master copy of core WordPress files can be found at WordPress.org. ERS’s task is to check each file of WP core files.

If even the smallest part of a file has changed, this tool will report it. ERS will replace this modified file with the unmodified one from the WP repository. It should be noted that this tool does not check plugin and theme files, nor the downloads folder and all its files.

Reset WordPress

As the name of this tool says, it completely resets your WP installation. It does not delete any files; therefore, your themes, plugins, and files you uploaded will remain, but the database will be deleted and reset. Also, all user accounts are removed, so you will need to use the Administrator Account tool to create a new user for yourself.


If you took a snapshot before resetting your WordPress website, that’s great! This tool allows you to restore the state it was in when you took the snapshot. You also have an option to upload a snapshot if you have placed it somewhere remotely, off-site. Press the button “Restore,” and that is it!


Did a plugin crash your website? You can’t access WP Admin? Do you think you need to search using FTP and check which one causes the problem? No! There is the easiest way to solve this problem. This tool does everything with just one click of the Disable or Enable button. This way, you have regained access to the WP Admin part of the site.


Same story as with plugins. Instead of searching in FTP and checking what is causing a problem, simply enable or disable any theme. Works the same as in WP Admin.

Options – coming soon

This tool allows you to find and edit any WP option you need without using phpMyAdmin or any other SQL client.

User Privileges & Roles

You changed the site database table prefix and are no longer able to log in? Or you can sign in but are now a guest, not an admin? We have a solution for you! It is ERS! It restores default privileges and roles and matches them to the ones your account previously had. If the tool fails, use the next tool and create a new administrator account.

Administrator Account

If you have problems with your WP account, there is no need for FTP or phpMyAdmin! There is an ERS to help you create a new administrator account. One-click, and you’re done. It is important to note that the username and email address must not already be in use in your WP installation.

WordPress URLs

Changing your WordPress site address and home address can cause login issues. This usually happens when websites switch from HTTP to HTTPS without a valid SSL certificate. But, there is ERS to help you easily change both URLs and fix the site.

Delete or Reset .htaccess

You have to be careful when editing a .htaccess file because even the slightest error can result in a white screen of death, which is actually error 500.

Thanks to the ERS tool, you have the option to delete the .htaccess file or restore it to the default values for pretty permalinks.

Disable WordPress Maintenance Mode

WordPress automatically activates its maintenance mode whenever you upgrade themes, plugins, or the core. It usually works pretty well, but if things go wrong, there is ERS with which you can solve that problem.

Why is ERS so special?

This tool is enhanced with ease of installation as well as use. And of course, it is important to note that Emergency Recovery Script is free.

Oh, and one more thing.

WP Reset is a WordPress plugin that installs themes and plugins in bulk, resets the site, and takes snapshots of it. It gives you the ability to reset everything without having to do it all manually.

Take a snapshot of your website, which is actually a copy of the current version of the site. This will definitely help you if you want to make some changes to the site, and if there is a problem, you can revert to the previous version of the site.

WP Reset and ERS are the perfect combinations to make fixing your website easier. Fix & recover your website in seconds!


The appearance of an error is always possible. Therefore, install ERS on your website and make changes to your site without worries. ERS provides you with many tools that you can take advantage of in a variety of situations. ERS works much better with the WP Reset plugin. P.S. ERS and WP Reset are free.

I started my journey as a Photoshop & HTML designer, my hunger takes me to the next step for PHP, Java, angular, CMS, Python, etc. Till now, I have worked on many software, mobile, web development & design projects. I want to inspire others, that's the only reason I am here to share my experience & knowledge. Let's connect on LinkedIn.