UK web hosting · 24/7 live chat Black Friday + Cyber Monday: hosting + free domain £19.99 Open a ticket Client login

Guide

How to tell if your website has been hacked

By Limitless Hosting · 5 min read · Updated 18 November 2026

Signs of a hacked website include pages you did not create, redirects to unfamiliar sites, browser or search warnings, a sudden loss of traffic and unknown admin users. If you suspect it, take a backup, change every password, check for unknown users and files, and scan the site. Act quickly, because a hacked site can harm your visitors and your search rankings.

See the plans

The basics

What “hacked” usually means for a small site

When people say their site has been hacked, they rarely mean a person in a hood typing at a screen. Almost always, an automated program found a weakness, usually an out-of-date plug-in, a weak password or a vulnerable theme, and used it to plant its own files or change your pages. Small sites are targeted precisely because they are less likely to be watched.

The goals are usually commercial. Attackers add hidden links to boost the ranking of other sites, redirect your visitors to scam pages, steal data from forms, send spam from your server or host malicious files that infect your visitors. Many of these changes are designed to stay hidden from you, and shown only to search engines or to visitors arriving from Google.

That is why a hack can go unnoticed for weeks. The site looks normal when you visit it directly, while search results show strange titles and customers report odd redirects. Knowing the signs lets you catch it early.

Warning signs

Common signs and what they suggest

What you noticeWhat it may meanFirst check
Pages or posts you did not writeSpam or scam content has been addedSearch Google for your site name and “site:yourdomain” with words like pills or casino
Visitors sent to another siteA redirect has been planted in files or the databaseOpen the site on a phone using mobile data and click from a search result
A browser or Google security warningGoogle has detected malware or phishingCheck Search Console’s security issues report
A sudden drop in traffic or rankingsSpam or a penalty may be hiding your real pagesCompare Search Console performance with last month
Unknown admin usersAn attacker created a back doorCheck the Users list in the dashboard
Emails from your domain you did not sendThe server or a mailbox is being used for spamCheck mail logs and change mailbox passwords
A slow site or huge resource useMalicious scripts are runningCheck your hosting account’s resource graphs

First hour

What to do in the first hour

Do not panic and do not delete yet

Deleting files can destroy evidence of how the attacker got in. First take a full backup of the site as it is, files and database.

Change every password

Change the passwords for WordPress admin users, your hosting account, SFTP, the database and all email accounts. Use long, unique passwords.

Check users and files

Remove admin users you do not recognise. Look for recently changed files you did not edit.

Scan the site

Use the malware scanner in your hosting account or a trusted security plug-in to find infected files.

Ask for help early

Contact our live chat. We can check the account, and our guide to removing malware from a website covers the clean-up.

Worked example

A worked example: the redirect that only some people saw

A cafe owner, Nina, gets a message from a customer: the cafe’s website sent them to a page selling fake watches after they clicked from Google. Nina visits the site on her laptop and sees nothing wrong, so she assumes the customer made a mistake.

A week later a second customer reports the same thing. Nina searches for her cafe on her phone, clicks the result, and is sent to the watch site. The malicious code only redirects visitors who arrive from a search engine, which is why she never saw it when visiting directly.

She backs up the site, changes all passwords, and asks her host to scan it. The scan finds a planted file in an old plug-in folder and a modified theme file. She restores clean files, updates everything and deletes the abandoned plug-in that let the attacker in. Within days the warnings clear, and she adds monthly updates to her calendar.

How it happens

How sites usually get hacked

The most common route is an outdated or vulnerable plug-in or theme. Weaknesses are published when they are found and fixed, and automated scanners look for sites still running the old version. A site that is not updated is effectively advertising a way in.

The second is weak or reused passwords. If your password has leaked in another breach, attackers try it on your site, and common passwords are guessed by the thousand. Two-factor sign-in blocks most of this. See our guide to two-factor authentication.

The third is pirated plug-ins and themes, often carrying malware on purpose. Others are compromised computers, where malware steals saved logins, and phishing emails that trick people into giving up their credentials. Good habits close most of these doors.

Keeping watch

How to spot a problem early

Set up Google Search Console. It sends an email if it finds malware or spam on your site, often before you notice. Our guide to setting up Search Console takes ten minutes.

Use a security plug-in or the scanner in your hosting account to check for changed files, and turn on notifications. Look at your site now and then from a phone on mobile data, and search for your own site name to see how it appears in results.

Keep an eye on your backups. A clean, recent backup is the quickest way back from a hack, and ours are taken weekly and kept for about a month, so you can go back to a copy from before the problem began.

Prevention

Habits that make a hack unlikely

  • WordPress, themes and plug-ins are updated monthly
  • Unused plug-ins and themes are deleted
  • Every account has a strong, unique password
  • Two-factor sign-in is on for admin users
  • Only trusted plug-ins and themes are installed
  • Backups are taken and a restore has been tested
  • Search Console is set up to alert you
  • Admin accounts are reviewed regularly

Security layers on every plan

Imunify360, a ModSecurity firewall, DDoS protection, free SSL and weekly remote backups, from 84p a month (£10.03 billed yearly).

See the plans

FAQ

Common questions

How can I tell if my website has been hacked?

Look for pages you did not create, redirects, browser warnings, unknown admin users, a traffic drop and unexpected emails from your domain.

What should I do first?

Take a backup of the site as it is, change all passwords, then scan for infected files. Contact your host for help.

Why can I not see the problem when I visit?

Some malware only shows to search visitors or to certain devices. Test from a phone on mobile data, clicking from a search result.

Will a hack hurt my search rankings?

It can. Google may show a warning or remove pages. Cleaning the site and requesting a review in Search Console usually restores them.

How do hackers get in?

Mostly through outdated plug-ins and themes, weak or reused passwords, and pirated software.

Can my host fix it?

We can help check the account and guide you. A full clean-up of a compromised site is often done by a security specialist or by restoring a clean backup.

How do I stop it happening again?

Update regularly, remove unused plug-ins, use strong passwords and two-factor sign-in, and keep tested backups.

Should I tell my customers?

If personal data may have been exposed, you may have legal duties to report it. See our UK GDPR guide and seek advice.

Host your site with security built in

Imunify360, a firewall and free SSL on every plan, with a 15-day money-back guarantee.

See the plans .co.uk and .uk domains £9.99

From 84p a month, billed yearly
15-day money back
Get started