Is My Website Hacked? Warning Signs, Evidence and Safe Next Steps
Learn how to spot hacked website symptoms, preserve useful evidence and prepare for safer malware removal without making the incident harder to investigate.
A hacked website is not always obvious. Some sites are defaced on the homepage, but many compromises stay quiet: a few spam pages appear in search results, mobile visitors are redirected, a plugin file changes, or a browser warning appears only after Google or another scanner revisits the site.
The safest first response is to slow down and preserve useful evidence. Deleting random files, reinstalling plugins repeatedly or restoring an old backup without checking the entry point can hide the information needed to understand what happened. This guide explains what to look for, what to save and when to ask for help with website malware removal.
Common hacked website warning signs
Start with the symptom that made you suspicious. Keep notes with the date, page address and device used. The same symptom can have more than one cause, so the goal is to collect enough facts for a careful investigation.
- Spam pages in search results: unfamiliar URLs appear for casino, pharmacy, adult, crypto or fake support terms.
- Unexpected redirects: visitors land on another domain, sometimes only from mobile devices or after clicking from search.
- Browser or search warnings: users report unsafe-site messages, malware warnings or hacked-content labels.
- Changed files: theme, plugin, upload or server files show recent changes nobody on the team recognizes.
- Unknown admin users: new accounts, changed roles or password resets appear without a business reason.
- Unusual server activity: high CPU, suspicious outbound mail, unfamiliar scripts or modified scheduled tasks.
Google's spam policies describe hacked content as material placed on a site without permission, including injected code, injected pages, content changes and redirects. That range is why a clean-looking homepage is not enough to prove the whole site is clean.
Check what Google and visitors can see
If Search Console is configured, review security messages, manual actions and indexed examples before changing the site. Google has also advised site owners investigating a hack to review server logs, unfamiliar user accounts, modified files and the possible scope of the incident in its official hacked site guidance.
Search for a few known brand terms and suspicious phrases from user reports. If a result looks unfamiliar, record the full URL and screenshot the result. Do not click unknown spam pages from a logged-in administrator browser. Use a separate browser profile or ask a technical person to collect the evidence safely.
Ask whether the problem affects every visitor or only a certain path. A redirect that appears only from mobile search results may point toward conditional code, cloaking or injected JavaScript. A warning on downloads may involve files hosted on the site rather than the page template itself.
WordPress-specific signals worth checking
For WordPress websites, review the admin users, active plugins, themes, recently modified files, upload folders and any custom code. The official WordPress hacked site FAQ recommends changing passwords and secret keys, checking users and replacing compromised files with clean copies as part of recovery work.
Do not assume every problem is caused by the newest plugin. A vulnerable plugin can be the entry point, but injected content may live in theme files, the database, mu-plugins, uploads, cron jobs or hosting-level files. If you only remove one visible file, the site may look fine briefly and then reinfect itself.
WordPress hardening is not a single setting. The WordPress hardening handbook covers practices such as limiting access, keeping software current and using appropriate file permissions. After cleanup, those basics matter because malware removal without hardening returns the site to similar risk conditions.
What evidence should you save before cleanup?
Good evidence helps the response move faster. It also helps avoid removing the wrong thing or blaming the wrong system. Keep the notes factual and avoid sharing passwords, private customer data or access keys in an initial support message.
- Exact URLs: affected pages, suspicious search results, redirects and warning examples.
- Timing: when the issue was first noticed and any recent updates, deployments or hosting changes.
- User reports: device, browser, location pattern and what the visitor clicked before the warning.
- Administrative changes: new users, changed roles, plugin additions or unfamiliar settings.
- Scanner details: product name, scan time and the file or URL identified.
- Backups: available restore points and whether any backup has been tested.
If the site processes orders, memberships or form enquiries, preserve records needed to understand whether private data may be involved. Incident response can become a legal or contractual matter, so do not edit logs or delete evidence casually.
Do not restore a backup blindly
A backup can be useful, but it is not automatically clean. If the compromise happened before the backup was created, restoring it may restore the same injected files or database entries. If the entry point remains open, a clean backup can be compromised again.
Before restoring, identify the approximate start date, compare file changes and check whether plugins, themes, credentials and hosting access are still exposed. A careful recovery plan usually combines file replacement, database review, credential rotation, updates and monitoring.
For business sites, record who approved the restore, what data may be lost and how the team will verify that contact forms, orders, login pages and analytics still work afterward.
How malware removal should be scoped
Website malware removal should have a written scope. At minimum, the person helping should know the platform, hosting access available, symptoms, urgency, backup status and whether Search Console or hosting scanner reports exist. Avoid vague promises such as "100% hack proof after cleanup." No responsible provider can guarantee that.
A practical cleanup may include isolating the site, taking a backup for investigation, removing injected code, replacing core files, reviewing users, rotating credentials, updating vulnerable components, checking redirects, testing public pages and setting up post-cleanup monitoring. Some cases also need hosting-provider involvement if server-level files or mail abuse are involved.
Ask for a summary of what was found and what changed. That summary is useful for future maintenance and for deciding whether additional website security services, firewall rules or monitoring are needed.
When to request a review or recheck
If Google showed a hacked content or malware warning, do not request review until the issue is actually cleaned and verified. Sending a review request too early can delay recovery and create confusion for everyone involved.
Check affected examples, scan the public site, review server files where access allows, confirm redirects are gone and verify that normal pages still behave correctly. If a warning remains after cleanup, keep the review factual: describe what was fixed, how the issue was verified and what safeguards changed.
Even when no warning appears, keep monitoring for a few days. Some injected pages are discovered later, and cached search results can lag behind the technical fix.
A practical next-step checklist
- Save suspicious URLs, screenshots and scanner reports before deleting anything.
- Check Search Console, hosting alerts and recent administrative changes.
- Take a safe backup for investigation, even if you plan to restore another copy.
- Rotate administrator, hosting, database, FTP/SFTP and email passwords where relevant.
- Update WordPress core, plugins, themes or application dependencies after compatibility checks.
- Review admin users, API keys, scheduled tasks, redirects and unfamiliar files.
- Confirm forms, checkout, logins and public pages still work after cleanup.
If you need help, send MaxMindSecurity the domain, the symptom, timing, platform and any warning text through the contact page or request a quote for WordPress malware removal. Keep passwords and private data out of the first message.
Editorial note: this article was prepared with AI assistance and reviewed against the linked Google and WordPress documentation. The scenarios are educational examples, not claims about a specific customer site. The featured image is an AI-generated illustration reused from the site's malware-removal service artwork.
What did you notice first?
Use the symptom closest to your situation to decide what evidence to collect before cleanup begins.
Google shows spam pages for my domain
Save the search result and full URL. Record the query, result page, suspicious address and date. Then check Search Console for security or indexing examples before deleting files.
Spam pages can exist even when the normal homepage still looks clean.
Visitors are redirected to another website
Capture the path and device pattern. Note whether the redirect happens from Google, mobile browsers, a specific page or every visit. Conditional redirects can be harder to reproduce later.
Ask a technical person to review scripts, server rules, plugins and database content instead of testing repeatedly from a logged-in admin browser.
A scanner found suspicious files
Keep the scan details. Save the tool name, scan time, file path or URL and detection text. Removing one flagged file may not address the account, plugin or server issue that allowed it.
Use the report to scope cleanup, not as proof that every other file is safe.
I restored a backup but the problem came back
Investigate the entry point. Compare when the backup was created, what changed afterward and whether credentials, plugins, themes or hosting access were also corrected.
A clean restore can be compromised again if the vulnerable path stays open.