Hacked & Security
Chrome Shows a Red 'Dangerous Site' Warning on My Website
Updated
Dangerous site
What's happening
You, or a customer, opened your website and got a full red page from Chrome instead. The heading says "Dangerous site", or "Deceptive site ahead", "The site ahead contains malware" or "The site ahead contains harmful programs". The wording changes with what Google found, but the message is the same: Google's Safe Browsing list now includes your site, and Chrome warns anyone who tries to visit. Most people turn back, which is the point.
Chrome isn't the only one reading that list. Firefox and Safari draw on it too and show their own version of the warning, Microsoft Edge keeps a list of its own, and some antivirus programs block flagged sites as well. So the warning may reach visitors in several forms, and in one browser before another.
Two other warnings get mixed up with this one. A grey "Not secure" label next to your web address is a certificate problem, not a hack, and here's what "Not secure" means. A "This site may be hacked" line under your Google listing is a note to searchers rather than a full-page block, though it usually has the same cause, and here's what that label means.
Your site isn't gone, and your content is almost always still there. This is a cleanup job. The first safe step is to look your site up in Google's free Safe Browsing site status page rather than clicking past the warning.
Why it happens
Google lists a site when its scanners find something that can hurt visitors: malware that tries to install itself on a visitor's device, a fake login or payment page built to steal details, hidden redirects to scam sites, or downloads carrying unwanted software. On a WordPress site, that almost always means the site was hacked through an outdated plugin, theme or WordPress version, or a weak password. For how that happens, see My WordPress site was hacked.
Three things catch owners out. The flag can come from a single page, so the pages you open can look fine while a customer hits the red screen. The harmful part doesn't have to live on your site at all: if a page pulls in an ad, a widget or a script from another site that is already on the list, Google can flag yours for loading it. And many hacks hide from the logged-in owner and show only to visitors.
Meanwhile the warning does real damage. Visitors leave. Google Ads doesn't allow ads that lead to a site it considers compromised, so ads pointing at your site can be disapproved while the flag is up. Links to your site in emails can be flagged too, so a newsletter you send may land in spam or carry its own warning.
What you can safely try
- Check the Safe Browsing site status page rather than clicking through the warning. It tells you whether Google currently lists the site and, in broad terms, what it found. It's also how you'll know when the flag has come off.
- Open the Security issues report in Google Search Console if your site is set up there. It names the kind of problem and lists example pages. Here's what that report means. If you're not set up there, that comes first: it's the only place to ask Google for a review later.
- Change your passwords for WordPress, hosting and email from a device you trust. It won't remove the hack, but it stops a stolen password being reused while the site is cleaned.
- Write down what customers saw. If the site sent someone elsewhere, that's also a redirect hack, and the details help whoever cleans it.
Those checks tell you that Google found something, not where it lives or how it got in. That takes someone looking inside the site. And some things not to do:
- Don't ask Google for a review yet. A request on a half-cleaned site fails, and you're back where you started.
- Don't tell customers to click through the warning. Chrome lets people continue through "Details", but the page behind it may be harmful, and asking people to ignore a security warning costs trust.
- Don't restore a backup to make it go away. Unless the copy is from before the break-in, it brings the infection straight back, and the flag with it. More in can I restore my site from a backup.
When to call us
We work on business websites, and a flagged site is exactly the cleanup we do. Here's what happens:
- We find what Google found, and the rest. Google's examples are a starting point, not the full list. We go through the files, the database, the user accounts and anything the site loads from elsewhere.
- We remove it without taking your site with it. Your content, design and search listings stay.
- We close the way in. Update or replace whatever had the hole, reset every password and access key, and remove unknown accounts.
- We send the review request. Once the site is genuinely clean, we write the request in Search Console: what was wrong, what we fixed, and what changed to keep the attacker out. If Search Console isn't set up, we set it up with you. Google then re-checks the site and decides whether to remove the flag. That decision and its timing are Google's; our part is making sure the site passes.
- We tell you when it's gone, and what we found, including anything you may need to tell customers.
Our hacked site cleanup starts at a flat $249. We look at the site first, confirm the price for your job, and you approve it before any work starts. There's a breakdown in how much it costs to fix a hacked site. If your host has paused the site in the meantime, that's a separate notice with the same fix. If you'd rather not think about this again afterwards, there's a plan for that. The cleanup comes first.
Start with our Hacked Site Cleanup.
Common questions
- Will the warning go away on its own?
- Don't count on it. The warning stays up while the harmful code is still on your site. The reliable way to clear it is to clean the site completely, then ask Google for a review in Search Console. The review is Google's, on Google's timeline.
- Is it safe for me to visit my own site?
- Not while the warning is up. If your site is serving something harmful, it can target your computer the same way it targets visitors. Use Google's Safe Browsing site status page to see what was flagged instead of clicking past the warning.
- Why do customers see the warning when I don't?
- A few reasons, and from the outside we can't tell which. Google may have listed only some pages, so the ones you open look fine. Your browser or its settings may differ from theirs. And many hacks hide from the logged-in owner and show only to visitors, or only to people arriving from Google. If a customer saw it, believe the customer.
- Does the warning hurt my Google ranking?
- The warning is aimed at visitors rather than at your ranking. But the hack behind it often comes with spam pages or hidden redirects that do change how you show up in search, and people turning back at the red page does your listing no favours. The same cleanup deals with both.
Related terms
Want this fixed for you?
Hacked Site Cleanup
From $249, flat rate. You approve the price before we start.
Not an emergency? Get a free audit of your site, done by a person, no obligation.