Website Hacked? What to Do in the First Hour
If your website is hacked, do not delete anything in the first hour. Keep the evidence, stop the damage to visitors, contact your host and change passwords from a device you know is clean. Cleanup and restoring a backup come only once you know how the attacker got in.
The first reaction is almost always the same: delete the suspicious files and restore yesterday's backup. It feels like a fix, but it erases the only trace of how the attacker got in. If the hole stays open, the same attacker comes back, often the very next night.
A hacked website is more than an embarrassment in front of customers. It can redirect visitors to fake shops, send spam from your server or steal data from forms. Google may then show a warning next to your result saying the site may be hacked, and your host may suspend the account.
Below is the order of steps for the first hour, minute by minute, followed by what to do in the days after. You do not need to be a developer to handle the first hour. You only need to know where your hosting and admin panel login details are.
IT Expert is a team from Belgrade that builds and maintains websites. We monitor the sites we maintain every day and apply patches as soon as they are released, because an outdated plugin or system is one of the most common ways in.





