Is My WordPress Site Hacked? 14 Warning Signs Sorted by Who Notices Them First, and the Quick Test That Confirms Each One

By Information Security Asia · Updated November 30, 2026 · 6 min read

Is My WordPress Site Hacked? 14 Warning Signs Sorted by Who Notices Them First, and the Quick Test That Confirms Each One

Short answer: The clearest signs your WordPress site has been hacked are redirects to spam or scam sites (often only on mobile or for visitors arriving from Google), Google search results showing pharmacy, casino or Japanese text for your domain, a “This site may be hacked” label or browser warning, administrator accounts you didn’t create, and core files that fail WP-CLI’s checksum check. Your host suspending the account for malware or outgoing spam is another strong signal. Many symptoms are hidden from logged-in admins, so test as an anonymous visitor, as Googlebot and on mobile data. If two or more signs check out, treat the site as compromised and move to cleanup; if only one does, the tests below help you rule out an innocent explanation first.

Why owners are usually the last to know

Modern WordPress malware is built to avoid the one person most likely to fix it. Common infections check whether you’re logged in, whether you’ve visited before, which device you’re on and where you came from. An administrator browsing their own site on a desktop sees nothing unusual, while a first-time mobile visitor from a Google search gets redirected to a scam page. So the signs below are grouped by who tends to notice them first, along with a test you can run yourself.

Is My WordPress Site Hacked? 14 Warning Signs Sorted by Who Notices Them First, and the Quick Test That Confirms Each One

Signs visitors notice

1. Redirects to other sites

Visitors land on gambling, adult, fake prize or tech-support pages. Test: open your site in a private window on a phone using mobile data, arriving via a Google search for your brand. Try twice, because some redirects only fire once per visitor.

2. Pop-ups or ads you didn’t add

Unexpected ads or “allow notifications” prompts appear. Test: view the page source in a private window and search for unfamiliar script domains near the closing head or body tags.

3. Browser security warnings

Chrome or Safari shows a red full-page warning before your site loads. Test: check your domain in Google’s Safe Browsing site status tool. A listing confirms Google found malware or phishing. Our guide to Safe Browsing warnings explains each type.

Signs Google notices

4. Spam in search results

Searching site:yourdomain.com reveals pages or titles about pills, casinos, replica goods or Japanese text you never wrote. Test: add keywords like viagra, casino or a Japanese character to the site: search.

5. “This site may be hacked” label

Google adds this note under results when it detects hacked content. Test: search your brand name and look under your listing.

6. Search Console security issues

Search Console’s Security Issues report lists hacked content, malware or deceptive pages. Test: open the report. If Search Console also shows a sudden jump in indexed pages you don’t recognize, injected spam pages are likely.

Signs your host or email provider notices

7. Account suspension or malware notice

Hosts scan accounts and will suspend sites distributing malware. Test: read the notice carefully; most hosts name the infected files.

8. Outgoing spam and blacklisting

Your server sends spam, your emails start bouncing, or your IP appears on blocklists. Test: check mail logs if you have access, and look up your domain and server IP on blocklists; see matching the symptom to the blacklist.

9. Resource spikes

CPU or bandwidth usage jumps without a traffic increase. Test: check access logs for heavy requests to odd PHP files, which can indicate a spam mailer, cryptominer or doorway script.

Is My WordPress Site Hacked? 14 Warning Signs Sorted by Who Notices Them First, and the Quick Test That Confirms Each One

Signs you’ll see in the dashboard and files

10. Unknown administrator accounts

Test: list admins from the command line, which bypasses tricks that hide users from the dashboard:

wp user list --role=administrator --fields=ID,user_login,user_email,user_registered

11. Plugins, themes or mu-plugins you didn’t install

Test: compare wp plugin list with what you remember, and look in wp-content/mu-plugins, which doesn’t appear in the normal plugin screen.

12. Modified core or plugin files

Test:

wp core verify-checksums
wp plugin verify-checksums --all

Any file reported as modified or unexpected in core is a red flag; WordPress core files shouldn’t change between updates.

13. Settings changed

Site URL or home URL changed, new users allowed to register as administrator, or a different admin email. Test:

wp option get siteurl
wp option get home
wp option get default_role
wp option get users_can_register

14. Unfamiliar scheduled tasks

Malware often reinstalls itself through WordPress cron or server cron. Test: run wp cron event list and check your hosting control panel’s cron jobs for commands that download or run files.

Sign Strength as evidence Innocent lookalike to rule out
Redirect to spam site Strong Ad network serving a bad ad
Spam in site: results Strong Spam comments indexed on a site with open comments
Unknown admin user Strong A developer or colleague added one
Modified core files Strong Failed or interrupted update
Slow site Weak Traffic spike, heavy plugin, host issues
Can’t log in Medium Security plugin lockout, forgotten password
Default role set to administrator Strong Rarely innocent

False alarms worth ruling out

Not every odd behavior means a hack. A bad ad from an ad network can redirect visitors without your site being compromised; disable ads temporarily to test. A slow site is far more often a plugin or hosting issue. Login lockouts are usually a security plugin doing its job after brute-force attempts; see our post on stopping WordPress brute force attacks. Spam in search results can be indexed spam comments rather than injected content, which is a moderation problem, not malware. Checking two or three independent signs before concluding you’ve been hacked avoids unnecessary panic, but if any strong sign checks out, act.

What to do once you’ve confirmed it

  1. Don’t start deleting files at random. Take a full backup of the infected site first; it preserves evidence and gives you a fallback.
  2. Change passwords for hosting, SFTP, database and all admin users from a clean device, and rotate WordPress salts to end existing sessions.
  3. Follow a structured cleanup. Our WordPress malware removal checklist takes you through each phase with a test for completion, and our real cleanup write-up shows the commands we ran on our own site.
  4. Find the entry point, usually an outdated plugin, a nulled theme or a reused password, and fix it so the infection doesn’t return.
  5. Request reviews from Google and any blocklists once the site is clean.

Frequently asked questions

Can a WordPress site be hacked without any visible signs?

Yes. Backdoors and spam injections can sit quietly for weeks. Regular checksum checks and file-change monitoring catch what visual inspection misses.

Does a security plugin warning always mean I’m hacked?

Not always. Scanners flag suspicious code patterns that legitimate plugins sometimes use. Verify flagged files against clean copies before deleting.

My site only redirects on mobile. Is that really a hack?

Very likely. Mobile-only and first-visit-only redirects are a deliberate evasion technique, because owners usually test on desktops while logged in.

How did my site get hacked if I update everything?

Common causes beyond outdated software include stolen admin or hosting passwords, compromised developer machines, nulled plugins and other sites on the same hosting account.

Sources

Keep reading