What incident response means for a small site
Five phases, in this order:
- Preserve: keep a copy of the evidence before anything changes.
- Contain: stop the attacker doing more damage and lock them out.
- Eradicate: remove every piece of the infection, including what you can't see.
- Find the cause: work out exactly how they got in, and close it.
- Recover and learn: bring the site and its Google listings back, and write it up.
Skipping a phase is how cleanups fail. Most failed cleanups skip the fourth.
Preserve first
Before any file is deleted, we take a full snapshot of the files and the database. It is the evidence of what the attacker did, and it is the way back if a fix breaks something. Restoring an old backup before this step destroys that evidence and often brings the same hack back with it.
Contain the damage
Containment means taking away the attacker's access: every password on the site changes, the WordPress salts change so every logged-in session ends, admin users nobody recognizes are removed, and anything the attacker can use to call back in is cut off.
Remove the infection, including the parts you can't see
WordPress and its plugins are checked against the official files, and anything that doesn't match is replaced. Then comes the part a file check misses: PHP hidden in the uploads folder, must-use plugins, changes to .htaccess and wp-config, rogue scheduled tasks, and spam or redirects stored in the database.
Cloaked spam needs a separate check, because it only shows itself to Google. We request pages the way Google does and compare what comes back.
Find the entry point
Server logs and file timestamps show when the attacker first appeared and what they touched. Combined with a check for tampered or pirated plugins and known vulnerabilities in the versions you run, that usually points to the exact hole. Patching it is what stops the same infection returning.
Recover, and clean up Google
With the site clean and locked down, we return 410 Gone on any spam URLs so Google drops them, work through Search Console, and file reconsideration and blocklist requests where needed. Google decides how fast its listings and warnings clear; we can't give a date for that.
The write-up
Every incident ends with a report in plain English: what the infection was, how it got in, what was removed, and what to do next. On a business site it is your written record of the incident.
Who runs it
Jeremy Martinez, a Principal SRE and Incident Commander with 15+ years of incident response at a Fortune 500 e-commerce platform and a national fintech lender. See the emergency hacked WordPress repair page for the price, the same-day deadline and two recent recoveries, or Jeremy's LinkedIn profile.
Questions owners ask
Is incident response only for big companies?
No. The same order of work that large teams use for an outage fits a small WordPress site: keep evidence, stop the damage, remove the attacker, find how they got in, recover and write it up. It just takes hours instead of weeks.
Should I take my site offline?
It protects visitors if the site is sending them to scam pages, but it can also hide what the attacker is doing. If you are unsure, call or text before you decide.
Do I get a written report?
Yes. A plain-English report of what the infection was, how it got in, what we removed and what to do next. It is also what most hosts want to see before reactivating a suspended site.
Written by Jeremy Martinez, Principal SRE and Incident Commander. Last updated October 17, 2026.