Ask for a free quote → Audit your website free →
100% free · No signup · No login

“This Site May Be Hacked” in Google: What It Means and How to Fix It

Most site owners find out from someone else. A customer sends a screenshot, or a friend mentions a strange line under the business name in Google. Then you search for yourself and see it: a small grey note saying “This site may be hacked” right under your listing.

That note quietly pushes visitors away, and it does not disappear on its own. Removing it is a clear process, though. You need to find what Google spotted, clean it properly, close the security hole and then ask Google to check the site again. Here is exactly how that works.

This site may be hacked warning in Google search results
This site may be hacked warning in Google search results

What Does “This Site May Be Hacked” Mean?

According to Google’s help page on this message, the label appears when Google believes a hacker may have changed existing pages on the site or added new spam pages. Google adds it to warn searchers that visiting the site could redirect them to spam or malware.

The important part for site owners is what comes next. Google states that the notification will not be removed until the website owner takes action. Waiting it out does not work, and the warning stays until the site is cleaned and Google confirms the fix.

Clicking your result still takes people to your site, but many will not click once they see the Google warning This site may be hacked under your name. In our experience, sites with the label usually see a clear drop in clicks from search, even when their rankings have not changed much yet.

This Site May Be Hacked vs Other Google Warnings

Google uses a few different warnings, and each points to a slightly different problem. Knowing which one you have tells you where to look and where to request the review.

WarningWhere it appearsWhat it usually means
This site may be hackedUnder your listing in Google SearchSpam pages, injected links or changed content added by a hacker
This site may harm your computerUnder your listing in Google SearchThe site may be spreading malware or unwanted software
Deceptive site aheadFull red page in Chrome and other browsersPhishing or pages that trick visitors into sharing details
Dangerous siteFull red page in the browserMalware or harmful downloads detected by Safe Browsing

Sites can show more than one of these at once. Check your domain in Google Safe Browsing site status as well, since browser warnings are handled through Safe Browsing while the search label is tied to the Security issues report in Search Console.

Why Google Shows This Site May Be Hacked

Google’s systems look for common signs of hacking while they crawl the web. In the cases we clean, the trigger is almost always one of these.

  • Spam pages added to your site, often in Japanese or full of product names, created by a hidden script.
  • Injected links to casino, pharmacy or adult sites hidden inside your pages or footer.
  • Changed page content, such as titles and descriptions rewritten with spam keywords.
  • Cloaking, where the hacked content is shown only to Google’s crawler and not to normal visitors.
  • Spam redirects that send search visitors to another site.

Cloaking explains why many owners cannot see anything wrong when they visit their own site. The hacked content is built to show only to search engines or only to visitors arriving from Google, which keeps it hidden from you.

Causes of the Google warning this site may be hacked
Google Warning This Site May Be Hacked Causes

Prompt: A flat infographic with five small cards in a row, each with an icon and a short label: a page with Japanese style characters labelled “Spam pages”, a chain link labelled “Hidden links”, a text block with a red edit mark labelled “Changed content”, a robot eye labelled “Cloaking”, and a curved arrow labelled “Redirects”. Blue and red accents on white, 16:9 ratio.

How to Remove This Site May Be Hacked: Step by Step

These are the steps we follow to clean a site and remove the This site may be hacked label. The order matters. Requesting a review before the site is truly clean is the most common mistake, and a failed review only keeps the warning up longer.

Step 1: Verify Your Site in Google Search Console

Search Console is where Google tells you what it found and where you ask for the review. If you have not set it up, add your site as a Domain property and verify it with a DNS record, which covers every version of your domain, including http, https, www and subdomains.

Make sure you verify the same site that shows the warning. A common slip is verifying only the www version while the hacked pages sit on the non www version or on a subdomain.

Step 2: Open the Security Issues Report

In Search Console, open Security and manual actions, then Security issues. The Security issues report shows whether Google found your site was hacked and lists the type of issue, such as content injection, URL injection or code injection, along with sample URLs.

Write down every sample URL. They are your best clues to why Google decided this site may be hacked. Open each one in a private window, and also use the URL Inspection tool’s live test to see the page as Google’s tester sees it. If the spam shows up only there, the site is using cloaking.

Search Console security issues report showing a hacked site warning

Prompt: A clean, generic dashboard mockup with a left sidebar menu and a main panel titled “Security issues”. The panel shows one red alert row labelled “Hacked: URL injection” with a list of three sample URLs below it, and a blue button at the bottom labelled “Request review”. Flat UI style, no real logos, 16:9 ratio.

Step 3: Find Every Hacked Page

Sample URLs are only examples. Search site:yourdomain.com in Google and scroll through the results looking for pages you never created, spam titles or foreign language text. Then check the Pages report in Search Console for a sudden jump in indexed pages, which often reveals thousands of spam URLs.

Run an outside scan with our free Virus Checker to catch injected scripts and links, and check whether search visitors are being redirected. A list of every affected URL pattern helps both the cleanup and the review request.

Step 4: Clean the Site Completely

Removing the visible spam pages is not enough. The script that created them, and any backdoor the attacker left, must go too. That means checking core files, plugins, themes, the uploads folder, .htaccess, the database and scheduled tasks.

Our guide on how to remove malware from WordPress walks through every place to check, with the commands and database queries we use. If the hack included redirects, the cleanup must also cover theme files, JavaScript files and database options where redirect code usually hides.

Step 5: Close the Security Hole

Google’s help page is clear on this point: if you do not fix the issue that allowed the infection, the site is likely to be reinfected. A reinfection after a successful review can bring the label straight back.

Update WordPress, every plugin, every theme and PHP. Remove unused and nulled plugins and themes. Change every password, including hosting, FTP, database and all admin accounts, and reset the security keys in wp-config.php. If the site has been hacked before, our article on why a WordPress site keeps getting hacked explains the usual reasons.

Step 6: Remove Spam URLs from Google’s Index

After the cleanup, every spam URL should return a 404 or 410 status, not redirect to your homepage. A 410 tells Google the page is gone on purpose, which can help it drop from the index faster. Do not block the spam URLs in robots.txt, because Google then cannot crawl them to see that they are gone.

Submit a clean sitemap that lists only your real pages. For a small number of especially harmful URLs, the Removals tool in Search Console can hide them from results temporarily while Google recrawls, but it does not replace a proper 404 or 410.

Step 7: Request a Review

Only request a review when the whole site is clean and the hole is closed. Google’s guidance on requesting a review lists what should be done first: site ownership verified in Search Console, the hacker’s changes cleaned, the vulnerability corrected and the clean site back online.

Go back to the Security issues report, select Request Review, and explain what you did for each type of issue Google listed. Be specific and honest. A short, clear note works better than a long, vague one.

Example review note:

URL injection: Removed 2,300 spam pages created by a malicious PHP file in

wp-content/uploads. Deleted the file and two backdoors in mu-plugins.

All spam URLs now return 410.

Content injection: Removed hidden casino links from the theme footer and

from 14 posts in the database.

Vulnerability: An outdated slider plugin was the entry point. It has been

removed. WordPress, all plugins and themes are updated, all passwords and

security keys have been changed.

Step 8: Wait for Google’s Decision

Reviews for hacked sites typically take from several days to a few weeks. Do not submit another request while one is pending, since that does not speed it up. You will get a message in Search Console when the review is complete.

If the review is approved, the label is removed from your search results. If it is rejected, Search Console usually shows updated sample URLs. Treat them as a sign that something was missed, go back to Step 3 and widen the search before trying again.

Why a Review Request Gets Rejected

A rejected review means the warning stays in place for longer, and the next review takes time again. These are the reasons we see most often when a client comes to us after a failed request.

  • Spam pages still load. Some spam URLs still return content or redirect to the homepage instead of returning a 404 or 410.
  • Cloaked content was missed. The site looked clean to the owner, but Google’s crawler still saw spam.
  • A backdoor recreated the spam. The pages came back between the cleanup and Google’s check.
  • Only one version of the domain was cleaned. Spam remained on a subdomain or on the non www version.
  • The note was too vague. A request that only says the site is fixed gives Google nothing to verify against.

Before resubmitting, test the sample URLs Google listed again, run the URL Inspection live test on several of them and search site:yourdomain.com once more. When none of those show spam, the next request has a much better chance of removing the Google warning This site may be hacked for good.

This Site May Be Hacked on WordPress: Where to Look First

Most of the sites we clean with this warning run WordPress, and the hacked content tends to come from the same few places. Checking these first saves a lot of time.

Where to checkWhat to look for
wp-content/uploadsPHP files, which should never be in a media folder
wp-content/mu-pluginsUnknown files that run automatically
Active theme filesCode added to header.php, footer.php or functions.php
.htaccessRules that serve different content to Google or redirect visitors
wp_posts tableHidden links or scripts injected into posts and pages
wp_options tableSpam scripts, changed siteurl or home values
Users listUnknown administrator accounts
Cron jobsScheduled tasks that recreate the spam pages

Japanese keyword and pharmacy spam on WordPress is often generated on the fly by a single PHP file rather than stored as real posts. That explains why owners sometimes find thousands of spam URLs in Google but nothing in the Posts list of the dashboard.

Will Your Rankings Recover After the Warning Is Removed?

In most cases, yes, though not overnight. Once the label is gone, click rates usually return as searchers stop seeing the warning. Rankings recover as Google recrawls your clean pages and drops the spam URLs from its index, which can take several weeks for large infections.

You can help the process by keeping spam URLs at 404 or 410, submitting a clean sitemap, using URL Inspection to request indexing of your most important pages, and checking that your real pages still have correct titles and descriptions. A quick scan with our SEO Analyzer confirms that hacked title tags and meta descriptions have been fully restored.

How to Avoid the Warning in the Future

The best way to deal with this label is to never see it again. On the sites we look after, these habits keep the risk low.

  • Keep WordPress, plugins, themes and PHP updated.
  • Remove plugins and themes you do not use, and never install nulled ones.
  • Use strong passwords and two factor authentication for every admin account.
  • Scan the site from the outside every week and watch for new admin users.
  • Check Search Console regularly and turn on email alerts, which tell you about security issues early.
  • Search site:yourdomain.com once a month to spot strange pages before Google labels them.

Need Help Removing the Google Hacked Warning?

Cleaning a site well enough to pass Google’s review takes care, especially with cloaked spam and thousands of injected URLs. If your review has already been rejected, or you want the job done right the first time, our team can take over.

Our WordPress malware removal service cleans every file and database table, removes backdoors, closes the security hole, sets spam URLs to return the right status codes and helps you prepare a clear review request for Search Console. Every job starts with a free check, and you receive a written quote before paying.

If you need help, simply contact us. Send your website link and a screenshot of the warning, and our team will check it and reply with the next steps.

Scan My Site for Malware Free

Remove the Hacked Warning for Me

Send My Site Link on WhatsApp

Contact Our Team

FAQs

How do I remove “This site may be hacked” from Google?

Verify your site in Search Console, check the Security issues report, clean every hacked page and file, fix the weakness that let the hacker in, then request a review. Google removes the label after it confirms the site is clean.

How long does it take for the warning to go away?

After you request a review, it typically takes from several days to a few weeks for Google to respond. The label is removed once the review is approved.

Why does Google say my site is hacked when it looks fine?

Hackers often use cloaking, which shows spam only to Google’s crawler or to visitors coming from search results. Check the sample URLs in Search Console and use the URL Inspection live test to see what Google sees.

Will the warning go away on its own?

No. Google states that the notification will not be removed until the site owner takes action. You need to clean the site and request a review.

Can I request a review without Search Console?

For the hacked label in Google Search, the review request is made through the Security issues report in Search Console, which means you need to verify ownership of the site first.

SI

SiteAuditHub Team

SiteAuditHub builds free WordPress plugins and Chrome extensions for SEO audits, site health, malware scanning and faster publishing. Every tool is tested on real websites to give you clear, practical results.

Connect on LinkedIn

Ready to check your own site?

Run a free scan and see exactly where you stand.

Analyze my site →
Chat with us