• Wednesday, February 25, 2026

Knowledge Base

What to Do If Your Website Is Hacked

Responding to a Security Breach

Stay calm and follow these steps to recover from a hack.

Signs of a Hack

  • Strange content on your site
  • Redirects to spam sites
  • Google showing warnings
  • Unknown files in your folders
  • New admin users you didn't create
  • Spam emails being sent

Immediate Steps

  1. Don't panic - you can recover
  2. Change all passwords - DirectAdmin, WordPress, FTP, email
  3. Take site offline temporarily if spreading malware
  4. Document what you see

Recovery Process

  1. Restore from backup - Use JetBackup to restore to a clean state
  2. Update everything - WordPress, themes, plugins
  3. Scan for malware - Use security plugins
  4. Check user accounts - Remove unknown users
  5. Secure the site - Install security plugin

After Recovery

  • Change all passwords again
  • Enable two-factor authentication
  • Request Google review if flagged
  • Monitor closely for a while

Get Help

If you're unsure how to proceed, contact Hostdeal support.