In this guide
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.