How To Fix A Hacked WordPress Site Even If You Aren’t A WordPress Pro

While WordPress began as a blogging platform, it has now expanded into a formidable website builder and content management system (CMS).

The most helpful thing about WordPress is how simple it is to use and how adaptable it is to different sorts of websites. That is the primary reason for WordPress’s enormous popularity. WordPress powers over 33% of all websites on the internet, according to a recent poll.

How To Fix A Hacked WordPress Site

What is also nice about it is the fact that it is beginner-friendly. So, if you do not have any programming or technical knowledge, the user-friendly interface will definitely be of use.

Unfortunately, even your WordPress website can be hacked; that’s where users are confronted with something that they perhaps cannot fix since they do not have any technical knowledge.

Just for those reasons, there are tools that will help you bypass a hack and fix your website like a pro in a few steps.

Emergency Recovery Script

The Emergency Recovery Script (ERS) is a single-file PHP script that does not require WordPress to function. ERS can assist you in resolving some of your WordPress site’s most serious issues.

Some situations Emergency Recovery Script is useful for.

  1. If you’ve ever done tests, you know that sifting through all of the options to discover what works and what doesn’t on a test or staging site can rapidly become unpleasant. Because there are instances when you get stuck and can’t return to a functional state from the dashboard, having a tool that can restore things without requiring you to enter the dashboard is really useful.
  2. The scary white screen of death is nothing compared to ERS’s might. Normally, if you come across it, you’ll have to put in hours and hours of tedious work just to gain access to your site. In a matter of minutes, ERS resolves the problem, allowing you to login remotely, restore all essential files, remove those that shouldn’t be there, and create new user accounts.
  3. It’s possible that your site goes live, meaning that you and your visitors are able to view it from the frontend, but you aren’t able to access it as the administrator from the backend. You may remove all current users and create new ones using ERS. You’ll have access to all you need in a matter of seconds.
  4. Maybe you installed many plugins at once, and all of a sudden, your website is slow, or it completely broke, but you have no clue which plugin caused the issue. In this case, ERS will help you determine specifically which plugin is breaking your site.

Here are some of the many tools that ERS offers.

WordPress Information

This is similar to your overview page in that ERS gathers information about your WordPress installation, such as the WordPress version and the location of wp-config.php, among other things. The information given will help validate that ERS is correctly connected to your site.

Server Information

Server information, like generic WordPress information, will offer you information about the server, such as its PHP and MySQL versions and access to the phpinfo() function.

Knowing this information might help you avoid problems caused by incompatible or conflicting software that you might want to utilize on your site.

Core Files

You’ll be able to see all the issues related to WP core files using this tool. If you’ve mistakenly removed any core files and now your site isn’t working, simply go into your ERS account, scroll down, and restore all of the missing core files.

Reset WordPress

Reset WordPress is a powerful tool; it fully resets your WordPress installation, so use it with caution.

Fortunately, the tool does not erase any files, themes, or plugins; nonetheless, your database will be cleaned up, and the default settings will be restored. However, you must exercise caution since this tool will destroy any user accounts you may have.


When it comes to repairing your installation, this tool might be really useful. This tool will show you whether you’ve taken a database snapshot of your site and recommend that you upload it, even if it’s stored off-site. This is useful if your site has been harmed by a faulty update.


If you have had to deal with FTP, then you know what a pain it is to create a new folder, give it a new name, or even remove it in order to stop a dreadful plugin.

You may perform all of this with ERS instead of using FTP, and you’ll be able to safely activate or deactivate any plugin you choose before returning to the admin panel.


The same rules apply to this tool as they did to the previous one. Avoid having to deal with FTP to make your job easier. With ERS, it’s simple to activate or deactivate any theme at any moment.

User Privileges and Roles

If you’re having trouble logging in, this tool will help you restore your account’s default roles and privileges, ensuring that they match the ones your account had previously.

Administrator Account

This is the most significant weapon in the ERS arsenal, as it is a genuine problem solver. If you’re having problems with your WordPress site, this tool can help. It doesn’t get much easier than this: create a new admin account to solve all of your troubles.

Fill in the new user information, such as a new username, password, and email address, and you’ve got yourself a fresh new admin account.

WordPress URLs

Sites will occasionally transition from HTTP to HTTPS, which can create issues across the board, most notably with logins, if the transfer is performed without a valid SSL certificate. If the need arises, you’ll be able to restore the URLs to their original state, resolving the troubles your site has encountered.

Delete/Reset .htaccess

Working with .htaccess is risky since even the tiniest error can result in the white screen of death. You may use this tool to either entirely remove or restore the .htaccess file to its default values.

Disable WordPress Maintenance Mode

WordPress automatically starts its maintenance mode when you make modifications to your site. Most of the time, it turns off immediately once the adjustments are performed, but it is possible to get trapped in maintenance mode. This tool will assist you in resolving the issue.


Overall, the Emergency Recovery Script is a terrific and strong tool. It will help you resolve many problems in a really simple and fast way.

Anyone with a WordPress site should use ERS since it is free and helps you regain control of your site in some dangerous scenarios. It’ll come in handy if something bad happens. Not to mention, WP Reset will provide you with more ERS options/tools as well as increased security.

Leave a Reply

Your email address will not be published. Required fields are marked *