“This Site May Be Hacked”: How to Remove Google’s Warning

How to remove Google's "This site may be hacked" warning

Seeing “This site may be hacked” under your business listing in Google is alarming, and it tends to hit enquiries straight away, because searchers skip flagged results. The label doesn’t disappear on its own: it goes when the site is genuinely clean and Google has confirmed it. Here’s how the process works and how to avoid the mistakes that keep the warning in place.

What does “This site may be hacked” mean in Google?

It means Google’s systems have detected content on your site that it believes was added by someone other than you, typically spam pages, hidden links or cloaked content. It’s a warning to searchers, not a penalty on its own, but it usually reduces clicks sharply until it’s removed.

It’s different from the full-screen red “Dangerous site” warning, which Google’s Safe Browsing shows when it detects malware, phishing or harmful downloads. Both require a clean-up and a review, but the red warning usually indicates a more immediate risk to visitors. Our page on Google saying your website is dangerous covers that version.

How do I find out what Google detected?

Open Google Search Console and go to Security & Manual Actions → Security issues. Google normally lists the type of problem (for example “Hacked: content injection” or “Hacked: URL injection”) and some example URLs.

If you don’t have Search Console set up, verify your site first. It’s free, and you’ll need it to request a review. Then search Google for site:yourdomain.com.au and look for pages, titles or languages that don’t belong to you.

How do I remove the “This site may be hacked” warning?

Clean the site completely, fix how the attacker got in, remove the spam pages from Google’s index, then request a review in Search Console. Google removes the label once its review confirms the site is clean.

Step 1: Clean the site, not just the pages Google lists

The URLs in Search Console are examples, not a full list. The spam pages are usually generated by malicious code in a plugin, theme, the uploads folder or the database. Deleting the pages without removing the code means they reappear. Look for backdoors too, or the attacker will simply return.

Step 2: Close the entry point

Update or remove vulnerable plugins and themes, reset all passwords (WordPress, hosting, FTP, database), and remove unknown admin accounts once they’ve been documented. If you skip this, the site may be reinfected before the review is even processed.

Step 3: Deal with the spam URLs in Google’s index

Once the code is gone, the spam URLs should return a “404 Not Found” or “410 Gone” response. Google drops them from the index over time as it recrawls. For urgent cases, the Removals tool in Search Console can temporarily hide specific URLs while that happens. Don’t redirect spam URLs to your homepage; that looks like the same problem to Google.

Step 4: Request a review in Search Console

In the Security issues report, confirm you’ve fixed the problem and request a review. Describe briefly what you found and what you did: the type of infection, what was removed, and how the entry point was closed. Specific, honest notes help.

How long does it take Google to remove the warning?

It varies. Reviews for hacked-content issues are often completed within several days, but they can take longer, and a failed review adds more time. The fastest path is a thorough clean-up the first time.

After the label is removed, rankings for your normal pages usually recover as Google recrawls the site, although spam URLs can linger in results for a while before they drop out.

Why does the warning come back?

Almost always because the clean-up removed the symptoms but not the cause. Leftover backdoors, an unpatched plugin or a compromised password let the attacker reinfect the site, and Google flags it again.

Repeated flags make each review harder to pass. If your site has been flagged more than once, it’s worth having the whole site reviewed rather than repeating a quick clean.

Can I stop this happening again?

Keep plugins updated, use strong passwords with two-factor authentication, keep a firewall in front of the site and watch Search Console for new security alerts. Our WordPress security checklist covers the essentials.

If you’d prefer someone else to watch it, Dr Web’s care plans include monitoring and a firewall, and the Business and Commerce plans include a hack-cleanup guarantee.

Frequently asked questions

The label mainly reduces clicks, because searchers avoid flagged results. The spam content behind it can also affect how Google sees your site. Cleaning up and getting the label removed is the priority.

No. Google only removes the label after a review confirms the site is clean. Requesting a review before the clean-up is complete usually fails and delays the process.

Yes. The review request is made through Search Console, so the site must be verified there. Verification is free.

“This site may be hacked” appears in search results when Google detects spam or injected content. The red full-screen warning appears when Safe Browsing detects malware or phishing that could harm visitors. Both need a clean-up and a review.

Warning still showing? Dr Web cleans the site, closes the entry point and prepares the review notes. Get your website checked.