Skip to content
  1. Home
  2. Guides
  3. How to tell if WordPress has been hacked
Security

WordPress hacked? 10 signs and what to do right away

Most hacks aren't noticed by the site owner – but by customers, Google or the host. Here's how to check in a few minutes whether your site is affected, and how to avoid mistakes in the first hour.

  • René Braun
  • 29 October 2026
  • 4 min read
René from Blitzmoon René Braun Author of this article
Acute emergency?If your site is currently redirecting visitors, Google is showing a warning or your host has suspended it: read the section “The first hour” and get in touch. We clean up WordPress sites with up to 15 subpages for a fixed price of €399 incl. VAT.

Why hacks go unnoticed for so long

Attackers don't want to be noticed. They're after your Google ranking, your mail server or your visitors – and that works best as long as you don't notice anything. That's why malicious code often only shows up under certain conditions: only for visitors coming from Google, only on smartphones, only on the first visit. As a logged-in administrator, your site looks completely normal to you.

The way in is almost always a known security vulnerability in a plugin or theme that was fixed by an update long ago, or a weak or reused password.

10 signs that your site has been hacked

1. Visitors end up on other sites

Customers tell you about casino, dating or fake shop sites, but you don't see anything yourself. Test on your smartphone over mobile data, in a private window and by clicking through from the Google results.

2. Google or the browser shows a warning

“Dangerous site” or “Deceptive site ahead”: Google has put your site on its Safe Browsing list. You can check the status in the Google Transparency Report.

3. Unknown pages in Google's index

Search Google for site:yourdomain.com. If pages with Japanese characters, potency pills, branded goods or loan offers show up, someone has created spam pages under your domain.

4. Alerts in Search Console

Google reports any problems it finds under “Security & Manual Actions”. Sudden new search queries or thousands of new pages in the “Pages” report are also suspicious.

5. Your host suspends your site or contacts you

An abuse email, a suspended hosting package or disabled email sending is a clear signal. Hosts often detect malicious code and spam sending before you do.

6. Unknown users

Check “Users” for administrators nobody created. Some attackers even hide their account in the list – in that case the count at the top doesn't match the entries shown.

7. Your login no longer works

Password changed, admin email address swapped: someone has locked you out.

8. Strange files on the server

PHP files have no business being in the wp-content/uploads folder. Equally suspicious: files with cryptic names in the root directory or a recently changed .htaccess containing redirects.

9. Your emails end up in spam

If your server is sending out spam in bulk, your domain ends up on blocklists – and your perfectly normal emails stop arriving.

10. The site is suddenly slow

Constantly high server load without more visitors can point to crypto miners or spam scripts.

How to check your site in 10 minutes

  1. Search Google for site:yourdomain.com and go through the results.
  2. Check the status in the Google Transparency Report.
  3. Open the site on your phone via a Google search, not directly.
  4. Go through the user list and the installed plugins in WordPress – do you recognise all of them?
  5. Open the “Security & Manual Actions” section in Search Console.
  6. Look for abuse notices and the most recently changed files in your hosting panel.

An external scanner such as Sucuri SiteCheck finds known malicious code on publicly visible pages. But a clean result doesn't mean everything is clean – it can't see backdoors in the file system.

The first hour: what you should do

  1. Don't delete anything. Changed files and logs show how the attackers got in.
  2. Change your passwords – from a clean device: WordPress, hosting, FTP/SFTP, database, email.
  3. Inform your host and ask whether they have logs and backups.
  4. Secure existing backups somewhere safe, but don't restore them blindly. First check how long the infection has been there.
  5. Get help if you're unsure. Every day with malicious code costs trust and rankings.

The most common mistakes after a hack

  • Just running a security plugin. It removes visible malicious code but often leaves backdoors behind in the database or uploads.
  • Restoring an old backup and carrying on. The vulnerability stays open – the next infection usually follows within days.
  • Not changing passwords. If login details were stolen, the attackers are straight back in.
  • Forgetting the Google warning. It only disappears once you request a review in Search Console.

How to protect yourself in future

The good news: simple measures, applied consistently, stop the vast majority of attacks. Keep WordPress, plugins and themes up to date, delete unused plugins, use strong passwords with two-factor authentication, limit login attempts, back up regularly to an external location and have your site scanned automatically for malicious code. That's exactly what our WordPress maintenance takes care of, from €79 a month.

René Braun from Blitzmoon

René BraunTogether with Tim and Kai, René looks after the WordPress sites of freelancers and businesses from Kiel – with updates, backups, security and hosting. More about us