Fixing a Hacked Site
Updated 2 July 2026
Recovering from a hack requires cleaning files, securing accounts, and preventing reinfection.
This article explains the core cleanup and recovery stages after a compromise, from containment and credential resets to restoration and hardening.
Recovery steps
- Take the site offline or enable maintenance mode.
- Change all passwords (WordPress, hosting, FTP, database).
- Scan files and remove malicious code.
- Restore from a clean backup if the infection is widespread.
- Update core, themes, and plugins. Remove unused software.
- Request Google review if a Safe Browsing warning was issued.
Shield Pro subscribers get malware removal included. Others can submit a one-off fix.