Working Out Whether Your WordPress Site Has Been Compromised
To check if your WordPress site is hacked, start with the tell-tale signs: admin users you do not recognise, spammy or foreign-language posts you never wrote, redirects to other sites, browser or search-engine warnings, and emails suddenly landing in spam. A free external scan can confirm several of these signals in about ten seconds, without ever logging in to your site.
Some compromises are obvious. Others sit quietly, sending spam or hosting hidden pages while your homepage looks perfectly normal. The reliable approach is to combine an outside-in check (what your site shows the public) with an inside-out check (what a security plugin sees in your actual files).
This page sets out exactly which WordPress red flags a free, passive scan can surface from outside, and which ones genuinely need a plugin running inside WordPress to find.
Common signs a WordPress site has been hacked
Most compromises show up in one or more of these ways. If you recognise several at once, treat it as a likely hack and investigate properly rather than waiting for it to get worse.
- Admin accounts you do not recognise, or your own login no longer working.
- New posts or pages full of spam links, pharmaceuticals, or text in a language you do not use.
- Visitors redirected to another website, sometimes only on mobile or only when arriving from Google.
- A red browser warning, or Google flagging the site as deceptive or hosting malware.
- Your emails landing in spam, or contacts mentioning messages you never sent.
- The host suspending your account, or an unexplained spike in server load.
What a free external scan can surface
A free EB Security scan reads only what your site already serves publicly: its pages, response headers, TLS certificate and public DNS. It needs no login and never tries to break in. For a WordPress site, that passive view still picks up several useful WordPress-specific signals.
None of these prove a hack on their own, but together they show how exposed the site is and whether attackers have an easy way in.
- WordPress core version: whether your core is behind the latest release, a common route in for attackers.
- readme.html exposure: a file that quietly advertises your exact core version to anyone who looks.
- xmlrpc.php enabled: a long-standing target for brute-force and amplification abuse.
- Username enumeration: whether the REST users endpoint or ?author= leaks valid usernames to guess passwords against.
- Reputation: whether your server IP sits on spam and abuse blocklists (Spamhaus, SpamCop, Barracuda), a strong hint the site is sending spam.
- Safe Browsing reputation: whether Google currently flags the domain (this lookup runs only when an API key is configured).
What a passive scan cannot tell you
Be clear about the limits, because a clean external result does not mean your files are clean. The scan reads the outside of the building: it does not walk the rooms inside, so do not treat a good grade as a guarantee against malware.
In particular, the external scan does not do any of the following.
- It does not log in, brute-force, fuzz or exploit anything.
- It does not scan your WordPress files for malware, and it cannot remove malware.
- It does not check your plugins or themes for vulnerabilities: it reads WordPress core only.
- Its malware signal is external reputation (blocklists and Safe Browsing) plus a few exposed-file path checks, not a file-by-file inspection.
Free, instant, no account
See your site's security grade in seconds.
Free, instant, and no account needed to see your grade.
Scan my site freePlain-English A to E grade in about 10 seconds. No account needed to see it.
Pair the scan with a WordPress security plugin
File-level problems, such as injected code in a theme, a backdoor in an upload folder, or a vulnerable plugin, live inside WordPress where an outside scan cannot reach. For those, install a reputable WordPress security plugin (for example Wordfence or Sucuri) and run a full file-integrity and malware scan from inside the dashboard.
A plugin compares your core files against the official versions, flags changed or unknown files, and lists known plugin and theme vulnerabilities. Use the free external scan as a fast first signal and the plugin as the deeper, inside-out check. The two together cover far more ground than either alone.
What to do if you think you have been hacked
If the signs point to a compromise, work methodically rather than panicking. The aim is to confirm, contain and clean, then close the gap that let the attacker in.
- Confirm from the inside: run a security plugin's malware and file-integrity check.
- Change every password (WordPress admins, hosting, database and FTP) and force a logout of all sessions.
- Tell your host: many UK hosts will scan, isolate or help clean a compromised account.
- Restore from a known-clean backup if you have one, or have a specialist clean the site.
- Update WordPress core, all plugins and themes, and delete anything you no longer use.
- Once clean, request a review through Google Search Console if the site was flagged.
Watch for unknown admins, spam content and blocklisting; a free external scan confirms several WordPress red flags in seconds, but pair it with a security plugin for the file-level malware check it cannot do.