Unfortunately, WordPress is prone to being hacked and attacked with different malware. WordPress sites are a regular target since WordPress is the most popular website builder on the planet. It is responsible for approximately 31% of all websites, which translates to hundreds of millions of web pages all over the world. Because of its enormous popularity, hackers may easily locate websites that are less secure and exploit them.

When your WordPress site gets hacked, you risk losing your search engine rankings, exposing your users to malware, having your reputation damaged by redirection to bad websites, and, in the worst-case scenario, losing all of your site's data.

It is important to state that you should not be scared when this happens because we got the perfect solution for you, and you do not even have to be a professional.

How to be prepared for the worst?

To guarantee that your website information is kept safe on their servers, all excellent hosting companies will provide protection. Besides having antiviruses, backups, and a good hosting provider, there are tools that are a must-have when it comes to saving your website. One of them is Emergency Recovery Script. This tool will definitely save you when your site has been compromised. Having a large variety of tools, it's a must-have tool to secure your website.

What is ERS, and how can it help?

The Emergency Recovery Script (ERS) is a WordPress-independent PHP script that may be used to recover a WordPress site under the most challenging of conditions. For example, if you are unable to access the admin panel, if core files have been broken, when you get hacked, you did something wrong when you tried to reset WP, installing or updating a plugin made your website non-functional, when you get the white screen of death, and so on. With this tool, you can save all your files and make sure that nothing has been changed or lost.

Tools provided to you by ERS

Here is the list of all the tools provided by Emergency Recovery Script:

WordPress Information

Using this tool, you may learn about the WordPress version, the URLs of the site, database access credentials, and the location of the wp-config.php file. This tool also ensures that ERS is linked to the correct WP installation.

Server Information

If you're not technical, we'll attempt to explain in layman's terms. This tool, like the first, offers information about the server and complete access to the phpinfo() function. Because the phpinfo() function contains EGPCS (Environment, GET, POST, Cookie, Server) data, this can be highly useful.

Core Files 

This tool checks each and every WP core file and compares it to the secure master copy on wordpress.org. It reports on even the smallest changes. It will report even if only one byte in a file has been changed. When a changed core file is detected, it is simple to replace it with an unmodified, original version from the WP repository, which ERS quickly downloads.

Reset WordPress

This tool has the ability to totally reset your WordPress installation. It will not remove any files, but it will delete the whole database and reset its settings. It will also delete all user accounts.


When it comes to repairing your installation, this tool can do wonders. If you've taken a database snapshot of your site using WP Reset, this tool will display it and recommend that you restore it, even if it's kept off-site. This is useful if your site has been harmed by a faulty upgrade.


As previously stated, one of the most prevalent reasons for WordPress problems is faulty plugin upgrades. When this happens, you'll have to use FTP to disable a plugin because you won't be able to access the admin panel. If you don't already know how to use it, you'll probably spend some time watching tutorials and then playing around before you eventually get it done.


The same applies to this tool as it does to the Plugins tool; simply locate the problematic theme and disable it with a single click of a button.

User Privileges & Roles

There are several reasons why you may be unable to enter the admin panel or why you may be logged in as a guest. This might be due to faulty core files, an issue with .htaccess, or something else. This tool restores user privileges and roles and compares them to the ones your account had previously.

Administrator Account

If things have gone wrong and the previous tool was unable to assist you, turn to this one instead. Whatever happens to your WordPress account, this tool may assist you in resolving it by generating a new administrator account. Create a username, a password, and input an email address, and you're ready to go. The only thing you must avoid is using an already existing username and email address.

WordPress URLs

You're attempting to change from HTTP to HTTPS without a valid SSL certificate, an error occurs, and you're unable to log in. This tool will help you to resolve the issue by changing the site and home addresses.

Delete/Reset .htaccess

Working with .htaccess may be risky since even the smallest error might result in the white screen of death. You may use this tool to entirely remove the .htaccess file or to restore it to its default values.

Disable WordPress Maintenance Mode

When you upgrade your themes, plugins, or the WP core, WordPress enters maintenance mode. If all goes well, the upgrade may just take a few seconds. However, if an issue arises during the procedure, you get stuck in maintenance mode. Then, you may utilize this tool to resolve it.

Why is ERS better than most tools?

With everything mentioned, a large bonus is that the Emergency Recovery Script is completely free and easy to use. But, if you want to use all of the tools and their functionalities, you should install WP Reset.

It is also advised that you install WP Reset so that the script can assist you in virtually any circumstance. For example, the script can restore a snapshot in just a few seconds if the snapshot was previously produced using the WP Reset plugin.


The possibility of a mistake happening exists at all times. That is why it is critical to be prepared in advance if something goes wrong. ERS was created to eliminate any mistakes that may arise. It provides a wide range of tools that may be used in a variety of scenarios.

Because it is free, everyone who has a WordPress site should have this tool on hand in case of a problem. The combination of Emergency Recovery Script and WP Reset will ensure that your site runs smoothly.