My website was hacked: what to do step by step
Seeing spam, odd redirects or a Google warning on your site is scary, but it can be fixed. These are the steps, in order.
Stay calm and do not delete everything
Deleting files blindly can make things worse or remove what helps understand what happened.
Change your passwords
Change the admin panel, hosting, database and associated email passwords.
Back up what is there
Save a copy of the current state before cleaning, so it can be analyzed.
Clean up and find the cause
Malicious code must be removed and the entry point found: an outdated plugin, a weak password or a forgotten access.
Update and protect
Update the system and plugins, remove what you do not use and enable regular backups.
Ask Google to review your site
If a warning appeared, after cleaning you can request a review from Search Console.
Common questions
How do I know if my site was hacked?
Common signs: redirects to other pages, content you did not publish, Google warnings or sudden slowness.
Can my site be recovered?
In most cases yes. We review the scope and tell you clearly what can be recovered.
How do I prevent it from happening again?
With updates, strong passwords, fewer plugins and backups. We also offer maintenance.