How do you know if your WordPress site has been hacked? Look for these red flags: unexpected redirects to spam sites, admin users you didn't create, a "This site may be hacked" warning in Google, unfamiliar posts or pages, a sudden traffic drop, and files you don't recognize. If you spot even one of these 12 signs below, your site needs attention today — the longer an infection stays live, the more SEO rankings and customer trust it destroys.
Why Hacked WordPress Sites Often Go Unnoticed
Modern attackers don't deface your homepage — that would get them caught. Instead, they hide: injecting invisible spam links for SEO manipulation, redirecting only mobile visitors or only traffic from Google, and installing backdoors for later use. WordPress powers over 40% of the web, which makes it the number one target for automated attacks, and most infections run silently for weeks before the owner notices. That's why knowing the warning signs matters. Here are the 12 that show up most often in the hacked sites we recover.
Book a free, no-obligation strategy call and we'll map out your next move.
12 Signs Your WordPress Site Has Been Hacked
1. Google Shows a "This Site May Be Hacked" Warning
The clearest signal there is. Google adds this label (or a red "Deceptive site ahead" browser warning) when its crawlers detect malware or spam on your pages. Check by searching your brand name and site:yourdomain.com in Google, and look for security issues flagged in Google Search Console under Security & Manual Actions.
2. Visitors Get Redirected to Spam or Scam Sites
Malicious redirects send your visitors to pharmacy ads, casino pages, or fake giveaways. They're often conditional — triggering only on mobile devices or only for visitors arriving from search results — so test your site from your phone via a Google search, not just by typing the URL on your desktop.
3. Admin Users You Never Created
Go to Users → Administrators in your dashboard. Any account you don't recognize — especially with random usernames or free-mail addresses — means attackers have full control. In one recovery we handled, bots had bypassed registration filters and created multiple rogue admin accounts that were quietly injecting content for weeks.
4. Posts or Pages You Didn't Publish
Spam injection floods your database with hidden posts — often in other languages or stuffed with pharma and gambling keywords. Check Posts → All Posts sorted by date, and search site:yourdomain.com in Google to see if pages you've never seen are indexed under your domain. We've cleaned sites with over 6,000 injected spam posts the owner had no idea existed.
5. A Sudden, Unexplained Traffic Drop
When Google detects a hack, it demotes or removes your pages — fast. If your analytics show a cliff-edge drop with no algorithm update to explain it, check Search Console immediately for security issues and deindexed pages.
6. Your Search Results Look Wrong
A classic symptom of the "pharma hack": your pages appear in Google with titles and descriptions about medications, casinos, or products in another language — while the site looks normal when you visit. Attackers show one version to Google and another to you (cloaking). Search your domain in an incognito window to check.
7. Unknown Files or Modified Core Files
PHP files with random names (like wp-tmp.php), PHP files inside your /uploads folder, or recently modified core files are strong infection markers, as is obfuscated code using eval() or base64_decode(). A file-integrity scan with a security plugin compares your core files against the official WordPress versions and flags anything altered.

