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

My WordPress site was hacked: what to do right now

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.

First, breathe. A hacked WordPress site is fixable, and the first hour matters less than doing things in the right order. The worst outcomes usually come from rushing: deleting the site, restoring an old backup, or cleaning the visible part and missing the rest.

If you want it handled now, call or text Jeremy at 720-310-5673. Otherwise, here is the order to work in.

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.

Signs you were hacked

  • Visitors get sent to other sites, often only on phones or only from Google.
  • Google shows casino, pharma or foreign-language pages for your site.
  • There are admin users, files or plugins you didn't add.
  • Google, a browser or your host shows a warning or suspends the site.
  • The site is suddenly slow, or your host sent a malware notice.

More detail on each is on the emergency hacked WordPress repair page.

Do these three things first

  1. Keep a copy. Download the files and export the database as they are now, hack and all. That is your evidence.
  2. Change passwords that matter outside the site: your email, your hosting account, anything that shared a password with the site. Use a computer you trust.
  3. Don't restore a backup yet. It can bring the hack back and it destroys the evidence of how they got in.

Check what Google and your visitors see

The quickest way is our free malware scanner: it loads your site as a visitor, as Google and as a phone visitor from a search, and compares them. To check by hand, look from the outside:

  • Search Google for site:yourdomain.com with words like casino, pharma or slot.
  • Open the Security issues report in Google Search Console.
  • Use Search Console's URL Inspection to compare what Google sees with what you see.
  • Visit the site on a phone, from a Google search result, in a private window.

Cleaning it yourself: where it gets hard

Deleting an obviously bad file is easy. The hard parts are the backdoor the attacker left so they can get back in, spam and redirects stored inside the database, and cloaked pages that only show to Google. Miss any of those and the site is reinfected, often within days.

How to unhack a WordPress site, in the right order

  1. Preserve a copy of the files and database.
  2. Lock the attacker out: change every password and the WordPress salts, remove unknown admin users.
  3. Replace WordPress core and plugins with clean official copies, then hunt for what that misses: PHP in uploads, .htaccess and wp-config changes, rogue scheduled tasks, database injections.
  4. Find how they got in, from the logs, file dates and plugin versions, and patch it.
  5. Harden the site: updates, file permissions, two-factor login, a firewall, unused plugins removed.
  6. Clean up Google: 410 Gone on spam URLs, Search Console, review and blocklist requests.

When to hand it to someone

Get help if any of these is true:

  • You can't find how the attacker got in.
  • You cleaned it and the hack came back.
  • Your host has suspended the site, or Google is showing a warning.
  • The site takes payments or holds customer accounts.

What our $249 repair covers

Everything in the list above, done by an incident commander, the same business day we get working access. Order any hour, from anywhere. Malware and backdoors removed, the way in found and closed, the site patched and locked down, Google cleaned up, and a plain-English report at the end. Full details on the emergency hacked WordPress repair page.

Questions owners ask

Can I clean a hacked WordPress site myself?

Sometimes, if the infection is simple and you can find how it got in. The hard parts are backdoors, database injections and cloaked spam that only Google sees. If the hack comes back after you clean it, one of those was missed.

Should I restore a backup?

Not yet. A backup may contain the same hack, and restoring it wipes out the evidence of how they got in. Make a copy of the site as it is now first.

How long does a professional cleanup take?

Ours is done the same business day we get working access, for $249 per site. If we miss that, you get $100 back and we still finish.

Written by , Principal SRE and Incident Commander. Last updated October 17, 2026.