WordPress Security ServicesMalware Removal
Hacked or Infected?

Is My WordPress Site Hacked? How to Tell, and How to Check for Sure

Something feels off. A customer mentioned a strange redirect, Google shows odd pages, or your host sent a scary email. Before you panic, or ignore it, here's how to check whether your WordPress site is actually hacked. Most of these checks take a few minutes and need no technical skills.

Sergey By Sergey, WordPress security specialist Updated 3 min read
In this guide
  1. The quick answer: the most common signs
  2. Five-minute checks anyone can do
  3. Deeper checks, if you’re comfortable with files
  4. False alarms worth ruling out
  5. What to do if your site is hacked

The quick answer: the most common signs

You don’t need to be technical to spot most hacks. These are the signs I see most often on sites that turn out to be infected:

  • Redirects. Visitors, often only on mobile or only when arriving from Google, end up on scam, gambling or adult sites.
  • Strange pages in Google. Searching for your site shows Japanese text, pharmacy products, casino links or pages you never wrote.
  • Warnings. Google shows “This site may be hacked” or a red “Deceptive site ahead” page, or an antivirus blocks your site.
  • A message from your host saying your site appears to be infected with malware, or that it’s been suspended.
  • Admin users you didn’t create, or your own password suddenly not working.
  • Unknown files, especially PHP files in wp-content/uploads.
  • Fake prompts on your site, such as a “Verify you are human” box asking visitors to run a command.
  • Your server sending spam email, or your host warning about high resource usage.

One sign is enough to investigate. Two or more, and you can be almost certain.

Five-minute checks anyone can do

1. Search Google for your own site

Search site:yourdomain.com. Then try site:yourdomain.com viagra, site:yourdomain.com casino and site:yourdomain.com loan. Pages you never created mean an SEO spam infection, even if the site looks normal to you.

2. Visit your site like a stranger would

Use a phone on mobile data (not your Wi-Fi), in a private tab. Search for your business on Google and click the result. Many redirects only fire for visitors who come from Google, on a phone, for the first time. Exactly the kind of visit you never make yourself.

3. Check Google Search Console

If you have Search Console, open Security & Manual Actions → Security issues. If Google has found malware, hacked content or phishing, it says so there, with example URLs. Also check Settings → Users and permissions: owners you don’t recognize are a strong sign of a hack.

4. Check Google’s site status

Google’s Safe Browsing “site status” page in its Transparency Report tells you whether Google currently considers your site dangerous. Free online scanners such as Sucuri SiteCheck add a second opinion on what visitors see.

5. Look at your users

In the WordPress dashboard, open Users and filter by Administrator. Anyone you don’t recognize, especially with an odd name or an email at a strange domain, is a red flag. Some malware hides its accounts from this screen, so a clean list isn’t proof.

Deeper checks, if you’re comfortable with files

  • PHP files in uploads. wp-content/uploads should contain media, not code. Any .php file there (other than a harmless index.php that says “Silence is golden”) is suspicious.
  • Core file integrity. With SSH, wp core verify-checksums lists every WordPress core file that’s been changed or added.
  • Recently modified files. A burst of files all modified at the same minute, in folders you didn’t touch, usually means something was injected.
  • Your theme’s functions.php and header.php. Scroll to the very top and bottom. Long blocks of random-looking characters, eval( or base64_decode( are typical malware.
  • The database. Scripts inside posts or widgets, and strange entries in wp_options. My database malware guide has safe, read-only queries.

False alarms worth ruling out

Not everything strange is a hack:

  • Adware on your own computer can add pop-ups and redirects to every site you visit. Test on another device.
  • Your own ad network may occasionally serve a bad ad. That’s the ad provider’s problem, not malware on your server.
  • A plugin conflict can cause errors that look alarming but aren’t malicious.
  • Old blocklist entries can linger after a site was cleaned, if nobody requested a review.

If you’ve ruled these out and the signs remain, assume it’s real.

What to do if your site is hacked

  1. Don’t panic, and don’t delete files at random. You can destroy the evidence of how they got in.
  2. Back up the site as it is, including the database.
  3. Change your hosting, SFTP and WordPress passwords from a computer you trust.
  4. Then clean it, either by following my step-by-step guide to fixing a hacked WordPress site or by having it cleaned professionally.

From my cleanup work: the most common thing owners say is “but the site looks completely normal”. That’s exactly what good malware is designed to do. The owner is the last person it wants to bother. If customers, Google, your host or an antivirus are telling you something is wrong, take it seriously even if you can’t see it yourself.

Sergey, WordPress Security Specialist
About the author
Sergey, WordPress Security Specialist

10 years in WordPress security and incident investigation, and more than 200 websites cleaned of malware. Top Rated on Upwork with a 100% Job Success score. More about me

Frequently Asked Questions

Can a WordPress site be hacked without me noticing?

Yes, and that's usually the point. Modern malware tries to stay invisible to the owner: it skips logged-in admins, only shows spam to Google, or only redirects mobile visitors. Many sites are infected for weeks before anyone notices.

My antivirus warns about my site, but security plugins say it's clean. Who's right?

Sometimes the antivirus is reacting to an old blocklist entry or a false positive, and sometimes the plugin is missing something. Check from several angles: Google Search Console, an online scanner, and a phone on mobile data. If two independent checks agree there's a problem, treat it as real.

Is a slow website a sign of hacking?

It can be. Cryptominers, spam mailers and spam page generators all eat server resources. But slowness has many innocent causes too. Look for slowness plus another sign, such as a hosting warning, unknown files or strange traffic.

I see pop-ups on my site, but only on my computer. Is it hacked?

Check from another device first. Adware or a malicious browser extension on your own computer can inject pop-ups into every website you visit, including yours. If the pop-ups also appear on a clean phone, the site is the problem.

Need a hand?

Let me clean your WordPress site for you

Send me your site URL and what you're seeing. I'll reply with what I think is going on and the next step.

$95 per infected site · 1-month guarantee · direct contact with the specialist

Get My Site Cleaned →