What to Do If Your Website Is Hacked: A Step-by-Step Recovery Guide
Print
  • website hacked, wordpress hacked, malware removal, website security tanzania
  • 0

Strange pop-ups, redirects to gambling sites, Google warnings, or your host suspending the account – these are signs your website has been hacked. Stay calm and follow this step-by-step website hack recovery guide.

Signs your website has been hacked

  • Visitors are redirected to other websites, especially on mobile.
  • Google shows "This site may be hacked" or Chrome shows a red warning.
  • New admin users or pages you did not create.
  • Your email is suddenly marked as spam or the host reports outgoing spam.
  • Files with strange names appear in your hosting account.

Step 1: Do not panic, and do not delete everything

Deleting files randomly can destroy evidence of how the attacker got in and break the site further.

Step 2: Contact your hosting provider

Your host can check server logs, scan for malware and tell you which files changed. Oneway customers can open a ticket or WhatsApp us immediately.

Step 3: Change every password

Change hosting/cPanel, WordPress admin, FTP, database and email passwords. Use long, unique passwords.

Step 4: Restore a clean backup (if available)

If you have a backup from before the hack, restoring it is often the fastest fix. Daily backups are included with our hosting plans.

Step 5: Clean and update

  • Update WordPress core, every theme and every plugin.
  • Delete themes and plugins you do not use – especially "nulled" (pirated) ones, a very common source of malware.
  • Remove unknown admin users.
  • Scan the account for malware.

Step 6: Ask Google to review your site

If Google flagged your site, request a review in Google Search Console after cleaning.

Step 7: Prevent it happening again

Follow our WordPress security checklist and keep regular off-site backups.

Hacked right now? Message our team on WhatsApp – the sooner you act, the less damage is done.

Was this answer helpful?

Related Articles