WordPress Security ServicesMalware Removal
Google Warnings

How to Remove "This Site May Be Hacked" and "Deceptive Site Ahead" Warnings From Google

Few things hurt a website faster than a Google warning. Searchers see "This site may be hacked" under your listing, or visitors hit a full red page saying the site ahead is deceptive or contains malware. The warnings come off once the site is clean and Google has reviewed it.

Sergey By Sergey, WordPress security specialist Updated 3 min read
In this guide
  1. Which warning do you have?
  2. Step 1: Confirm what Google found
  3. Step 2: Clean the site completely
  4. Step 3: Request a review
  5. Step 4: Wait, and clean up search results
  6. If the review fails
  7. Don’t forget the other blocklists

Which warning do you have?

Google shows two quite different kinds of warnings:

Warning Where it appears What Google found
“This site may be hacked” A line under your listing in search results Hacked content, usually spam pages or links added by an attacker
“Deceptive site ahead” A full red page in Chrome and other browsers, before your site loads Phishing, or content that tricks visitors (fake prompts, fake downloads)
“The site ahead contains malware” / “harmful programs” A full red page in the browser Code that tries to install software or harm visitors

The red browser pages come from Google Safe Browsing, which Chrome, Firefox and Safari all use. They’re more urgent: they stop most visitors from reaching your site at all.

Step 1: Confirm what Google found

Open Google Search Console → Security & Manual Actions → Security issues. Google lists the issue type (malware, hacked content, social engineering…) and sample URLs. Those URLs are your starting point. They show exactly where Google saw the problem.

While you’re in Search Console, check Settings → Users and permissions. Attackers sometimes add themselves as owners of hacked sites. Remove anyone you don’t recognize.

Step 2: Clean the site completely

This is the part that decides whether the warning comes off. Google re-checks during the review, and partial cleanups fail. That means removing:

  • the malware or spam itself, including anything stored in the database;
  • the backdoors that would put it back;
  • the spam pages, so their URLs return a 404 or 410 error;
  • and the way the attacker got in, usually an outdated plugin or a stolen password.

My step-by-step guide to fixing a hacked WordPress site covers the full process. Then test the site the way Google and visitors see it: from a phone on mobile data, and by clicking through from a Google search.

Step 3: Request a review

Back in Security issues, tick the box confirming you’ve fixed the issues and click Request review. In the description, be specific and brief:

The site was hacked through an outdated plugin. I removed the injected scripts from the theme and database, removed two backdoor files and an unauthorized admin account, updated all plugins, and changed all passwords. The spam URLs now return 404.

A clear description like this helps. “The site is clean now” doesn’t.

Step 4: Wait, and clean up search results

Google’s own guidance is that malware reviews usually take a few days, and reviews for hacked spam can take several weeks. Meanwhile:

  • Make sure spam URLs return 404 or 410, so Google drops them as it recrawls.
  • Submit your clean sitemap in Search Console.
  • Use the Removals tool for the most embarrassing spam URLs, to hide them temporarily.

If the review fails

Google found something you missed. The usual suspects are spam shown only to Googlebot (cloaking), a second backdoor that restored the malware, or infected pages in a subfolder you didn’t check. Use URL Inspection → Test live URL on the reported URLs to see exactly what Google sees.

A pattern I see a lot: the owner cleans what they can see, requests a review, and it fails, twice. The site looks fine to them because the spam is only served to Google’s crawler. Testing with URL Inspection shows the hidden pages immediately. Once the cloaking code is removed, the next review passes.

Don’t forget the other blocklists

Google is the biggest, but not the only one. Antivirus vendors, Microsoft’s SmartScreen and others keep their own lists, and they don’t automatically follow Google. See what to do when an antivirus or browser flags your site.

Want it handled for you? Getting Google warnings removed is part of my hacked website cleanup, at no extra cost.

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

How long does it take for Google to remove the warning?

It depends on the problem type. According to Google, reviews for malware usually take a few days, phishing reviews about a day, and reviews for sites hacked with spam can take several weeks. The clock only starts once you request a review in Search Console.

Can I remove the warning without cleaning the site?

No. Google re-checks the site during the review. If the malware or spam is still there, the review fails and the warning stays. Repeated failed reviews can make later reviews take longer.

I don't have Google Search Console. What do I do?

Set it up. It's free, and it's the only way to request a review. You verify that you own the domain, usually by adding a DNS record or uploading a file, and the security report then shows what Google found.

The warning is gone in Google, but my antivirus still blocks the site. Why?

Antivirus and browser vendors keep their own blocklists. Each one has its own review or false-positive form. My guide on antivirus warnings covers how to get removed from them.

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 →