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
- Keep a copy. Download the files and export the database as they are now, hack and all. That is your evidence.
- 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.
- 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.comwith 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
- Preserve a copy of the files and database.
- Lock the attacker out: change every password and the WordPress salts, remove unknown admin users.
- 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.
- Find how they got in, from the logs, file dates and plugin versions, and patch it.
- Harden the site: updates, file permissions, two-factor login, a firewall, unused plugins removed.
- 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 Jeremy Martinez, Principal SRE and Incident Commander. Last updated October 17, 2026.