Guides

My website has been hacked: what should I do first?

, 2 min read, by Web Rescue team

Rusty padlocks hanging on a chain

If your website has been hacked, first take a full copy of it as it is, then change every password connected to it (hosting, website admin, database, FTP, domain), and only then start cleaning. Deleting files or restoring an old backup straight away often destroys the evidence of how they got in, and the site is reinfected within days.

In the first hour

  1. Copy the site and database as they are now.
  2. Change passwords for hosting, admin users, database and FTP, from a computer you trust.
  3. Check admin users and remove any you don't recognise.
  4. Tell your host; they may have already spotted it and can show you their logs.
  5. Consider maintenance mode if visitors are being redirected to scam sites.

What not to do

  • Don't just restore a backup and carry on: the hole is still there.
  • Don't rely on one security plugin scan; they miss things in the database and server files.
  • Don't ignore it because the homepage looks fine. Hacks often only show to Google or mobile visitors.
A keyboard with a chain and padlock
Closing the way in matters more than cleaning the visible damage.

Cleaning up properly

Find the way in (usually an outdated plugin, theme or reused password), remove malicious code from files and the database, update everything, add a firewall and two-factor login, then ask Google to review the site if it was flagged.

Need it cleaned up today? See hacked website repair.

Rather we just fixed it?

Tell us what's wrong and when to ring. Two minutes, no account, no call centre. The technical questions come after and you can skip them.

  1. LoggedYour name, number and the problem are saved the moment you send them.
  2. Called the same dayA UK engineer rings you at the time you picked.
  3. Diagnosed and quotedWe find the cause and tell you the price before any work starts.
  4. Fixed and verifiedWe test it with you, explain what we changed and stand behind the fix.
Same-day call

Your job ticket

Job no.New
How should we contact you?

WhatsApp is usually best, and you can send screenshots.

Spam check
  • Microsoft MVP and Microsoft 365 partner
  • AWS Solutions Architect
  • WordPress certified
  • Apple developer
  • Google IT Support certified
  • UniFi partner
  • Shopify