Website trouble? Get a free website review
YourWebExperts

Help Center

My website was hacked. What now?

Strange redirects, spam pages or a red warning screen are frightening. Take a breath; sites recover from this every day.

A laptop showing a security shield with a checkmark in a bright office

The short answer

Don't delete everything in a panic. Change your hosting, website and email passwords, contact your host, and get a backup or a professional cleanup. After cleaning, update everything, remove unknown users, and request a review in Google Search Console if Google flagged you.

Common signs

  • Visitors are redirected to spam, gambling or scam sites
  • A browser or Google warning that the site is unsafe
  • Pages, posts or users you didn't create
  • Your host suspended your account or sent a malware notice
  • You can't log in

The first hour

  1. Change passwords for hosting, website admin, FTP and the email tied to them.
  2. Contact your host. Many can help, and some have clean backups.
  3. Don't delete everything. Evidence helps find how they got in, and you may need your content.
  4. Tell your customers to avoid the site for now if it's sending them to harmful pages.

The cleanup

A proper cleanup removes the malicious code and rogue users, replaces infected files with clean ones, updates all software, and closes the hole they came through (often an outdated plugin or weak password). Restoring an old backup without fixing the hole usually means getting hacked again.

Getting off Google's warning list

If Google flagged your site, request a review in Search Console after it's clean. Reviews usually take a few days.

Next time

Keep software updated, use strong unique passwords with two-step login, remove unused plugins and users, and keep automatic backups stored off the server.

Rather have someone else handle it? Send us your web address. The review is free, and you'll get a fixed quote before any work.

Get a free review

Updated November 26, 2026. General information; every website is a little different.

Not sure what's wrong? Ask us.

Send your web address and what's bothering you. We'll take a look and reply with honest advice and a fixed quote. Free.

Get a free website review