1. Red
  2. Learn
  3. Incident response

Website hacked? Incident response for site owners

What to do when your website is hacked: first-hour steps, evidence to keep, who to tell and when, and how to recover without being hit again. For site owners.

Incident response is the work between "something looks wrong" and "the site is back and stays back". It covers what to write down, what to keep, who must be told and how to close the way in that was used. The order matters, and a rushed cleanup is the usual reason sites get hit twice.

What matters right now

Where to start

  • If you have just found the problem, start with the full website incident response plan.
  • If you run a small business and need an hour-by-hour list, read what to do in the first 24 hours.
  • If you cannot sign in to WordPress, see getting back into wp-admin without destroying evidence.
  • If you run PHP and patched after 17 October, follow the PHP2Shell indicators to check.
  • If cleanup keeps failing, read why WordPress malware keeps coming back.
  • If you plan to restore, use how to choose a clean restore point.
  • If customers may be affected, copy the breach email templates.
  • If you are weighing professional help, compare one-time, annual and DIY cleanup costs.
  • If PHP2Shell is the trigger, the shortest path is the 10-minute PHP2Shell response.

The free Red scan reads the stack your site serves and matches each version to known vulnerabilities. It can say a version is affected. It cannot tell you whether you were already compromised.

Every incident response guide

2 articles, newest update first. Each one is dated and points at its primary sources.

Check your own site

The free scan reads the stack your site serves and matches each version to known vulnerabilities. Updated 24 October 2026.

Other topics