A hacked website: what to do right away and how to weather it as a company
It’s Monday morning, and the owner of an e-shop selling dietary supplements opens an inbox full of messages from customers. Some write that a suspicious ad for counterfeit watches popped up while they were shopping. Others report that their browser showed them a warning straight away: “This website may harm your computer.” Weekend sales are zero.
On the surface, the website looks fine: the design is right, the products load, nobody has changed anything. The problem is hidden deeper: someone got in and added code that Google and browsers are now blocking across the board.
This exact situation hits dozens of company websites and e-shops in the Czech Republic every week, and few have a plan ready for it. The most common way in is an outdated plugin, a weak admin password or a forgotten test account that stayed open for years after someone last used it.
We’ll go through what to do in the first hour, whether the law requires you to report it to anyone, how to get your website back into Google, and how much such a fix will really cost you.
How can you tell a website has been hacked?
Whether a website has been hacked isn’t always as obvious as a browser warning. Attackers often choose a quieter route, because the longer they stay undetected, the longer they can exploit the website.
- Google shows a different title or description in the search results than the page actually has, typically with ads for medication, counterfeits or gambling.
- A new administrator account appears on the website that nobody on the team created.
- Traffic from Google drops sharply within a few days, without any change on your side.
- The website redirects some visitors elsewhere, often only on mobile or only from certain countries, so you may not notice anything at all on your office computer.
- Your hosting or CDN provider alerts you to unusually high server load or suspicious outgoing traffic.
There’s a simple rule: anything on this list is a reason to check things right away, not to wait and see whether the problem goes away on its own.
What to do in the first hour
What to do in the first hour after discovering your website has been hacked comes down to four steps: disconnect, delete nothing, back up for analysis and change your credentials. The order matters, because a hasty response can do more damage than the attack itself.
- Switch the website to maintenance mode or take it offline temporarily. This stops the malicious code from spreading to more visitors without losing the data needed for the fix.
- Don’t delete or reset anything. You will need the files, database and logs as evidence for forensic analysis and any report you may have to file.
- Make a copy of the hacked state, separate from the live website. Only on this copy should you then look for how the attacker got in.
- Change all passwords and access keys: admin, FTP, database, hosting and the API keys of connected services. The attacker may have gained access through exactly these routes, so an old password would simply let the attack happen again.
Only after these four steps does it make sense to call in a malware removal expert, whether that’s your current website administrator, your hosting provider or a specialized agency.
A quick check of exactly when the problem started can also help you get your bearings. Look at the list of recently modified files on the server and compare the dates with when someone first noticed the problem. Look for files changed in the last few days before it was reported; it’s usually a handful of specific files, not the whole website, and this trace is the fastest way to see which route the attacker took.
What you definitely shouldn’t do
What not to do is just as important as what to do. Three mistakes come up most often, and each of them lengthens the time before the website is back to normal.
- Don’t delete the whole website and start building it again from scratch. Without knowing the cause, the malicious code often comes back even in a new installation if the same security hole stays open.
- Don’t send new passwords by email or chat until you know the attacker has no access to the mailbox or the communication history.
- Don’t underestimate a small finding. A single suspicious ad or one unknown file is often just the visible tip of a larger breach.
- Don’t post details of the attack on social media until you have a clear picture of the extent of the damage. A premature public admission without the facts can do more damage to your reputation than the incident itself.
Are you legally required to report it to anyone?
You are legally required to report a breach of your website if customers’ personal data, such as names, email addresses, postal addresses or order history, was leaked or could have been leaked during the attack. Under the GDPR, the data controller must report the security breach to the Czech Office for Personal Data Protection (ÚOOÚ) within 72 hours of becoming aware of it, if there is a risk to the rights of the people affected.
If you miss the 72-hour deadline, the law doesn’t penalize it automatically, but it does require you to explain the delay (Article 33 of the GDPR). It’s better to report early with incomplete information and add details later than to wait for a perfect overview of the damage.
If no personal data was affected, for example when the attack was only a redirect to a fraudulent e-shop without access to the customer database, the reporting obligation doesn’t apply to you. In uncertain cases, it’s safer to contact the ÚOOÚ and let it make the assessment than to risk a fine for a late or missing report.
Fines for GDPR violations run from hundreds of thousands to millions of crowns (from thousands to hundreds of thousands of euros) and depend mainly on whether you ignored the obligation deliberately or were simply late for an excusable reason. A report filed correctly and on time, even if incomplete, serves as proof that you handled the problem responsibly, and in practice it is often decisive for how the authority ultimately assesses the whole matter.
What to tell customers
What to tell customers depends on whether the attack put their data at risk or only temporarily affected the look and availability of the website. In neither case is silence a safe choice: customers will notice the suspicious behavior anyway, whether from an ad, slow loading or a browser warning.
A short, factual message on your website and by email works better than apologetic silence: what happened, what you’re doing to fix it, and whether they should check their own passwords or payments. If payment details have leaked, inform customers without delay and advise them to contact their bank. Unpleasant as it may sound, silence damages trust more than an admitted mistake.
A proven structure for the message has three parts: what happened (in one sentence, without technical jargon), what you have already done to fix it, and what the customer should do now, for example change their password or check their bank statement. A message longer than five sentences starts to sound like an excuse rather than information to act on.
How a website gets back into Google
How a website gets back into Google is one of the most common questions once a hack has been dealt with, and also a topic most technical guides skip. Google usually marks a hacked website with a security warning right in the search results or in the browser, and traffic drops sharply as a result, much like with a penalty, which we wrote about in our article on the Google Spam Update from August 2026.
Getting back takes three steps:
- Check the Security & Manual Actions section in Search Console. Google describes there exactly what type of hack it detected and which pages are affected.
- Once the malicious code is removed, request a review. Google crawls the website again and removes the warning if it finds nothing harmful.
- Expect to wait. The review itself usually takes a few days to two weeks, and getting back to your original search rankings can take several more weeks, depending on how long the warning was up.
How fast you recover depends most on how quickly you file the request after discovering the hack, and whether the website has a verifiably clean history before the attack. That’s why it pays to have regular website backups set up in advance, not only when you need them.
Browser warnings and a drop in search rankings are technically two different things, even though they are related. Security warnings come from the Google Safe Browsing system, which any visitor can check for free in the Google Transparency Report tool by entering the website address. A drop in search rankings is handled separately by Google’s search quality team, so both issues need to be fixed separately, because removing the warning doesn’t automatically bring back lost rankings.
How much does it really cost?
The real cost can only be estimated as a range, because the price depends on the extent of the hack, the size of the website and whether you have a verifiably clean backup. The following figures are an approximate market range checked against the public price lists of web agencies and security specialists, not the rates of one specific company.
| Scope of the work | Approximate price | What it includes |
|---|---|---|
| Simple cleanup with a clean backup | CZK 3,000–8,000 (about €120–320) | Restoring from the last clean backup, checking and updating security |
| Malware removal without a backup | CZK 8,000–25,000 (about €320–1,000) | Manually scanning files and the database, removing malicious code, closing the security hole |
| Extensive breach with a data leak, or an e-shop | CZK 25,000–80,000 (about €1,000–3,200) and more | Forensic analysis, restoring the e-shop, help with reporting to the ÚOOÚ, SEO recovery after a penalty |
The final price is usually also affected by whether the website runs on a widespread content management system like WordPress, where fixes are faster thanks to known attack patterns, or on a less common custom solution, where the specialist first has to understand the website’s structure.
What’s more, none of these prices include follow-up protection, that is, the monitoring, regular backups and updates that prevent a similar attack in the future. According to the experience of website security agencies, companies that pay only for the fix after a first attack and don’t deal with security any further often end up in a similar situation again within one to two years.
If you have an agency do only a cleanup without ongoing care, expect a similar invoice to land on your desk again in a year or two. So when comparing offers, always look not only at the price of the one-off fix but also at whether it includes setting up monitoring and updates afterwards, because that’s the difference between a repair and real prevention.
Our practice: DIY or an agency?
Doing it yourself makes sense if you have someone technically skilled in the company and the breach is limited, for example a single redirect script on an otherwise clean website. An agency or security specialist pays off when you run an e-shop with customer data, when you’re not sure how far the damage goes, or when the clock is ticking because of the reporting obligation.
One simple question makes the decision easier: if you had to defend a mistake in the report or the fix in front of a customer, a bank or an authority, you’d better bring in an expert. The cost of a few hours of consultation is usually negligible compared with the cost of a botched fix that has to be done twice.
Our practice: for one client, a small e-shop selling garden equipment, we first went through the server logs after the attack and found that the attacker had exploited an outdated version of a plugin the client had installed themselves a year earlier and then forgot to update. The fix itself took a day, but we spent most of the time verifying that the attacker hadn’t also reached the order database, because that decided whether there was an obligation to report to the ÚOOÚ. There wasn’t, but without this check the client would have risked a fine for not reporting.
How to prevent it from happening again
How to prevent a similar situation next time comes down to three habits that stop most attacks before they ever become a problem.
- Regular website backups stored outside the server itself, ideally automated and with a history going back at least 30 days.
- A valid SSL certificate and ongoing updates of the content management system, plugins and themes, because most attacks target known holes in old versions.
- Quality web hosting with its own firewall and monitoring of suspicious traffic, not the cheapest plan with no protection at all.
- Two-factor authentication and a limited number of login attempts for the admin, ideally with access restricted to specific IP addresses if only a few people in the company use the content management system.
If you’re just moving your website to another provider or planning a bigger technical overhaul, it’s a good opportunity to review security from the ground up, as we describe in our article on website migration without losing rankings. And if you hire an agency or a developer to maintain your website, it pays to have responsibility for security and backups set out directly in the contract for website development or maintenance, not just agreed verbally.
Frequently asked questions about a hacked website
How do you recover SEO after a website has been hacked?
SEO recovery after a hack starts with cleaning out the malicious code and requesting a review in Google Search Console. Until Google crawls the website again and confirms it is clean, your search rankings will stay down, no matter how good your content is.
How can I tell if a website has been blacklisted by search engines because of a hack?
You’ll find out in Google Search Console in the Security & Manual Actions section, where Google describes the type and extent of the problem, or right in the browser if a red warning appears when you visit the website. The Google Transparency Report tool also offers a quick check: just enter the website address.
Do I have to report a website hack to the data protection authority?
You do if customers’ personal data was or could have been leaked in the attack and this poses a risk to the people affected, and you must do so within 72 hours of discovering it. If the attack didn’t affect personal data, the reporting obligation to the ÚOOÚ doesn’t apply to you. In uncertain cases, though, erring on the side of caution costs less than a fine for a missing report.
How much does professional malware removal from a website cost?
A simple cleanup with a clean backup costs roughly CZK 3,000 to 8,000 (about €120 to €320), while a more extensive job without a backup or with a data leak at an e-shop can climb to CZK 25,000 to 80,000 (about €1,000 to €3,200). At Apadore, we handle such work as part of our technical support, but the exact price always depends on the extent of the specific attack.
Should I take my hacked website offline right away?
If the website is spreading malicious code or fraudulent content, take it offline temporarily or switch on maintenance mode so the problem doesn’t spread to your visitors. But don’t delete anything that could help find the cause, and make a copy of the website and database for analysis before you intervene.
How long does it take for a website to get back into Google after a cleanup?
After you submit a review request in Google Search Console, Google usually responds within days, sometimes weeks. Rankings then come back gradually, so don’t expect your original traffic to return overnight.
How do you stop the website from being hacked again?
Keep WordPress, your theme and plugins up to date, use unique passwords with two-factor authentication, and delete unused plugins and test versions of the website. Store backups off the server the website runs on, so an attacker can’t delete them along with the website.
A hacked website is not the end of your business; it’s a technical problem with a clear procedure: disconnect, don’t delete, back up, check your legal obligations, inform customers and ask Google for a review. The sooner you start following it, the sooner you’ll be back to your original rankings and sales.
If you’re not sure how to tell how far the hack on your website goes, or you need help with the fix and the report, get in touch with us at Apadore. We deal with situations like this regularly and can advise you even in a crisis.
Sometimes an attack shows up as spam going out from your server, while emails from your website stop reaching customers. How to set up your domain so nobody can impersonate you and your emails get delivered is covered in our article Why emails from your website and e-shop end up in spam.
Website security today also covers third-party tools, such as chatbots, that process your customers’ data. We cover the new obligations that apply to them from August 2026 in our article on the AI Act and chatbots on websites.



