Hacked & Security
My WordPress Site Was Hacked
Updated
wordpress site hacked
What's happening
If your site is sending visitors to a spam site, showing pages or ads you never added, or carrying a warning from Google, someone got in and is using your website for their own ends. It's almost never personal. Automated bots probe huge numbers of sites looking for an unlocked door, and yours happened to have one. The good news: a hacked site can almost always be cleaned and kept, without starting over.
You may not see the signs yourself, because a hack is often written to hide from the owner. The common ones:
- Visitors get sent somewhere else, usually a site selling pills, gambling or fake prizes. Sometimes only on phones, or only for people arriving from Google. If a customer saw it and you can't, believe the customer. See my site redirects to another site.
- Pages you didn't write turn up in Google under your domain, selling pills, handbags or casino offers, often in another language. They rarely appear in your menus.
- A warning from Google or Chrome. Google may put "This site may be hacked" under your listing, email you through Search Console about security issues, or Chrome may show visitors a red "Dangerous site" warning.
- Your host switched the site off. Many hosts scan for malware and pause a site to protect visitors. Here's what a malware suspension means.
- Your emails bounce or land in spam. A hacked site is often used to send junk, and your domain's reputation can take the hit.
- An administrator you don't recognize appears in Users. See unknown admin user on my site.
- You can't log in, because your password or your account's email address was changed.
- Search traffic dropped overnight, or the site looks fine to you but not to visitors.
Is it really a hack, or just a glitch?
Not every scare is a break-in. A site that loops with a "too many redirects" error, loads without its styling, or shows a plain error page is usually a settings or update problem, not a security one. The tell is direction: a site that loads but takes people somewhere you didn't choose, or shows content you didn't create, is a hack. A site that simply fails to load is more often broken than hacked.
Some things can't be settled from the outside. A traffic drop, a bounced email or a host notice can each have an innocent cause. If that's the only evidence, treat it as "possibly hacked" until someone looks inside the site. If Google or your host says the site is hacked, they have usually seen the evidence, so believe them.
Why it happens
The usual way in is an outdated plugin, theme or WordPress version with a known security hole that an update would have closed. Once a hole is made public, bots go looking for sites that haven't patched it. Other common doors: a weak or reused password that a bot guessed, a "free" copy of a paid plugin or theme from an unofficial site with malware built in, and a login used from a computer that was itself infected.
Once inside, an attacker typically adds their own administrator account, plants a hidden file known as a backdoor so they can return later, and spreads copies of their code across several places so that removing one doesn't remove the rest. That's why the problem tends to come back when only the obvious part is deleted. If this isn't the first time, read why does my site keep getting hacked.
What you can safely try
- Change your passwords for WordPress, your hosting account and the email address attached to both, from a device you trust. Use long, unique passwords. This won't remove the hack, but it stops a stolen password being used again while the site is cleaned.
- Check Users for an administrator you didn't create. Note its username, email and registration date, but don't delete it yet. The details help whoever cleans the site work out when and how it happened.
- Confirm your own account's email address is still yours, so password resets don't go to the attacker.
- Take the site offline or put up a maintenance page if it's actively sending visitors to harmful sites. Your host can often help with this.
- Note what changed recently: a new plugin, a skipped update, someone who had access. It shortens the cleanup.
And three things not to do:
- Don't restore a backup unless you know it's from before the break-in. The hack is often older than the day you noticed it, and a copy made after it just reinstalls the problem. There's more in can I restore my site from a backup.
- Don't start deleting plugins, themes or files to hunt for it. The code hides in more than one place, and guessing is how a hacked site becomes a hacked and broken site.
- Don't pay anyone who emails you about it. Messages claiming "we found a vulnerability, pay us to fix it" or threatening to leak data are a common follow-on scam. Deal with your host and a cleanup service you choose yourself.
When to call us
A hack is the moment to bring in someone who knows where attackers hide things. This is core work for us on business websites. Here's what a proper cleanup involves, in plain English:
- Find everything that doesn't belong. Every copy of the injected code, every backdoor, every added page and link, and every account you didn't create.
- Remove it without taking your site with it. Your content, your design and your search listings stay.
- Close the way in. Update or replace whatever had the hole, reset every password and access key, and remove the unknown accounts, so the same attack can't simply repeat.
- Harden the site against the next attempt.
- Ask Google to lift the warning. Once the site is genuinely clean, we send the review request. Lifting a warning is Google's decision, made on Google's timeline.
- Tell you what we found, including anything you may need to tell customers.
Our hacked site cleanup starts at a flat $249. We look at the site first, confirm the price for your job, and you approve it before any work starts. No hourly billing and no surprise invoice. To see how that compares, read how much it costs to fix a hacked site. If you'd rather not think about updates and scanning again afterwards, there's a plan for that. The cleanup comes first.
Start with our Hacked Site Recovery.
Common questions
- Should I just delete everything and start over?
- Usually not. That throws away your content and your search ranking, and it doesn't address how they got in. A proper cleanup removes the infection, keeps your site intact, and closes the door they came in through.
- Google is showing a 'this site may be hacked' warning. Can that be removed?
- Usually, yes. Once the site is genuinely clean and the hole is closed, you ask Google to review it, and Google decides when the warning comes off. The key word is genuinely. Asking before it's fully cleaned just resets the clock.
- Is my customer data at risk?
- It depends on what the site stores. A brochure site with a contact form holds little. An online store or membership site holds names, addresses and order history, and an attacker with admin access could have read it. Card numbers are normally held by your payment provider, not your site. We tell you plainly what we find, so you can decide whether customers need to be told.
- Can I just restore a backup?
- Only if the backup is from before the break-in, and that date is often earlier than the day you noticed. Restoring a copy made after it brings the infection straight back. Even a clean restore doesn't close the hole that let them in, so the same attack tends to repeat.
- Will this happen again?
- It can, if the way in is left open. A repeat hack is usually a sign that only the visible damage was removed. A cleanup that finds the backdoor, removes unknown accounts, closes the hole and resets every password gives you a genuine fresh start. Keeping plugins, themes and WordPress updated afterwards is what keeps it that way.
Related terms
Want this fixed for you?
Hacked Site Recovery
From $249, flat rate. You approve the price before we start.
Not an emergency? Get a free audit of your site, done by a person, no obligation.