Built by Senior SRE Engineers from Fortune 500 Platforms — 25+ combined years of production SRE experience. Meet the team →

Hacked site emergency line. On call 24/7.

Call 720-310-5673 Text

WordPress incident response: what happens after a hack

By , Principal SRE and Incident Commander. Updated .

Jeremy has worked production outages and security incidents since 1998, first as a Unix admin on e-commerce clusters and later as an incident commander at a fintech lender. The repair number on this page rings his phone.

Incident response is how engineering teams handle an outage or a breach: calmly, in a fixed order, with notes. A hacked WordPress site is a small incident, but the same discipline is what makes the difference between a site that stays clean and one that gets reinfected next week.

This is the plan we follow on every hacked site, phase by phase.

Not sure it's hacked? Scan it free

Checks for malware, spam, hidden redirects, blocklist listings and outdated plugins. About 20 seconds, no sign-up.

A remote scan sees what your site shows the world, not every file on the server. More about the scanner.

What incident response means for a small site

Five phases, in this order:

  1. Preserve: keep a copy of the evidence before anything changes.
  2. Contain: stop the attacker doing more damage and lock them out.
  3. Eradicate: remove every piece of the infection, including what you can't see.
  4. Find the cause: work out exactly how they got in, and close it.
  5. 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 , Principal SRE and Incident Commander. Last updated October 17, 2026.