Website care guide

How to fix a "Compromised site" disapproval or "This site may be hacked" warning

If Google Ads has disapproved your ads for "Compromised site", or Google shows "This site may be hacked" under your listing, Google believes someone else has control of parts of your website. Here is how to find the problem, clean it up and get your ads running again.

Key points

  • Start in Google Search Console: the Security issues report shows what Google found.
  • Clean the cause, not just the symptoms, or the hack comes back.
  • Request a review in Search Console, then appeal the ads in Google Ads.
  • Keep software updated and backups off-server to prevent it happening again.
On this page
  1. What the warnings mean
  2. Step 1: Confirm what Google found
  3. Step 2: Contain the damage
  4. Step 3: Find and remove the hack
  5. Step 4: Fix how they got in
  6. Step 5: Deal with spam URLs
  7. Step 6: Request a review
  8. Step 7: Get your ads approved again
  9. How to stop it happening again

What the warnings mean

Where you see itWhat it means
Google Ads: Compromised site (ads disapproved)Google found malware, hidden redirects or hacked content on your landing page or domain. Ads stay disapproved until it is fixed.
Google Search: This site may be hackedGoogle found pages or content added by a hacker, often spam pages in another language or about pharmacy, casinos or loans.
Chrome: Dangerous site or Deceptive site aheadGoogle Safe Browsing found malware or phishing. Visitors see a red warning page.

Step 1: Confirm what Google found

  1. Open Google Search Console for your domain. If you have not set it up, verify it now with a DNS record.
  2. Go to Security & Manual Actions → Security issues. Google lists the type of problem and sample URLs.
  3. Check the Pages and Performance reports for URLs you do not recognise. Hacked sites often have hundreds of spam pages.
  4. Check your site on Google's Safe Browsing site status page (transparencyreport.google.com/safe-browsing/search).

Step 2: Contain the damage

  1. Take a full backup of files and database as they are now, for investigation.
  2. Change every password: hosting, control panel, FTP or SFTP, database, every website admin and your domain registrar.
  3. Remove any admin users you do not recognise.
  4. If the site is redirecting visitors to scams, consider putting up a temporary maintenance page.
  5. Pause your Google Ads campaigns so you are not paying for disapproved or harmful traffic.

Step 3: Find and remove the hack

On WordPress sites, check these places:

Where to lookWhat looks suspicious
Plugins and themesOnes you did not install, or "nulled" (pirated) copies
wp-content/uploadsPHP files. Uploads should only hold images and documents.
.htaccess, wp-config.php, index.phpRedirect rules or code you did not add
Any PHP fileeval, base64_decode or long scrambled strings
Posts, pages and usersSpam content, unknown admins, unknown scheduled tasks
File datesFiles changed recently that you did not edit

The safest clean-up is to reinstall WordPress core, themes and plugins from official sources, then restore only your content and uploads after checking them. Remove any "nulled" (pirated) themes or plugins; they often contain backdoors.

If the site is old or heavily infected, rebuilding it cleanly can be quicker and safer than cleaning. A simple static site has very little for hackers to attack.

Step 4: Fix how they got in

Common causes are outdated plugins, weak or reused passwords, nulled themes, old PHP versions and shared hosting with poor isolation. Fix the cause before asking for a review, or the hack will come back and the next review takes longer.

Step 5: Deal with spam URLs

Pages the hacker created should now return "404 Not found" or "410 Gone". In Search Console, use Removals → New request to hide them from search quickly. Use a URL prefix removal if they all sit in one folder. Old pages from your own previous site can be redirected (301) to the matching new page instead.

Step 6: Request a review

  1. In Search Console, open Security issues, tick that you have fixed the issues, and click Request review.
  2. Explain briefly what you found and what you did: removed malware, updated software, changed passwords, fixed the cause.
  3. Google says malware reviews usually take a few days. Reviews for spam hacks can take longer.

Step 7: Get your ads approved again

  1. In Google Ads, open Policy manager (under Tools).
  2. Find the disapproved ads, choose Appeal, and select that you have made changes to comply.
  3. If the appeal fails, contact Google Ads support and mention that Search Console shows no security issues.

How to stop it happening again

RiskPrevention
Outdated softwareUpdate WordPress, themes and plugins weekly
Malware uploadsUse a firewall and malware scanning
Stolen passwordsStrong, unique passwords and two-factor login for every admin
Losing everythingDaily backups stored away from your server
Forgotten entry pointsRemove unused plugins, themes and old admin accounts
Late discoveryCheck Search Console monthly. See our website maintenance checklist.

Want this done for you?

Hacked website repair (Site Rescue)

We set this up for businesses in India, Australia and the UK, with a fixed fee agreed upfront.

Questions

How long does it take Google to remove the "This site may be hacked" label?

After a successful review, the label is usually removed within a few days. The review itself can take a few days for malware and longer for spam hacks.

Can I run Google Ads to a different domain while my site is flagged?

Only to a domain you own that is clean. Google may also check related domains, so fix the main site rather than relying on a workaround.

Will my rankings recover after a hack?

Usually, once the spam pages are removed and Google recrawls the site. It can take several weeks for search traffic to return to normal.

Do I need to rebuild my website after a hack?

Not always. A thorough clean-up and hardening works for many sites. If the site is old, unmaintained or repeatedly hacked, a clean rebuild is often cheaper in the long run.

Ashok Saini

About the author: Ashok Saini

Founder of Pavlino Digital. Working in digital marketing since 2002: websites, landing pages, CRMs, Google Ads and SEO for businesses in India, Australia and the UK.

Want us to look at your setup?

WhatsApp