日本語English

No technical skills needed

Is my website hacked? Signs, how to check, what to do

A strange redirect, a browser warning, pages in search results you never wrote. Here is how to check whether your website has been hacked, starting with the checks anyone can do in a few minutes, and what to do first if it has.

No sign-up needed. We only look at public information anyone can see, the same way an ordinary visitor would.

The short answer: how to tell if your website is hacked

  • The quickest check is to search Google for site:yourdomain.com. Pages you never created, often selling unrelated products or written in another language, are a strong sign of a hack.
  • Next, look your site up in Google's Safe Browsing site status tool and open the Security issues report in Google Search Console. Both are free and show whether Google has flagged your site.
  • If it is hacked: keep a copy of the evidence, take the site offline, change every password from a device you trust, and call your hosting provider before you start deleting things.
  • Restoring the pages is only half the job. Unless you close the way in (usually outdated software, a weak password, or a forgotten test site), the attacker will be back within days.

Common signs your website has been hacked

Few hacks today replace your home page with a taunting message. Most are quiet: the attacker wants to use your site's reputation to send visitors elsewhere, rank spam pages, or send email. Many hide from the owner on purpose, showing you the normal site while search visitors and phone users see something else.

  • Redirects to other sites. Visitors, especially those arriving from Google or on a phone, land on a shop, a prize draw, an adult site or a fake update page.
  • Unknown pages in search results. Searching your company name shows pages on your domain that you never wrote, often in Japanese or another foreign language, or pushing pharmaceuticals and knock-off goods.
  • A warning screen. The browser shows a red "Dangerous site" page, or you receive a security issue email from Google Search Console.
  • Admin users you don't recognise in WordPress or whatever system runs the site.
  • Files you didn't put there, or files that changed on a day nobody on your team touched the site.
  • A burst of outgoing email, or a flood of bounce messages for mail you never sent.
  • A notice from your hosting provider that they found malicious files or suspended the account.
  • A customer tells you their antivirus blocked your site or they ended up somewhere odd.

One sign on its own does not prove a hack. A bad ad network, a browser extension or a problem on the visitor's own device can look similar. The checks below tell you which it is.

How to check if your website is hacked, step by step

These are ordered from easiest to hardest. The first four need no login to your site.

  1. 1

    Search Google for site:yourdomain.com

    Type site: followed by your domain into Google. You get the pages Google has indexed for your site. Scan the titles for anything you did not write, and note whether the number of results is far larger than your real page count.

  2. 2

    Check Google Safe Browsing

    Open the Safe Browsing site status tool and enter your address. It tells you whether Google currently finds unsafe content on the site, without you having to visit it.

  3. 3

    Visit like a stranger would

    Open a private (incognito) window, search for your business on Google and click through to your site from the results. Repeat on a phone using mobile data with Wi-Fi turned off. This is how you catch hacks that hide from logged-in owners.

  4. 4

    Open the Security issues report

    If your site is verified in Google Search Console, go to Security & Manual Actions, then Security issues. Google lists hacked content, malware and deceptive pages it has found, with example URLs. If you are not set up yet, do it now; future alerts will reach you by email.

  5. 5

    Review your admin users

    In WordPress, open Users and filter by Administrator. An account you don't recognise is close to conclusive. Look for plugins you did not install while you are there.

  6. 6

    Look for recently changed files

    In your host's file manager or over SFTP, sort files by date modified. Be suspicious of program files (.php) inside image or upload folders, files with random-looking names, and changes on dates when nobody was working on the site.

  7. 7

    Ask your hosting provider

    If you still cannot tell, ask your host whether they see malicious files or unusual logins on the account. Many will run a malware scan or check the logs for you.

A clean result on every check is not proof that the site is clean. Google may simply not have noticed yet. If the symptoms continue, have your host or a specialist look inside the server.

Website hacked? What to do first

The instinct is to delete the bad pages immediately. Hold off for a moment: once the evidence is gone, nobody can work out how the attacker got in or what they touched.

  1. 1

    Preserve evidence

    Take screenshots of what you saw and save any notices. If you can, download a copy of the site files and the server access logs as they are now, or ask your host to preserve them.

  2. 2

    Take the site offline

    Switch to a maintenance page or suspend the site so visitors are not harmed while you work. Your host can do this if you are unsure how.

  3. 3

    Change every password from a clean device

    Hosting control panel, SFTP, database, site admin accounts and email. Do it from a device you have scanned for malware, because stolen passwords often come from an infected office computer.

  4. 4

    Bring in your host and your developer

    Tell them what you noticed and when, and agree who is investigating and who is restoring.

  5. 5

    Restore from a clean backup

    Use a backup taken before the hack began. If you don't know when it started, you risk restoring an already infected copy, which is why the logs matter. With no usable backup, the malicious code has to be removed by hand, usually by a specialist.

  6. 6

    Update everything and close the way in

    Update the core software, plugins, themes and server software. Remove unused plugins, unknown users and old test copies of the site.

  7. 7

    Ask Google to review

    If Google flagged the site, fix every issue and then select Request Review in the Security issues report, explaining what happened and what you did. Google says reviews usually take from several days to a few weeks, and resubmitting while one is pending slows things down.

Who to tell when your website is hacked

  • Your hosting provider. They can suspend the site, provide logs and backups, and often scan for malware.
  • Your web developer or agency, or a specialist cleanup service if nobody maintains the site.
  • Your payment provider, if the site takes card payments in any form.
  • Your customers and regulators, where the law requires it. If the site or server holds personal data (contact forms, orders, member accounts), check the breach-notification rules that apply where you operate and where your customers live. Deadlines can be short, so take advice early rather than after the cleanup.

How do websites get hacked in the first place?

Small business sites are rarely singled out. Attackers scan the internet automatically for known weaknesses and break into whatever they find. The ways in are predictable.

Outdated software

A content system, plugin or theme that has not been updated still carries weaknesses (vulnerabilities) that are publicly documented. Unused plugins count too.

Weak or reused passwords

Short passwords, passwords shared with other services, and accounts left behind by former staff or a previous agency.

Forgotten test sites

The old, test or staging copy from your last redesign. Nobody updates it, so it becomes the easiest door into the same server.

If your site runs on WordPress, our guide to checking WordPress for vulnerabilities walks through the specifics.

How to stop your website being hacked again

  • Check for updates at least monthly, and turn on automatic updates where they are available.
  • Keep admin accounts to the people who need them, with long unique passwords and two-factor authentication.
  • Delete unused plugins, test sites and backup files sitting in public folders.
  • Run automatic backups, keep a copy away from the server, and test a restore once.
  • Stay verified in Google Search Console so alerts reach you.
  • Have the outside of your site checked for weaknesses on a schedule.

On that last point, here is plainly what Security Ready does and does not do. We do not clean up or recover hacked sites, and we do not remove malware. A scan from the outside also cannot prove that a site is clean.

What it does is find the weaknesses attackers use to get in, before they do: known flaws in outdated software, files that should not be public, encryption and security settings, and forgotten subdomains, each with instructions for the fix. On the Standard plan, the internal check on Linux servers also counts signs of compromise, such as files written the way backdoors (web shells) usually are. Only the count and the file locations are sent. Finding nothing is not a guarantee, and a match is a prompt to look, not a verdict.

For a first look at what is visible from outside, the 30-second quick check reads your certificate, https setup, email spoofing protection and forgotten subdomains. It does not detect malware or hacked pages. Once you have recovered, a free first full scan is a sensible way to confirm the doors are closed.

Frequently asked questions

How can I check if my website is hacked for free?

Search Google for site:yourdomain.com, look the site up in Google's Safe Browsing site status tool, and open the Security issues report in Google Search Console. All three are free. A clean result is reassuring but not a guarantee.

My site looks normal to me. Can it still be hacked?

Yes. Many hacks show the normal site to the owner and to anyone logged in, and only redirect visitors arriving from search engines or on phones. Check in a private window by clicking through from Google, and again on a phone using mobile data.

Why are there Japanese or foreign-language pages on my domain in Google?

This is a common spam hack: attackers create large numbers of pages on your domain to promote their own shops using your site's reputation. It means someone has write access to your site, so treat it as a full compromise, not a search glitch.

Can I just delete the hacked files?

Deleting what you can see rarely works. Attackers leave hidden backdoors and the original weakness is still there, so the pages return. Change passwords, restore from a clean backup and update everything as one job.

How long does it take Google to remove the warning?

After you have fixed every issue, request a review from the Security issues report in Search Console. Google says reviews usually take from several days to a few weeks. Requesting a review before the site is really clean only delays things.

Should I take my site offline while I fix it?

Usually yes. A maintenance page protects your visitors and your reputation while you investigate, and it stops the attacker's pages being served. Your hosting provider can do this for you.

Can Security Ready fix my hacked website?

No. We do not do cleanup, recovery or malware removal. Security Ready is an automated scan that finds the weaknesses attackers use and tells you how to fix them, which is most useful once the site is restored and you want to prevent a repeat.

See where your own site stands — free

The free in-depth scan checks your site from the outside against thousands of known weaknesses and tells you how to fix each one. No payment details needed. For businesses; scans only with the owner's authorization.