Free speed audit this week. Find out exactly why your WordPress site is slow. Get yours →

11 Signs Your WordPress Site Is Hacked (and What to Do)

Muhammad Younus WordPress Developer · Published 18 Jun 2026 · Updated 18 Jun 2026 · 11 min read

A hacked WordPress site doesn't always announce itself with a dramatic defacement. Often it's quieter: a redirect that only fires on mobile, spam links you can't see, or a slow slide in search traffic that you blame on the algorithm. Catching it early saves your rankings, your customers and a lot of money, so this guide lays out the warning signs, the subtle ones people miss, how to confirm a breach, and exactly what to do the moment you suspect something's wrong.

What are the signs your WordPress site is hacked?

The clearest signs are unexpected redirects to spam sites, pop-up ads you didn't add, strange new admin users, content you didn't write, a Google "this site may be hacked" warning, and a sudden traffic or ranking drop. Any one of these means you should treat the site as compromised and act fast.

Here are the warning signs to look for, in roughly the order people tend to notice them.

  • Unexpected redirects. Your site sends visitors to a spam or scam page, often only on mobile or only for people arriving from Google.
  • Pop-ups and ads you didn't add. Adverts, overlays or "you've won" pop-ups appearing on your own pages.
  • Strange new admin users. Accounts in your users list that you never created, often with odd usernames.
  • Content you didn't write. New posts, pages or links, frequently in another language or about pharmaceuticals and gambling.
  • A Google security warning. A red "this site may be hacked" or "dangerous" notice in search results or the browser.
  • A sudden traffic drop. Visitors fall off a cliff because Google flagged the site or buried it.
  • You can't log in. Your password stops working because an attacker changed it.
  • Your host suspends you. Hosting flags your account for sending spam or serving malware.
  • The site is suddenly slow. Malware using your server's resources drags performance down.
  • Spam emails from your domain. People reply about emails you never sent.
  • Unfamiliar files or scheduled tasks. Odd files in your directories or cron jobs you didn't set.
Seeing any of these right now?

Our WordPress malware removal service cleans the infection, removes the warning and hardens the site so it doesn't come back.

Get a Free Audit

What are the subtle signs people miss?

The sneaky signs are spam links hidden in your pages that only search engines see, redirects that fire only for first-time mobile visitors, and your server quietly sending spam in the background. The site looks normal to you while your rankings fall and your host gets complaints, so silent hacks need monitoring to catch.

This is what makes WordPress hacks so costly. The smart ones hide from the site owner on purpose, because the longer they stay undetected, the more value they extract. You might only find out when a customer mentions a weird redirect, or when you check Search Console and see pages indexed that you never wrote. By then the damage to your rankings is already underway.

How can a hack hurt rankings without changing what I see?

By showing different content to Google than it shows you. This is called cloaking. The malware serves clean pages to the logged-in owner and spam-stuffed pages to search crawlers, so your site quietly becomes a spam farm in Google's eyes while looking perfect in your browser. Checking Search Console and a logged-out incognito view is how you catch it.

How do you confirm your WordPress site is hacked?

Check it from a logged-out browser and on mobile, run a malware scanner, review Google Search Console for security issues and unfamiliar indexed pages, and look at your users list and recently modified files. If a scan flags malware or you find changes you didn't make, the site's compromised.

Don't rely on how the site looks when you're logged in, that's exactly the view a clever hack wants you to trust. Open an incognito window, visit from your phone, and check Search Console's Security Issues report. A reputable malware scanner gives you a second opinion, and a glance at your file modification dates often reveals files changed at times you weren't working.

What should you do if your WordPress site is hacked?

Act the same day. Put the site into maintenance mode, change all passwords, take a backup of the current state for evidence, then clean the malware from every file, remove rogue users, update everything, and request a review if Google flagged you. If you're unsure, get professional cleanup before the damage spreads.

Speed matters more than perfection here. Every hour a compromised site stays live, it can infect visitors, sink your rankings further and risk a host suspension. Here's the order that limits the damage.

  1. Take the site offline or into maintenance mode so it stops harming visitors and your reputation.
  2. Change every password, hosting, WordPress admin, database and FTP.
  3. Back up the compromised state so you have a record before you start cleaning.
  4. Remove the malware at the source, not just the visible symptoms, across all files.
  5. Delete rogue users and update everything, then close the hole that let them in.
  6. Request a Google review if your site was flagged, to clear the warning.

The trap with do-it-yourself cleanup is reinfection: malware hides in multiple places and creeps back after a partial clean. If you're not certain you've found every instance, our malware removal service handles the full clean and hardening so it doesn't return.

How do you prevent the next hack?

Keep core, themes and plugins updated, use strong passwords with two-factor authentication, run a firewall, take automatic off-site backups, and turn on security monitoring so you catch problems early. Most reinfections happen because the original hole was never closed, so hardening after a clean is essential.

A clean site that isn't hardened just gets hacked again through the same door. The lasting fix is the boring routine: prompt updates, locked-down logins and ongoing monitoring. Our full WordPress security guide walks through the hardening steps, and a care plan keeps that routine running with monitoring on every tier, so the next attempt gets caught before it lands.

Key takeaways

  • Redirects, rogue admins, mystery content and traffic drops are the loud signs.
  • Many hacks hide on purpose, so check incognito, mobile and Search Console.
  • Act the same day: maintenance mode, new passwords, full clean, then a review.
  • Harden after cleaning, or the same hole lets the attacker straight back in.

Muhammad Younus

WordPress developer and founder of Code in WordPress. 400+ projects on Upwork with a 100% Job Success rate, specialising in speed, Core Web Vitals, WooCommerce and technical SEO. He also runs full SEO, AEO and GEO for Harmonized Getaways and Areca Homes, both answerable by AI search engines today.

Related reading

Questions

Hacked WordPress, answered.

Common signs include unexpected redirects to spammy sites, pop-up ads you didn't add, strange new admin users, content you didn't write, a Google warning that your site is dangerous, or a sudden traffic drop. If you see any of these, treat the site as compromised and act quickly.

Yes, and that's common. Many hacks hide on purpose, injecting spam links only search engines see, or using your server to send spam in the background. The site looks fine to you while your rankings quietly fall and your host flags abuse. Monitoring is what catches these silent ones.

Unexpected redirects almost always mean malicious code has been injected, usually through a vulnerable plugin or theme. The malware sends your visitors to spam or scam sites, often only on mobile or only for visitors arriving from Google. It needs removing at the source, not just hiding.

It can. If Google detects malware or spam, it may show a warning in search results or in the browser, and your rankings can drop fast. The good news is that once the site is cleaned and you request a review, the warning usually clears, but speed matters, so act quickly.

Immediately. Every hour a compromised site stays live, it can spread malware to visitors, damage your search rankings and get your host to suspend the account. Take the site offline or into maintenance mode, then clean it properly or get professional help the same day.

Sometimes, if you're technical and the infection is simple. But malware often hides in multiple files and reinfects after a partial clean, so a do-it-yourself attempt frequently misses something. Professional cleanup finds every instance and closes the hole that let it in, so it doesn't return.

Malware cleanup in Australia commonly runs $200 to $1,500 as a one-off, depending on how deep the infection goes. That's before any lost sales while you're down, which is why a low-cost care plan with monitoring is cheaper than dealing with a hack after the fact.

Still got questions? Start with a free audit We'll answer everything on a quick Zoom or in writing, your call.