You open your own website and Chrome shows a red screen: “Deceptive site ahead”. Or it says “The site ahead contains malware”. Your customers see the same screen, and they leave.
This warning comes from Google Safe Browsing. Chrome, Firefox and Safari all use it, and Google Search can show “This site may be hacked” under your listing too. In most cases it means Google found harmful content on your site. On a small business WordPress site, that almost always means the site has been hacked.
The good news is that the warning can be removed. Google takes it off once the problem is fixed and checked. This guide explains how, in order.
What the different warnings mean
Google uses a few different messages. They point to different problems.
- Deceptive site ahead. Google found pages that try to trick visitors, for example a fake bank or fake login page, or a page that asks for card details. Hackers often hide these pages deep inside a hacked site, where the owner never looks.
- The site ahead contains malware. Google found code that tries to install harmful software on visitors’ devices, or sends them to a site that does.
- This site may be hacked. This shows in Google search results, under your site’s name. Google thinks someone added pages or links to your site without your permission, often spam pages in another language.
All three mean the same first step: find out exactly what Google found.
Step 1. Check what Google found
Use Google Search Console
Search Console is a free Google tool for site owners. If you already use it, log in and open Security & Manual Actions > Security issues. Google lists the problem it found and some example addresses on your site.
Never used Search Console? You can still set it up now
The red warning does not stop you. It is only shown to people who visit your site in a browser. It does not block Google’s own checks, your domain settings or your hosting account, so you can add your site to Search Console today, even while the warning is showing.
The simplest way is through your domain, because it does not touch the website at all:
- Go to Google Search Console and sign in with a Google account.
- Choose Domain, type your domain (for example yourbusiness.com) and click Continue.
- Google gives you a short line of text (a TXT record). Copy it.
- Log in to the company where you bought your domain (for example GoDaddy, Namecheap, IONOS or Cloudflare). Open the DNS settings for your domain and add a new TXT record with that text.
- Go back to Search Console and click Verify. This often works in a few minutes, but it can take longer.
If the DNS settings are confusing, Google also offers other ways to verify, for example uploading a small file to your site through your hosting account’s File Manager.
Once your site is verified, the Security issues report shows what Google has found on it now, so you don’t lose anything by setting it up late. You also need Search Console later to ask Google to remove the warning.
If you would rather not do this part yourself, ask your web designer or your host, or ask us when you get in touch.
Check the Safe Browsing status page
Open the Google Safe Browsing site status page and type your website address. It tells you if Google currently thinks your site is unsafe.
Write down the example addresses
Copy the addresses Google lists. They show where the harmful content is. Often it is a folder or a page you have never seen, for example a fake login page inside your uploads folder.
Step 2. Don’t delete the site or start over in a panic
Many owners delete files they don’t recognise, or reinstall WordPress over the top of the hacked site. This often makes it worse. The hacker’s files stay behind, and you lose the evidence of how they got in.
Before you change anything, make a full copy of the site as it is now: files and database. If you use a backup plugin or your host offers backups, use that. This copy is only for checking, not for restoring.
Step 3. Find and remove the harmful content
This is the part that takes skill. Hackers rarely leave one file. They usually leave:
- the fake pages or harmful code Google found,
- a hidden way back in (a backdoor), often in the uploads folder, a plugin folder or the database,
- sometimes a new admin user.
If you only delete the pages Google found, the hacker uses the backdoor and puts them back. Then Google flags the site again.
Hidden spam pages are a common cause. The Japanese keyword hack is one of the most frequent on small sites.
A proper repair looks like this:
- Scan the files and the database with a malware scanner, then check the results by hand.
- Find how the attacker got in. It is usually an outdated plugin or theme, or a stolen password.
- Restore the last clean backup, or rebuild from clean parts: fresh WordPress, theme and plugins reinstalled from their original source.
- Check the uploads folder. Only images and documents belong there, so remove any code files.
- Check the database for hidden links, scripts and admin users you don’t know.
- Update or replace the plugin or theme the attacker used.
- Change every password: WordPress, hosting, database and FTP.
- Scan again to confirm the site is clean.
If you have a backup from before the hack, restoring it is often the fastest clean start. You still need steps 6 and 7, or the same hole stays open.
Not sure if your site is hacked at all? Our guide Is my WordPress site hacked? lists the signs and the free checks you can run.
Step 4. Ask Google to review your site
Only do this when the site is clean. In Search Console, open Security issues, tick that you have fixed the issues and click Request Review. Explain in a few lines what you found and what you did, for example: “Removed fake login pages from the uploads folder, restored a clean backup, updated the plugin that was used to get in, changed all passwords.”
Google says reviews can take several days or weeks. You get an email when the review is done. If the site is clean, the warning is removed.
Don’t ask for a review before the site is clean. Google says that a request sent before the problem is fixed can slow down the next review, and a site can be marked as a repeat offender.
What if your site was not hacked?
It happens, but it is less common than owners hope. Google can flag a site because:
- it loads a script, ad or widget from another site that has been hacked,
- it links to or sends visitors to a site Google has flagged,
- a page on it looks like a login page for another company.
The Security issues report still shows what Google found. Remove or replace the part that causes it, then request a review the same way.
How long until visitors stop seeing the warning?
Once Google approves the review, the warning stops showing in browsers. This can take a little longer to reach everyone, because browsers update their list of unsafe sites on their own schedule.
While you wait, you can tell regular customers by email or social media that the site is being fixed and is safe again once the warning is gone.
How to stop it happening again
Most small business sites get hacked through a plugin or theme that was not updated, or through a weak or reused password. To lower the risk:
- Update WordPress, your theme and your plugins regularly.
- Remove plugins and themes you don’t use.
- Use strong, unique passwords and turn on two-factor login.
- Keep daily backups stored away from your hosting, so you have a clean copy to go back to.
- Run a firewall and a malware scan so an attack is found early, before Google finds it.
Need help with a Deceptive site ahead warning?
If you would rather not do this yourself, we can do it for you. Hacked Site Rescue starts from €149. We check your site first and confirm the price before we start. Then we restore a clean copy, close the way in, change your passwords, scan again and help you ask Google to remove the warning.
To stop it happening again, our WordPress care plan costs €29 a month plus tax. It includes daily backups, safe updates, a firewall, daily malware scans and vulnerability checks every 6 hours. If your site is hacked after 30 days on the plan, we get it back online at no extra cost.
Leave a Reply