Deal with Google's hacking warning using Search Console, clean every URL affected, then ask for a new review. The priority is to restore a situation under control without wiping the traces useful to the diagnosis.

How do I recognise Google's “This site may be hacked” warning?
An infection is not resolved by deleting the visible file alone. You have to contain the incident, identify the point of entry, clean out every persistence mechanism, renew the secrets and then watch for files or accounts reappearing. Start by noting when it appeared, the most recent changes, the URLs concerned and the behaviour observed.
Test the site from a browser with no session, on mobile, and by arriving from a Google result: many infections only fire for certain visitors, or for crawlers. Note the suspicious URLs, the redirects you see and the Search Console warnings.
A warning under the Google result
A security issue in Search Console
Unknown pages or snippets indexed
One signal alone does not prove the cause: “A warning under the Google result” can come from “Injected content or malicious redirects” just as easily as from “Back-door files still active”. Look for at least two findings that agree before you apply a lasting fix.
What signifie exactement l’avertissement de Google
The note “This site may be hacked” appears under the result when Google detects signs of compromise, usually spam pages or links added without your knowledge. It is different from Safe Browsing's red screen, which warns of malware or phishing.
The detail is in Search Console, under Security Issues, with sample URLs. Those are samples: the clean-up has to cover the whole site, including the directories and subdomains everyone forgets.
Getting the warning lifted after the clean-up
Once the site is clean, the ways in are closed, and the spam pages return 404 or 410, request a review from the Security Issues report. Describe precisely what you found and fixed: the review is not instant and usually takes several days.
Meanwhile, strip the spam URLs out of the sitemap, check robots.txt is not blocking the crawl of your legitimate pages, and watch for new suspicious URLs with a site:yourdomain.com search. A reinfection during the review means a refusal.
Causes to check
For Google's “This site may be hacked” warning, the 4 causes below are ranked from the commonest to the rarest. Test the one matching the site’s most recent change first, one at a time.
Injected content or malicious redirects
Back-door files still active
A vulnerable CMS or plugin
An incomplete clean-up after an earlier infection
Search Console's Security Issues report, the server access logs, the user list, the recently changed files and the scheduled tasks all give precise dates. Keep that trail: it is how you find the way in.
A good fix does not merely make the symptom disappear. It explains why the problem appeared and how to check that it does not come back.
Precautions before starting
Take a full copy of the files and the database, then keep it aside as evidence: it must not serve as a restore point until the infection is understood.
Then change the administrator, FTP, database and hosting passwords, and rotate WordPress's security keys, to close the doors the attacker could use again.
Check what a reported page really does
Enter a sample URL from the Search Console report: we fetch its HTTP status and its real redirects from our servers.
The check queries this address directly from our servers. No data is kept.
Need help cleaning up and passing Google's review?
Ask for supportDiagnosis and fix
| Phase | Objective | A mistake to avoid |
|---|---|---|
| Observe | Reproduce it and gather the evidence | Changing several settings before you have a baseline |
| Isolate | Confirm the component or the rule responsible | Deleting files without keeping a copy |
| Fix | Apply the smallest documented change | Restoring a version that still contains the same cause |
| Validate | Test the whole journey and monitor it | Concluding from the home page loading alone |
How do I resolve the problem?
The 4 steps below tackle Google's “This site may be hacked” warning from the least intrusive to the heaviest. After each change, repeat the same test; if nothing changes, go back to the previous state before moving on to the next step.
- 01
Step 1
Open the Security Issues report and export the examples.
- 02
Step 2
Put the site out of the attacker's reach without blocking the analysis you need.
- 03
Step 3
Clean the files, the database, the accounts and the scheduled tasks, then close the hole.
- 04
Step 4
Test the URLs reported and request the review in Search Console.
check every example Google gives, and similar URLs.
Validate the resolution
After the clean-up, scan the files and the database again, review the administrator list, and test the redirects from several devices and from Google. Where Search Console reported a problem, request the review only once those checks are done.
Validation checks
Schedule a second integrity check a few days later: a back door you missed can reinfect the site after a clean-up that looked successful.
Prevent a recurrence
Prevention has to answer the cause you identified. For Google's “This site may be hacked” warning, the first measure is “Keep an eye on Search Console”; note too the signal that would have shown the incident sooner, and who is responsible for watching for it.
Keep an eye on Search Console
Keep the CMS up to date
Rotate the secrets after an incident
Log the changes
Delete the plugins you do not use, keep administrator accounts few, turn on two-factor authentication and monitor file changes. Security rests on those layers together, not on a single plugin.
Frequently asked questions about Google's “This site may be hacked” warning
How long does the warning stay up?
It stays until Google has seen that the problem is fixed. After the clean-up, a review request from the Security Issues report speeds the check up, and it usually takes several days.
Can I request the review before finding the hole?
It is not advisable. If the site is reinfected during or after the review, the request is rejected and the warning comes back. Close the way in first: a vulnerable plugin, a compromised account or a malicious file.
Do you need to remove the spam pages from the index by hand?
Removing the code that generates them and letting the URLs return 404 or 410 is enough for them to drop out as crawling continues. The URL removal tool can hide the most visible ones for a while.
How do you check the fix will hold?
Check every example Google gives, and similar URLs. Check no files have reappeared. Wait for the report to clear before calling the incident closed. Then watch the logs, the alerts and the relevant metrics for several days.
How to resolve it
If Google's “This site may be hacked” warning persists after these steps, we can pick the diagnosis up again from your logs and your access details, without acting blind on the site.
Get a diagnosisSummary with an AI
Choose your assistant: the request is prefilled where that is possible, and always copied, ready to paste if need be.

































🍪