Website Security
This Site May Be Hacked Warning (WordPress Repair)
Last reviewed
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.
Key facts
Verifiable numbers and definitions — each claim links to its source.
- Search Console’s Security issues report shows issue types and sample affected URLs and provides the review workflow after cleanup. (Google Search Console Help — Security issues)
- Google defines hacked content as content placed on a site without permission and identifies code injection, page injection, content injection, and redirects as examples. (Google Search Central — spam policies)
- WordPress recommends documenting indicators and times, scanning both the website and local environment, resetting access, and taking a backup during post-hack response. (WordPress.org — hacked-site FAQ)
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
- 01 A vulnerable or abandoned WordPress plugin or theme allowed unauthorized writes
- 02 Stolen wp-admin, hosting, SFTP, database, or deployment credentials
- 03 Injected database posts, options, widgets, or serialized settings generating spam
- 04 Malicious code using cloaking to target Googlebot, referrers, devices, or logged-out users
- 05 Backdoors in uploads, must-use plugins, drop-ins, cron, or theme files restoring deleted content
- 06 A compromised sibling site or shared-hosting account reinfecting this installation
- 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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? +
Why does my homepage look normal? +
Can I remove the warning by deleting the sample URLs? +
Should I use the URL removal tool on every spam page? +
How soon will Google remove the label? +
Does changing my WordPress password fix it? +
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.