How to Tell If Your WordPress Site Has Been Hacked
When people imagine a hacked website, they usually picture the homepage replaced with a skull and crossbones and a message in capital letters. That does still happen occasionally, but it’s rare. Most hacks are designed so that you, the person who runs the site, never notice. Your site gets used quietly – to send spam, host dodgy pages, or redirect your visitors somewhere they really didn’t want to go – and everything looks completely normal when you log in.
So how do you tell? Here are the signs I look for, roughly in order of how often I see them.
The warning signs
Google or your browser is warning people off
A red “Deceptive site ahead” screen, or “This site may be hacked” under your listing in Google, is about as clear as it gets. Google is pretty good at spotting compromised sites, and once it has flagged yours, a lot of visitors will turn round rather than click through.
Visitors are being redirected
This is the sneaky one. A lot of redirect hacks only fire for certain people: visitors on mobile, people arriving from Google, or anyone who isn’t logged in. So the site looks fine to you at your desk, while your customers are being bounced to spam, scam or adult sites. If someone tells you your site “went somewhere weird”, take it seriously.
Pages in Google you didn’t write
Search Google for site:yourdomain.co.uk and have a scroll through. If you see pages about cheap pharmaceuticals, designer handbags or casinos – often in Japanese or another language you don’t speak – someone has been adding content to your site. This is one of the most common hacks around, and it can do real damage to your rankings.
Social media won’t share your links
If Facebook or LinkedIn suddenly refuse to let people post links to your site, or flag them as unsafe, they’ve probably spotted something malicious. I’ve seen this be the first and only sign that something was wrong.
Strange users in your admin
Have a look at Users in your WordPress admin. Any administrators you don’t recognise, or accounts with odd names created recently, are a big red flag. Attackers often add themselves an account so they can get back in later.
Your host has been in touch
Emails about malware, high resource use, or your account sending spam should never be ignored. Hosts often spot problems before anyone else does, and if they’ve suspended your account it’s usually for good reason.
Things you didn’t change have changed
Plugins you don’t remember installing, your password suddenly not working, settings that have moved, a site that’s become mysteriously slow, or emails from your site going straight into people’s spam. Any one of these could be innocent. A few of them together usually isn’t.
How to check properly
If any of that sounds familiar, there are a few things you can do yourself before calling anyone:
- Check Google Search Console. If you have it set up, look at the Security issues report. Google will tell you there if it has found malware or hacked content, and often which pages are affected.
- Run an external scan. Free tools like Sucuri SiteCheck will look at your site from the outside and flag known malware, blocklisting and suspicious redirects. They can’t see everything, but they’re a good first check.
- Run a scan from inside WordPress. A security plugin like Wordfence can compare your WordPress files with the official versions and flag anything that’s been tampered with.
- Look at your users and plugins. Remove anything you don’t recognise – but take a note of it first, because it’ll help whoever cleans up the site work out what happened.
Found something? Here’s what to do next
Don’t panic, but don’t sit on it either. The longer a hacked site stays live, the more damage it does to your visitors, your search rankings and your reputation. I’ve written a separate guide on what to do when your WordPress site gets hacked, but the short version is: change every password, restore a clean backup if you have one, and find out how they got in so it doesn’t happen again.
That last part is the one people skip. Deleting the spam pages or the dodgy files fixes the symptoms, but if the hole they came in through is still open – usually an out of date or abandoned plugin – they’ll be back in a few weeks and you’ll be doing it all again.
Want someone to just sort it?
If you’d rather hand it over, I clean up hacked WordPress sites: removing the malware and backdoors, closing the hole they got in through, and getting you off Google’s blocklist. And if you’re not sure whether you’ve been hacked at all, send me your address and what you’ve noticed, and I’ll tell you honestly whether it looks like a hack or something more mundane.