Skip to content

How to get Google to remove the ‘this site may harm your computer’ warning

By William · · updated · 4 min read

A closed laptop on a desk next to a plant and notebook
AI-generated image.

The red warning in your browser and the "Security Issues" alert in Google Search Console are not a content penalty. They mean Google's crawler found malicious code or a redirect on a page it checked. You remove the warning by first cleaning the malware from your server and database, then submitting a Review Request in Google Search Console under Security Issues. Google re-crawls the site and lifts the flag only if it finds no malicious code on the pages it checks.

Key takeaways

  • The red warning is a Security Issue in Search Console, not a content penalty.
  • You must clean the malware from your server and database before submitting a Review Request.
  • A scanner that only matches known signatures will miss a new backdoor, such as a PHP file named wp-config.php.bak containing eval(base64_decode(...)).
  • Google has not provided a fixed timeframe for re-reviewing a site after you submit a Review Request in our recent experience.
  • Update WordPress core, all plugins, and themes to the latest versions to harden the site.

What the red warning actually means

The warning appears in the browser and in your Search Console dashboard. It is separate from a Manual Action, which is a policy violation.

Stop the bleeding before you ask Google

Put the site behind a maintenance page or take it offline so visitors are not redirected. Keep the hacked files and database as evidence; do not delete them yet. Check your hosting account for a suspension notice and reply to it. If you use a CDN, purge its cache so the clean version is what Google sees.

Find and remove the backdoor

Scan the file system for recently modified PHP files and unknown .php files in the uploads folder. Check the database for injected links in posts, pages, and the options table. Look for a hidden admin user in the wp_users table. Remove the malicious code, not just the symptom; a scanner that only matches known signatures will miss a new backdoor.

Submit the Review Request in Search Console

Go to Security Issues in Search Console and click Review Request. Use the wording: "All malicious code has been removed. The site has been restored from a clean backup and hardened. Please re-crawl." Submit only after you have confirmed the clean version is live and the cache is purged.

How long the re-review takes and what to do while you wait

Google does not publish a fixed timeframe for re-reviewing a site after you submit a Review Request. The wait can vary, so treat the period as open-ended until the status changes. Keep the site online and clean during the wait; do not make unrelated changes that could trigger a new crawl of modified files. Check the Security Issues page in Search Console daily for a status change. If the warning persists after a clean re-crawl, submit a second request with a note that the issue was resolved.

Illustration: How long the re-review takes and what to do while you wait

Harden the site so the warning does not come back

Update WordPress core, all plugins, and themes to the latest versions. Change every admin password and remove any unknown user accounts. Install a file-integrity monitor that alerts you when a core file changes. Limit file permissions so the web server cannot write to the wp-admin and wp-includes folders.

When to call a professional

If you cannot access the file system or database, a host or agency must intervene. If the site is part of a larger network, one hacked site can be a foothold for the others. If the backdoor is in a compiled or obfuscated file you cannot read, a specialist is faster than trial and error. A professional should give you the scope, price, and turnaround in writing before any chargeable work starts.

What this guide does not cover

It does not cover legal obligations for notifying customers if their data was exposed. It does not cover recovering a site that was deleted by the host for policy violation.

Frequently asked questions

What should I do before asking Google to re-review my site?

Clean the malware from your server and database, then submit a Review Request in Google Search Console under Security Issues.

Related on this site

This article was drafted with AI assistance and checked before publication.

Free calculator: Website hack downtime cost calculator

The full guide: WordPress Hack Recovery Checklist

Free sample: WordPress Hack Recovery Checklist
Get the free sample now, and new guides by e-mail.