Blog — Security

Hacked website: what to do right now (and what not to do).

11 June 2026 · Reading: 6 min

Redirects to strange sites, spam pages in Google results, red browser warnings, emails landing in spam: if this sounds familiar, your site has very likely been compromised. Don’t panic: here’s the right sequence.

Sicurezza informatica e siti web
In this article
  1. How to tell if you’ve really been hacked
  2. What to do right now
  3. What NOT to do
  4. After the clean-up: never again

How to tell if you’ve really been hacked

The most common signs we see every week on the sites we clean up:

  • The site redirects to unknown pages, especially from smartphones or when clicking from Google results;
  • searching your domain on Google brings up pages in other languages or about products you don’t sell;
  • the browser shows the red “deceptive site” or “compromised site” warning;
  • company emails land in spam or are rejected;
  • your host flags malware or mass email sending from your space.
Sicurezza informatica e siti web
Hacked website: what to do and what to avoid
SituationDo thisDo not do this
As soon as you noticeChange hosting, FTP, database and admin passwords — from a clean deviceDo not delete suspicious files: they are clues to the point of entry
The infected filesWrite everything down: when it happened, what you saw, what you touchedDo not delete blindly: you would almost certainly leave a back door open
The backupCheck it predates the intrusion, and that the hole is closedDo not just restore: if the backup is later, you restore the malware too
Security pluginsHave the site analysed by someone who can find active back doorsDo not install three at random: they do not remove what is already inside
The problem itselfDeal with it now: Google flags compromised sites and traffic collapsesDo not ignore it hoping it passes: it gets worse, and each day costs more
After the clean-upRegular updates, firewall, off-server backups, monitoringDo not assume it is over: without prevention you get hit again within days
In the vast majority of cases you were not targeted personally: bots scour the web looking for outdated software and get in on their own, by the thousand.

What to do right now

  1. Don’t delete anything. Suspicious files and logs are valuable clues for finding the entry point: deleting them blindly almost always leaves a back door open.
  2. Change the passwords for hosting, FTP, database and admin — from a clean device.
  3. Note everything: when you noticed the symptoms, what you changed recently, which plugins you installed.
  4. Have the site analysed by professionals. A serious clean-up covers files and database: malware, rogue admin users and backdoors hidden in the most unlikely places.

Site breached or under attack?

For emergencies we act the same day, with malware removal and recovery. Write to us now.

Get help now

What NOT to do

Don’t just restore a backup: if the backup is later than the intrusion, you restore the malware too; and if the hole stays open, you’ll be breached again within days. Don’t install three random security plugins: they don’t remove backdoors that are already active. And don’t ignore the problem because “the site still loads”: every day of compromise worsens the domain’s reputation on Google and the delivery of your emails. It’s worth remembering that, faced with a hacked site, haste is a bad adviser: improvised moves — restoring at random, deleting files, installing random tools — often make things worse or destroy the traces needed to understand how they got in. Better to stop, secure access and rely on someone who knows where to look.

Free audit. If you suspect a compromise, request our free audit: we analyse the site and tell you what was hit, how serious it is and what’s needed to clean it up. In most cases the site is back online in 24–48 hours.

After the clean-up: never again

Removing the malware is half the job; the other half is making sure it doesn’t happen again: regular updates, an application firewall, off-server backups and monitoring. It’s exactly what our maintenance plans cover — at a fraction of the cost of a single emergency. It’s the same difference as between fitting an alarm and calling for help after a burglary: prevention costs little and works quietly, while chasing an emergency costs far more, in money and in days of downtime. Regular updates, an application firewall, backups kept off the server and monitoring that flags anomalies drastically reduce the chance of ending up back at square one, and let you sleep more soundly.

Continua a leggere

Related articles

Frequently asked questions
What should you do right away if your site is hacked?

Don’t delete files at random: they’re needed to understand how they got in. Isolate the site, change passwords, analyse the attack, clean it, restore from a clean backup and close the hole. The sooner you act, the less damage you suffer.

How do I know if my site is compromised?

Typical signs: strange redirects, content or spam you didn’t publish, Google warnings, sudden slowdowns or unusual logins. At the first doubt it’s worth having the site analysed by someone who handles it.

From the article to action

Site compromised? We can help.

Tell us what happened: we analyse the site and step in. Free audit within hours.

We reply within 24 hours · No spam.