Skip to content
Get a quote
Website Security

Website Hacked? A Step-by-Step Recovery Guide for Business Owners

Short answer: if your website is hacked, act quickly: put the site in maintenance mode, take a backup of the hacked state for investigation, change all passwords, identify and remove malicious files and users (or restore a clean backup), update everything, close the vulnerability that was exploited, and request a review in Google Search Console if Google flagged your site. Then strengthen security so it doesn’t happen again.

Key takeaways

  • Speed limits damage to customers, SEO and reputation.
  • Restoring a backup without fixing the cause often leads to reinfection.
  • Change every password: hosting, database, admin, FTP/SFTP and email.
  • Indian organisations may have to report certain cyber incidents to CERT-In within 6 hours.

Signs your website is hacked

  • Redirects to spam, gambling or adult sites
  • Japanese or pharma spam pages in Google results
  • Unknown admin users or files
  • “This site may be hacked” or “Deceptive site” warnings
  • Hosting suspension or unusual resource use
  • Customers reporting fake payment pages or emails

Step-by-step recovery

  1. Stay calm and document: note what you see, when, and screenshots.
  2. Contain: enable maintenance mode; inform your hosting provider.
  3. Preserve evidence: download a copy of files, database and logs.
  4. Change credentials: all admin, hosting, database, SFTP, email and API keys. Enable 2FA — see 2FA guide.
  5. Find the cause: outdated plugins, weak passwords, vulnerable code, compromised accounts.
  6. Clean or restore: remove malicious code and users, or restore a known-clean backup — see backup strategy.
  7. Update everything: CMS, themes, plugins, server software.
  8. Scan again with a reputable malware scanner.
  9. Request review in Google Search Console’s Security issues report.
  10. Notify where required: affected users, and authorities such as CERT-In or the Data Protection Board when the law requires it.

Prevent it happening again

Need urgent help?

HezalNova cleans hacked websites, closes vulnerabilities and sets up ongoing protection. See web security solutions or contact us now.

Frequently asked questions

How long does hacked website recovery take?

Simple infections can be cleaned in hours; complex cases and Google review can take several days.

Will my Google rankings recover?

Usually, once the site is clean and warnings are removed. Fast action limits damage.

Should I just rebuild the website?

Sometimes rebuilding on a clean, updated setup is safest — especially for very old sites.

Let’s build something extraordinary — together.

Tell us what you need. We’ll reply within one working day with ideas and a clear price.