Finding out your site was hacked is scary, but with an orderly procedure it can almost always be recovered. What matters is not to improvise.
Signs that something is wrong
- The site shows content you did not put there (ads, messages, odd pages).
- It redirects to other pages, especially when opened from Google.
- Google or the browser shows a "dangerous site" warning.
- Unknown administrator users appear.
- The hosting warns of high usage or mass email sending.
- There are new files you do not recognize.
What to do right away
- Stay calm and tell your provider. They can help isolate the site.
- Change all passwords: hosting panel, site admin, database, FTP and email.
- Make a copy of the current state for analysis, even if it is infected.
- Restore a clean copy from before the attack, if you have one.
- Update everything: system, themes and plugins.
- Review users and files looking for strange accounts or files.
- Request a review from Google if the site was flagged as dangerous.
How to prevent a repeat
- Up-to-date software and only the plugins you need.
- Strong passwords and two-step verification.
- Automatic, tested backups.
- Monitoring that warns you if files change.
If your site was attacked, write to us urgently and we will help you recover it.