When Google detects malware, phishing or hacked content on a website, it can show warnings in search results and full-page warnings in browsers. Most visitors leave immediately, and traffic can fall dramatically overnight. Warnings are removed once the problem is fixed and Google reviews the site. Here is the process I follow to clean up and get warnings lifted.
Types of warnings
Google Safe Browsing shows warnings such as ‘Deceptive site ahead’ for phishing or social engineering, ‘The site ahead contains malware’ for malicious downloads or scripts and ‘This site may be hacked’ in search results for spam or hacked content. Browsers such as Chrome, Firefox and Safari use Safe Browsing data.
Other vendors, such as antivirus companies and email providers, maintain their own blocklists with separate review processes.
Check Search Console
Open Google Search Console and look at the Security issues report. It lists the type of problem Google found and often sample URLs. If you have not verified the site in Search Console, do it now; you need it to request a review.
Also check the Manual actions report for related penalties. See using Google Search Console.
- 1Search ConsoleSecurity issues report
- 2Find the causeSample URLs and scans
- 3Clean fullyFiles, database, pages
- 4Close the holeUpdates and passwords
- 5Request reviewThen other blocklists
Check Safe Browsing status
Google’s Safe Browsing site status tool shows whether your domain is currently flagged and when it was last checked. Remote scanners such as Sucuri SiteCheck check several blocklists at once.
Note every list your site appears on, since each may need a separate review.
Find the cause
Use the sample URLs from Search Console as a starting point. Common causes include malicious redirects, injected scripts, phishing pages uploaded to your hosting, spam pages created by attackers and compromised third-party scripts or ads.
Run a server-side malware scan and look for unknown files and pages. See scanning WordPress for malware and signs your website has been hacked.
Clean the site thoroughly
Remove all malicious code, files and pages. Replace WordPress core, plugins and themes with clean copies from official sources, clean the database and uploads folder and remove unknown admin users. A partial cleanup will fail Google’s review.
Follow the full process in what to do when your WordPress site is hacked.
Close the vulnerability
If the vulnerability remains, attackers will reinfect the site, often before or soon after the review. Update or remove vulnerable plugins, change all passwords and security keys and add a firewall.
See my security hardening checklist.
Remove spam pages from search
For spam pages created by attackers, make them return 404 or 410 so Google drops them. Use the Removals tool in Search Console to hide them temporarily while Google recrawls. Submit an updated, clean sitemap.
Check that robots.txt and sitemaps have not been modified by attackers.
Request a review
In Search Console’s Security issues report, confirm you have fixed the issues and request a review. Describe what you found and what you did to fix it, briefly and specifically. Reviews for malware and hacked content are often processed within a few days; phishing reviews can be faster.
If the review is rejected, Google usually indicates that problems remain. Scan again, fix remaining issues and resubmit.
Other blocklists
Check antivirus and security vendor blocklists, such as those used by Norton, McAfee and others, and request removal through their forms once the site is clean. Some update automatically after rescanning.
Email blocklists are separate; if your server sent spam, check those too.
Recover search visibility
Once warnings are removed, traffic usually recovers, but spam pages, lost rankings and damaged links may take time to resolve. Monitor Search Console for indexing problems and fix any remaining issues.
Check that important pages are indexed and request indexing for key pages if needed.
Communicate with customers
If customers saw warnings, consider a short message explaining that the issue has been resolved, especially if they may have been exposed to phishing or malware. If personal data was affected, legal notification duties may apply.
Honest communication protects trust better than silence.
Prevent future warnings
Set up regular malware scans, a firewall, uptime and security alerts, and keep Search Console email notifications enabled so you hear about issues immediately. Keep plugins updated and avoid untrusted code.
See website uptime monitoring and WordPress activity logs.
Hacked content on shared hosting
Sometimes a warning is caused by another site on the same hosting account, such as an old test site or forgotten subdomain that was compromised. Attackers use these to host phishing pages or malware under your domain or IP address.
Check every site and folder in your hosting account, remove old installations you no longer need and secure the rest. Delete unused subdomains and their DNS records so they cannot be reused.
Getting help
If your site has a Google warning, contact me. Cleanup, review requests and ongoing protection are part of my website protection service.
For overall protection, read website security for small businesses.
Key takeaways
- Search Console's Security issues report shows why Google flagged the site.
- Clean the site completely and close the vulnerability before requesting review.
- Remove spam pages with 404 or 410 responses and the Removals tool.
- Request removal from other blocklists separately once clean.
Frequently asked questions
How long does it take to remove a Google warning?
Reviews often take a few days after you request them, once the site is clean.
Why was my review rejected?
Google still found malicious content. Scan again and fix remaining issues.
Do I need Search Console to remove a warning?
Yes. Reviews are requested through Search Console.
Will my rankings recover?
Usually, once warnings are removed and spam pages are gone.
Can a third-party script cause a warning?
Yes. Compromised ads or scripts can trigger warnings even if your files are clean.
How can I be alerted quickly next time?
Enable Search Console email notifications and security monitoring.
Does Bing show similar warnings?
Yes. Bing and other browsers use their own lists. Bing Webmaster Tools offers a review process.
