Skip to content
Rescue 404

Website Security

This Site May Be Hacked Warning (WordPress Repair)

Intermediate Risk: high

Last reviewed

Hosting access may not be needed Database access usually not needed

Direct answer

Google’s “This site may be hacked” search warning means Google detected signs that unauthorized content was added to the site; inspect Search Console’s Security issues report, clean every affected URL and entry point, then request review after the WordPress installation is genuinely secure.

This label usually appears beside a Google search result, not as the red Safe Browsing browser interstitial covered by our separate warning guide. It often points to injected spam pages, hidden links, cloaking, or redirects that a normal homepage visit will not reveal. Recovery requires both a complete WordPress cleanup and a Search Console review.

Intermediate

Key facts

Verifiable numbers and definitions — each claim links to its source.

What the error means

Google may add a hacked-site label when its systems find content placed without the owner’s permission. Search Console can identify the issue type and provide sample URLs, but those samples are clues rather than a complete inventory. Attackers commonly hide pharmaceutical spam, doorway pages, links, or redirects from logged-in administrators while serving them to search crawlers or visitors arriving from Google. Rescue 404 treats the label as evidence of compromise: preserve the incident state, contain risk, clean files and database records, rotate access, close the vulnerable path, and only then request review. This differs from a Safe Browsing interstitial, which blocks navigation because Google believes a page may harm or deceive visitors; one compromised site can trigger either or both systems.

Common symptoms

  • Google results show “This site may be hacked” beneath pages from your domain
  • Search Console Security issues lists hacked content or code/content injection
  • Search results contain pharmacy, gambling, counterfeit, or foreign-language pages you did not publish
  • Google’s cached snippets or indexed titles differ from what you see while logged in
  • Visitors arriving from search are redirected while direct visits appear normal
  • Unknown PHP files, administrators, cron jobs, or recently modified theme files appear
  • The warning remains after deleting one visible spam page

Most likely causes

  1. 01 A vulnerable or abandoned WordPress plugin or theme allowed unauthorized writes
  2. 02 Stolen wp-admin, hosting, SFTP, database, or deployment credentials
  3. 03 Injected database posts, options, widgets, or serialized settings generating spam
  4. 04 Malicious code using cloaking to target Googlebot, referrers, devices, or logged-out users
  5. 05 Backdoors in uploads, must-use plugins, drop-ins, cron, or theme files restoring deleted content
  6. 06 A compromised sibling site or shared-hosting account reinfecting this installation
  7. 07 An incomplete earlier cleanup removed samples but left the original entry point open

What changed before the problem started

  • A plugin, theme, or WordPress core update was delayed or failed
  • A new administrator, contractor, or shared credential gained access
  • Search Console sent a security notification or index coverage changed sharply
  • The host reported malware, outbound spam, or unusual resource use
  • A migration copied old backdoors or exposed backup archives into the web root
  • Traffic began landing on unfamiliar paths or search queries

Troubleshooting steps

  1. 01

    Verify the exact Google report

    Open the verified Search Console property and inspect Security issues, messages, issue types, detection dates, and sample URLs. Save screenshots before changing anything. Success signal: you can distinguish a hacked-content search label from a Safe Browsing interstitial or an SSL warning.

  2. 02

    Contain visitors and preserve evidence

    If spam redirects, phishing, or downloads are active, use maintenance mode or host-level restrictions while retaining a dated file-and-database forensic copy offline. Do not leave the infected archive in public hosting. Success signal: visitors are no longer exposed and the pre-clean state is preserved.

  3. 03

    Check samples as a logged-out visitor

    Test every Search Console example in a private window and compare direct visits with visits using a Google result. Inspect rendered source and response redirects. Success signal: you understand whether the compromise is page injection, content injection, or cloaking.

  4. 04

    Restore or rebuild from trusted WordPress packages

    Restore a known-good backup or replace core, plugins, and themes from WordPress.org or licensed vendors. Quarantine unknown code, inspect uploads and drop-ins, and remove injected database content. Success signal: sample and discovered spam URLs return legitimate content or an intentional 404.

  5. 05

    Rotate access and close the entry point

    Change WordPress, host, SFTP/SSH, database, CDN, and registrar credentials; regenerate WordPress salts; remove unknown users and unused software; patch the vulnerable component. Success signal: old sessions and passwords fail and the cleaned site does not repopulate spam.

  6. 06

    Request review only after a complete clean

    Use Search Console’s Security issues review flow and describe the issue removed, affected areas cleaned, vulnerability fixed, and access rotated. Success signal: the request is accepted for processing and no known malicious URL remains live.

When to stop troubleshooting

Stop DIY work if injected pages return after cleanup, you cannot identify a clean backup, customer or payment data may have been exposed, multiple sites share the infected account, or Google rejects a review while sample URLs still behave differently by crawler or referrer. Preserve logs and bring in an incident responder before more evidence disappears.

Information to collect before requesting help

  • 01 Screenshot and exact wording of the Google search warning
  • 02 Search Console Security issues types, dates, and sample URLs
  • 03 First observed date and whether the label appears on all or selected results
  • 04 WordPress, PHP, plugin, and theme versions at discovery
  • 05 Host malware reports and last known-good backup date
  • 06 Recent admin, SFTP, deployment, DNS, or hosting changes
  • 07 Examples of injected pages, redirects, titles, or unfamiliar domains
  • 08 Whether Security issues, Manual actions, or Safe Browsing also report a problem

How a professional repairs the problem

Rescue 404 preserves evidence, maps Google’s samples to the wider compromise, removes file and database persistence from clean sources, rotates the full credential chain, and fixes the vulnerable entry point. We validate logged-out, crawler-like, and direct requests, submit a factual Search Console review, and monitor the repaired WordPress site for reinfection and warning removal.

Frequently asked questions

Is this the same as Google’s red “Deceptive site ahead” page? +
No. “This site may be hacked” is commonly a search-result label for unauthorized content. A red browser interstitial is a Safe Browsing warning about harmful or deceptive behavior. Check Search Console because both can exist together.
Why does my homepage look normal? +
Hacks often live on generated URLs or use cloaking to hide from administrators and direct visitors. A clean homepage is not evidence that Search Console’s samples are false.
Can I remove the warning by deleting the sample URLs? +
Not safely. Samples are starting points. Remove all malicious content, persistence, and the vulnerability that allowed it before requesting review.
Should I use the URL removal tool on every spam page? +
Cleanup comes first. Deleted spam URLs should return a correct 404 or 410; temporary removals do not repair a compromised server or guarantee the warning will clear.
How soon will Google remove the label? +
There is no instant switch. Google must process the review and recrawl enough of the site to verify the repair, so timing varies with the issue and crawl activity.
Does changing my WordPress password fix it? +
No. Rotate all credentials, but also remove malicious files and database content, revoke sessions, patch vulnerable software, and verify that no persistence remains.

Repair dispatch

Still Need Help Fixing Your Website?

If you are not comfortable editing website files, changing server settings, repairing a database, or troubleshooting a live website, professional help may prevent additional damage or downtime. We will review the problem before accepting the repair.

  • You will receive a clear explanation of the likely cause.
  • We will tell you if the issue falls outside our repair scope.
  • No additional work will be performed without approval.
  • A backup should be created whenever access and website condition allow it.

Do not share passwords through an unencrypted contact form — use Password Pusher (self-destructing link). Prefer a dedicated Rescue 404 admin account, not your personal owner login; if you cannot create one yet, we will add ours after repair.

Written by Josh

Last reviewed

Platform note: Full rescue available for WordPress and self-hosted sites. Wix, Squarespace, Webflow, Weebly, and similar closed builders have very limited backend access — fixes may not be possible. I will tell you honestly before we start.