Skip to content
Webyant

8 Signs Your Website Has Been Hacked (and What to Do Next)

By Jayanti Solanki · · 2 min read

Pile of old keys representing website security and access control

Most website owners discover a hack weeks after it happens — usually when a customer complains or Google flags the site. The longer malware sits on your server, the more damage it does to your rankings, reputation and customer data.

Here are the warning signs to watch for, and what to do the moment you spot one.

8 signs your website has been hacked

  1. Unexpected redirects — visitors (often only mobile users or visitors from Google) are sent to spam, gambling or pharmacy sites.
  2. Google warnings — “This site may be hacked” in search results or a red “Deceptive site ahead” screen in Chrome.
  3. Spam pages in search — search site:yourdomain.com and you see pages in Japanese or about products you don’t sell.
  4. New admin users you didn’t create.
  5. Sudden slowdowns or high server CPU caused by crypto-mining or spam scripts.
  6. Hosting suspension or emails from your host about malicious activity.
  7. Modified files — unfamiliar PHP files in uploads folders or obfuscated code in theme files.
  8. Email problems — your domain is blacklisted because the server is sending spam.

What to do immediately

  1. Don’t panic, and don’t delete everything. You may destroy evidence needed to find the entry point.
  2. Take a full backup of the current (infected) state for analysis.
  3. Change all passwords — hosting, FTP/SFTP, database, CMS admins and email.
  4. Put the site in maintenance mode if it is harming visitors.
  5. Contact your host — they may have logs showing how the attacker got in.

How a proper cleanup works

  • Scan files and database for malware, backdoors and injected code.
  • Replace core files, themes and plugins with clean copies.
  • Remove unauthorised users and scheduled tasks.
  • Identify and patch the vulnerability that allowed the attack — usually an outdated plugin, weak password or vulnerable theme.
  • Request a Google review to remove warnings, and delist from spam blacklists.

Cleaning without finding the entry point is why many sites get reinfected within days.

Prevent the next attack

  • Keep core, themes and plugins updated.
  • Use two-factor authentication and strong passwords.
  • Install a web application firewall.
  • Run daily off-site backups.
  • Remove unused plugins, themes and old staging sites.

Hacked right now?

Webyant’s website security and malware removal team cleans hacked WordPress, WooCommerce and custom PHP sites, removes Google warnings and hardens your site against repeat attacks. Contact us for urgent help.

  • website security
  • malware removal
  • wordpress maintenance

Share this article

Jayanti Solanki

Founder, Webyant Technologies

For 17+ years, Jayanti has been turning designers' visions into websites that actually work: pixel-perfect, lightning-fast and built to convert. A Computer Applications honours graduate and certified Shopify Expert, Jayanti founded Webyant in 2016 and now leads a team crafting WordPress, Shopify, Webflow and Next.js websites (and, lately, AI assistants) for brands from Deesa to around the world. On this blog, Jayanti shares the practical, no-fluff lessons learned from shipping 100+ real projects.

Need help with this? Explore our services

FAQ

Frequently asked questions

How do I check if my website is hacked?

Look for unexpected redirects, Google warnings, spam pages in a site: search, unknown admin users and modified files. Google Search Console's Security Issues report is also a key check.

How do websites usually get hacked?

The most common causes are outdated plugins or themes, weak or reused passwords, nulled premium plugins and insecure hosting.

Can I just restore a backup to fix a hack?

Restoring a clean backup can help, but without fixing the vulnerability the attacker used, the site is often reinfected within days.

How long does malware removal take?

Most hacked websites can be cleaned within 24 to 48 hours. Removing Google warnings after a review request usually takes a few more days.

Will a hack hurt my Google rankings?

Yes, if left unresolved. Spam pages and malware warnings damage rankings and click-through rates, but rankings usually recover after a thorough cleanup.

Do I need to tell my customers about a hack?

If customer personal or payment data may have been accessed, you may have legal obligations to notify users and authorities. Seek advice quickly.

Is a security plugin enough to protect WordPress?

It helps, but security also needs regular updates, strong authentication, a firewall, backups and good hosting.

Can you remove the 'This site may be hacked' warning?

Yes. After the cleanup we request a review in Google Search Console, which removes the warning once Google confirms the site is clean.

Related articles

Let’s build something great together.

Tell us about your project and get a free, no-obligation proposal within 48 hours.