Is My Website Hacked? Warning Signs and the First Five Steps

Cybersecurity warning representing hacked website signs and recovery

Your site shows betting ads on mobile but looks fine on your laptop. Or customers report “your site gave my phone a virus.” These are classic signs of a hacked WordPress site – and panic-reinstalling usually brings the malware straight back. Here are the warning signs, the first five steps in the right order, and how to stop it repeating.

Prevention beats cleanup: what a maintenance plan includes and hosting with care.

How do I know if my website is hacked?

Your site is likely hacked if Google shows betting, pharma or adult pages under your address, mobile visitors get redirected to spam while desktop looks normal (cloaking), Search Console reports malware or “deceptive pages”, your host suspends the account for spam mailouts, or new admin users and unknown plugins appear. One confirmed sign beats ten suspicions – check your site on a phone with mobile data and in Search Console before concluding anything.

What are the first five steps after a hack?

Step 1 – Do not just reinstall yet. Put the site in maintenance mode and take a full backup of the infected state (evidence for finding the entry point). Change hosting, FTP and database passwords from a clean device.

Step 2 – Scan and identify. Run a malware scan (Wordfence or Sucuri plugin, plus the host scanner). Note infected files, unknown admins, and recently modified files – the pattern points to the entry: usually an outdated plugin, nulled theme, or stolen admin password.

Step 3 – Clean properly. Remove unknown users and plugins, replace WordPress core and all plugins with fresh copies (never “clean” core files by hand-editing), restore the database tables only if clean or clean them row by row, and remove spam pages plus their sitemap entries.

Step 4 – Close the entry point. Update everything, delete nulled or abandoned plugins, enforce strong passwords with two-factor login, and fix file permissions. Cleaning without closing the door makes reinfection likely.

Step 5 – Delist and verify. Request a review in Search Console security issues, verify no spam URLs remain indexed, and monitor for 30 days. Tell customers honestly if their data was at risk – silence is worse than the hack.

Why do small business sites get hacked?

Because they run three-year-old plugins, share one “admin/admin123” login across staff, install nulled premium themes carrying backdoors, and keep no tested backups. Attackers automate all of this – your traffic size is irrelevant. The cheapest prevention is monthly updates plus off-server backups, which is exactly what a basic care plan covers.

Warning signs, and what each one means

SymptomWhat it may meanFirst check
Search results show betting, pharma or adult pagesSpam pages injected into the site or cloaked to search enginesSearch your domain with a site: query, check Search Console
Mobile visitors redirect, desktop looks normalCloaking code targeting phone user agentsOpen the site on a phone using mobile data, not office Wi-Fi
New admin users you did not createStolen credentials or a backdoorUsers list, last login, email domains
Unknown plugins or themesMalicious upload or nulled softwarePlugins list, file dates, install source
Host suspends the account for spamCompromised mailbox or form sending bulk mailMail logs, form logs, outgoing queue
Search Console flags malware or deceptive pagesConfirmed compromise or a false positiveSecurity issues report, sample URLs
Site is suddenly slow or times outMalicious traffic, crypto mining or a broken pluginServer logs, CPU usage, recent file changes
Customers get antivirus warningsInjected script or malicious redirectScan the site and the database, check the theme files

One confirmed sign is enough to act. Do not wait for five.

The first 24 hours

  1. Isolate, do not delete. Put the site in maintenance mode and take a full backup of the infected state. The evidence helps find the entry point.
  2. Change credentials from a clean device. Hosting, FTP, database, WordPress admin, email and payment gateway. If one is compromised, assume all are.
  3. Tell the host. Ask whether the account is suspended, whether outbound mail is blocked and what they have already seen.
  4. Scan. Run a malware scanner and the host’s scanner. Note infected files, unknown users and recently modified files.
  5. Check Search Console. Look for security issues, manual actions and unusual pages in the index.
  6. Preserve logs. Download access logs and mail logs before they rotate. They show the entry point and the damage.
  7. Do not pay a ransom. Most threatening emails are sent to thousands of addresses and are not proof of access.

Clean or rebuild?

A clean is faster when the infection is contained and you can identify the entry point. A rebuild is safer when the site is old, full of abandoned plugins or infected in many files.

SituationUsually the better route
One outdated plugin, a few modified files, clean backup availableClean and patch
Multiple admin backdoors, unknown plugins, modified core filesRebuild from a known-clean backup
No clean backup, but content is in the databaseExport content, rebuild the site, re-import carefully
Nulled theme or plugin in useReplace with a licensed copy, then clean
Repeated infections after cleaningRebuild and close the entry point

A rebuild is not a failure. A site that gets reinfected every month is worse than a week of planned work.

Cleaning without missing the entry point

  • Replace WordPress core, themes and plugins with fresh copies from official sources.
  • Remove unknown users, plugins and scheduled tasks.
  • Check wp-config.php, .htaccess and the theme’s functions file for injected code.
  • Search the database for spam keywords, hidden links and unexpected admin accounts.
  • Remove spam pages and their sitemap entries, then resubmit a clean sitemap.
  • Update salts in wp-config to invalidate existing sessions.
  • Fix file permissions and remove world-writable files.
  • Close the entry point: patch the plugin, remove the nulled theme, enforce two-factor login.

Cleaning without closing the door makes reinfection likely. That is why the entry point matters more than the cleanup itself.

Search Console and delisting

  1. Confirm the site is clean and the malware scan is clear.
  2. Request a review in the Security Issues report, with a short note on what you fixed.
  3. Keep the site online and crawlable during the review. Blocking Google slows recovery.
  4. Monitor the report and the index for the next 30 days.
  5. Check that spam URLs return 404 or 410, not a redirect to the home page.
  6. Resubmit the sitemap and request indexing for the main pages.

Rankings usually recover over time, but the timeline depends on how long the site was flagged and how much spam was indexed. A partial clean that leaves pages behind drags it out.

Telling customers

If personal data may have been exposed, tell affected customers plainly. Silence is worse than the incident.

  • What happened, in one sentence, without technical jargon.
  • What data may have been involved, and what was not.
  • What you have done to fix it.
  • What the customer should do, such as changing a password.
  • A named contact and a phone number.

India’s Digital Personal Data Protection Act, 2023 has breach notification obligations. Ask your legal counsel about the timeline and the authority to notify. This is a practical summary, not legal advice.

Prevention that actually works

  • Monthly updates, with a backup taken first.
  • Two-factor authentication for every administrator, and no shared logins.
  • Remove unused plugins and themes. Every inactive plugin is code you are not watching.
  • No nulled themes or plugins. They are a common backdoor.
  • Off-server backups with a tested restore.
  • A web application firewall tuned to your traffic.
  • Least-privilege users, and a leavers process.
  • Monthly checks of Search Console, file changes and admin users.

When to call a professional

Call for help if the site is flagged by Google, the host has suspended the account, customer data may be exposed, or the infection returns after a clean. A professional clean includes the entry-point analysis, the Search Console review and the prevention work, not only a malware scan.

FAQs

Will I lose Google rankings? Temporarily, while flagged. Clean fully, request review, and rankings typically recover over weeks. Partial cleans that leave spam pages indexed drag this out for months.

Should I pay the “ransom” or the scary email? No. Most scary mails (“we hacked your site, pay in crypto”) are bluffs sent to thousands of addresses. Verify with a real scan before believing anything.

Can DeskBees clean and protect my site? Yes – cleanup plus the maintenance routine that stops repeats. Contact us with your host and symptoms; keep admin access ready.

Last updated: 20 September 2026.

Leave a Reply

Your email address will not be published. Required fields are marked *