---
title: "WordPress malware traits: stealth redirects, SEO spam, and backdoors"
canonical: https://wpsecurityninja.com/your-website-hacked/
---
WordPress malware often stays quiet. Redirects can hit only logged-out visitors. SEO spam can show mainly to Googlebot. Backdoors wait in uploads or must-use plugins while the homepage looks fine in wp-admin.

Test in a private window. Then run the [malware scanner](https://wpsecurityninja.com/malware-scanner/), [vulnerability scanner](https://wpsecurityninja.com/vulnerabilities/), and [Core Scanner](https://wpsecurityninja.com/core-scanner/). This page is the stealth vs obvious split. The seven-sign walkthrough lives on [how to tell if your WordPress site has been hacked](https://wpsecurityninja.com/signs-wordpress-site-is-hacked/). Recovery is [what to do if hacked](https://wpsecurityninja.com/what-should-you-do-if-your-wordpress-site-is-hacked/).

## Obvious vs stealthy attacks

**Obvious**

- Homepage defacement
- Full-site redirects to scam pages
- Login completely broken
- Hosting suspension email

**Stealthy**

- Redirects only for logged-out visitors (admins see a clean site)
- Cloaked spam links shown mainly to Googlebot
- Backdoors waiting for later use
- Drive-by scripts aimed at visitors
- Pharma / gambling SEO injections in posts, widgets, or theme files
- New admin users you did not create ([midnight admin pattern](https://wpsecurityninja.com/case-of-the-midnight-admin/))
- Mail deliverability collapse from spam relay abuse

If you only check the site while logged in, you can miss visitor-only redirects. **Always test in a private window.** Also try mobile data or a VPN country if geo-targeted redirects are suspected.

## Quick self-check (5 minutes)

1. Open the homepage in a **private/incognito** window
2. Click an inner page and a form; note unexpected redirects
3. View page source for odd scripts, base64 blobs, or iframe injections
4. In wp-admin → **Users**, look for unknown administrators
5. Check **Search Console** → Security issues and Manual actions
6. Run the [malware scanner](https://wpsecurityninja.com/malware-scanner/) and [vulnerability scanner](https://wpsecurityninja.com/vulnerabilities/) if you have Security Ninja installed. Check [Core Scanner](https://wpsecurityninja.com/core-scanner/) if core files look wrong.

Flat analytics with high server CPU can mean bot abuse rather than marketing success. See [404 hammering](https://wpsecurityninja.com/404-hammering/) and [malware that kept coming back](https://wpsecurityninja.com/malware-kept-coming-back/).

## Why attackers want your site

They usually want one of these:

- Spam or phishing pages on your domain
- SEO link spam
- A backdoor for later
- Mail relay / spam sending
- Crypto mining or malware delivery to visitors

Small sites are useful because they are plentiful and often poorly maintained. See [why hackers still hit small sites](https://wpsecurityninja.com/why-is-your-website-a-target-of-hackers/) and [why insignificant sites get attacked](https://wpsecurityninja.com/why-is-insignificant-small-site-attacked-by-hackers/).

## SEO and trust damage

Infected sites often get:

- Safe Browsing / browser warnings
- Search Console security notices
- Ranking drops after Google stops trusting the pages

!["The site ahead contains malware" warning message](https://wpsecurityninja.com/media/2019/04/2019-04-29_18-54-16.jpg)

Google’s [hacked site guidance](https://web.dev/articles/hacked) and Search Console are useful after cleanup. You still need to clean the install first. A review request before the malware is gone wastes time.

Recovery: [SEO after a hack](https://wpsecurityninja.com/recover-wordpress-websites-seo-after-hacker-attack/).

## How to confirm and clean

1. Note when symptoms started (logs, file dates, first odd admin)
2. Prefer restore from a **clean** backup from before that point
3. If no clean backup: remove unknown admins/plugins, scan files, check `wp-config.php`, `.htaccess`, mu-plugins, and uploads
4. Update core/plugins/themes, delete unused software
5. Rotate all passwords (WordPress, hosting, FTP, email, DNS) and enable 2FA
6. Scan again, then request Google review if needed

Full walkthrough: [WordPress malware removal](https://wpsecurityninja.com/wordpress-malware-removal/). [Security Ninja’s malware scanner](https://wpsecurityninja.com/malware-scanner/) helps find suspicious files. For locked-out or recurring infections, [hire cleanup](https://wpsecurityninja.com/consultation/).

## Prevention that actually matters

- Keep plugins/themes updated; delete unused ones
- Unique passwords + [2FA](https://wpsecurityninja.com/two-factor-authentication-2fa/) for admins, plus [login protection](https://wpsecurityninja.com/login-protection/)
- [Cloud Firewall](https://wpsecurityninja.com/cloud-firewall/) in front of exploit-shaped traffic
- [Scheduled scans](https://wpsecurityninja.com/scheduled-scanner/) so findings do not wait until you remember
- Off-site backups you have restore-tested ([backup plan](https://wpsecurityninja.com/create-backup-plan-if-site-gets-attacked/))

## Related reading

- [Malware scanner](https://wpsecurityninja.com/malware-scanner/)
- [Core Scanner](https://wpsecurityninja.com/core-scanner/)
- [Vulnerability scanner](https://wpsecurityninja.com/vulnerabilities/)
- [Events log](https://wpsecurityninja.com/events-logger/)
- [7 signs of a hack](https://wpsecurityninja.com/signs-wordpress-site-is-hacked/)
- [Recovery steps](https://wpsecurityninja.com/what-should-you-do-if-your-wordpress-site-is-hacked/)
- [Backup plan](https://wpsecurityninja.com/create-backup-plan-if-site-gets-attacked/)

## Bottom line

Hacks are often quiet until SEO or hosting blows up. Test logged out, trust scanners and user audits, restore or clean properly, then harden so reinfection does not become a monthly ritual.
