Guide · Hosting, email & security

What to do if your website gets hacked

A hacked website is stressful, but it's usually recoverable. Acting calmly and in the right order limits the damage and gets you back online faster.

3 min read · UpClick Digital

Signs of a hack include strange pages or links you didn't create, visitors being redirected to other sites, warnings in Google search results or the browser, unfamiliar admin users, spam being sent from your server or a notice from your host. Here's what to do.

1. Don't panic, and don't delete everything

Wiping the site immediately can destroy evidence of how the attacker got in, which you need to prevent it happening again. Take a breath and work through the steps.

2. Contact your host and web partner

Your hosting provider can often see what happened, isolate the site and help with cleanup. If you have a web developer or care plan, call them now. Many hosts temporarily take hacked sites offline to protect visitors. That's normal.

3. Change passwords and secure accounts

From a clean device, change passwords for:

  • Website admin accounts
  • Hosting account and control panel
  • FTP, SFTP or SSH access
  • Database
  • Domain registrar
  • Email accounts connected to the site

Turn on two-factor authentication everywhere it's available. Remove any admin users you don't recognize. See sharing logins safely.

4. Find out how they got in

Common entry points:

  • Outdated plugins, themes or platform software
  • Weak or reused passwords
  • A compromised computer used to log in
  • Vulnerable custom code or forms
  • Another site on the same hosting account

Security scanners and your host's logs can help pinpoint the cause.

5. Clean or restore

You have two main options:

  • Restore a clean backup from before the hack, then update everything immediately. This is often the fastest route if you have good backups and know roughly when the hack happened. See website backups.
  • Clean the infected site by removing malicious files and code, replacing core files with fresh copies and reinstalling plugins and themes from official sources.

Either way, update all software to current versions before going back online, or the same hole will be used again.

6. Check for data exposure

If customer information may have been accessed (form submissions, accounts, orders), you may have legal obligations to notify people. Wisconsin, like every US state, has a data breach notification law. Talk to a lawyer or your cyber insurance provider about your situation. This guide isn't legal advice.

7. Clear search and browser warnings

If Google flagged your site:

  • Check the Security issues report in Google Search Console
  • After cleanup, request a review there, describing what you fixed
  • Warnings usually clear within a few days of an approved review

Also check whether your domain or server IP was added to email blocklists if spam was sent.

8. Watch closely afterward

  • Monitor for new files or admin users
  • Keep an eye on Search Console and uptime monitoring
  • Review server logs for repeated attack attempts
  • Consider a web application firewall

9. Prevent the next one

  • Keep everything updated. See WordPress updates if you use WordPress.
  • Remove unused plugins, themes and old sites on the same account
  • Use strong, unique passwords and two-factor authentication
  • Keep daily off-site backups
  • Use a reputable host with security monitoring

Our hosting and care plans include the updates, monitoring and backups that prevent most hacks. If you're dealing with one right now, get in touch and we'll help you sort it out.

How we can help

Related services

Let's talk

Want a hand with this?

Tell us what you're working on. We'll reply with questions, ideas and next steps.

Get in touch