Website SecurityBuyer’s Guide

    How to Tell If Your Website Has Been Hacked

    M

    By Mike Evan — Founder, Social Media Strategy HQ•Updated November 2026

    Check from the outside, not from your own browser. Search Google for site: plus your domain and look for pages you never wrote. Read the Security issues and Pages reports in Search Console. Check for unknown admin users. Then open your site from a Google result on a phone. Most hacked small-business sites look normal to their owners by design.

    On November 16, 2026, the FBI issued an alert about a criminal operation that had quietly taken over more than a thousand WordPress websites and used them to rank in Google for searches like legal agreement templates. People who clicked downloaded malware, and coverage of the alert ties the scheme to more than $28 million in ransomware payments. We covered the news in this week’s AI news roundup. This guide is the practical half: how a business owner can tell whether their own site is one of them, and what to do about it.

    It is written for owners, not developers. You will not need to read code. You will need about thirty minutes, access to your Google Search Console account if you have one, and a phone.

    Why the Owner Is the Last to Know

    The picture most people have of a hacked website is a defaced homepage with a message on it. That still happens, but it is the rare, amateur version. A defaced site gets noticed within hours and cleaned within a day, which makes it worthless to anyone trying to make money.

    The profitable version is the opposite. It is designed to look completely normal to you. The attacker adds pages you will never visit, or changes what the site shows depending on who is asking. Search engine crawlers may see one thing, visitors who arrive from a Google result another, and anyone who types your address or is logged in as an administrator sees the site they have always seen. Every day you do not notice is a day the hack keeps paying.

    That gives you the first principle of checking. Do not test your site the way you normally use it. Your normal route, typing the address on the office computer while logged in, is the one route most likely to have been left clean.

    What an Attacker Wants From a Small Business Site

    Owners often say, reasonably, that nobody would bother with them because they have nothing worth stealing. The attacker usually agrees. They are not after your customer list. They are after your domain’s standing in Google, which took you years to build and which they can borrow at almost no cost to themselves. In practice that reputation gets used in four ways.

    Spam pages that rank. Hundreds or thousands of pages selling counterfeit goods, pharmacy products or gambling, often in another language. Google’s own help material describes a common version in which Japanese-language pages are generated on hacked sites. Redirects. Your visitors, or only the ones arriving from search, are sent to another site. Malware downloads. The pattern in the FBI alert: a page made to look like a forum thread on your site, offering a document someone was searching for. Email. Your server or domain is used to send spam, which eventually gets your real messages sent to junk folders.

    Notice that none of these require the attacker to touch your homepage. That is the point.

    Want it done for you?

    Websites, SEO, and AEO — built with Claude Code in days, not months.

    Get a Custom Quote

    Seven Checks You Can Run From the Outside

    Run these in order. The first three catch most compromises and need no technical access at all.

    1. Ask Google What It Thinks Your Site Contains

    Type site: followed by your domain, with no space, into Google, for example site:yourbusiness.com. Scroll through several pages of results. You are looking for titles you did not write: product names, foreign-language text, words that have nothing to do with your business. A site with forty real pages that shows thousands of results is a strong signal on its own. Try it again with a word added, such as site:yourbusiness.com download or site:yourbusiness.com template, which is how the pages in the FBI case would have surfaced.

    2. Read Three Reports in Search Console

    If your site is verified in Google Search Console, open the Security issues report and the Manual actions report first; Google uses them to tell site owners when it has detected hacked content. Then open the Pages report under Indexing and look at the chart of indexed pages. A sudden climb you did not cause is a warning. Finally, check Settings, then Users and permissions, for owners you do not recognize. Attackers who gain access sometimes verify themselves as owners so they can submit their own pages to Google. If you have never set up Search Console, setting it up is the single most useful thing you can do after reading this.

    3. Arrive the Way a Customer Does

    On a phone that has never logged into your site, turn off Wi-Fi so you are on a cellular connection, search Google for your business name, and tap your own result. Then search for one of your services in your city and tap your result there, too. Watch the address bar. If you land anywhere other than your own domain, or the page briefly flashes before changing, you have found a redirect that only shows itself to search visitors.

    4. Count the Administrators

    Log in to your site’s dashboard and open the list of users. Every administrator account should belong to a person you can name. An account called “admin2,” “support” or a string of letters, created recently, is a classic sign. While you are there, look at the list of installed plugins for anything you do not recognize.

    5. Take Warnings Seriously

    A red “Deceptive site ahead” or similar warning in a browser, a notice from your hosting company that your account has been suspended or flagged, a customer mentioning that their antivirus blocked your site, or your own emails suddenly bouncing or landing in junk: each of these is someone else’s system noticing before you did. Do not dismiss them as glitches.

    6. Look for Traffic to Pages You Do Not Have

    In your analytics, sort landing pages by sessions for the last ninety days. Real sites have a short list of pages that matter. Injected pages show up as unfamiliar addresses, often long and nonsensical, sometimes with visits arriving from countries you do not serve. One caution: some injected pages hide from analytics because the attacker’s version of the page never loads your tracking code, so a clean report does not clear you on its own.

    7. Ask Your Host Directly

    Most hosting companies scan the accounts they host. Ask them, in writing, whether they have flagged anything on your account in the last six months and when the site’s software was last updated. You may be surprised how often the answer is already sitting in an email nobody read.

    The First 24 Hours: Contain Before You Clean

    If one of the checks turns something up, the instinct is to start deleting. Resist it for an hour. The order matters more than the speed.

    Keep a copy of the site as it is. Ask your host or developer for a full snapshot of files and database before anything changes. It is your record of what was done, and it helps whoever cleans the site find every piece. Change every password. Hosting account, site administrators, database, file-transfer accounts, domain registrar and the email accounts tied to all of them, ideally from a different, trusted device. Turn on two-factor authentication everywhere it is offered. Remove accounts you cannot name once the snapshot exists. Tell your host, who can often isolate the account and has seen this before.

    If your site handles customer accounts, payments or forms that collect personal information, call your lawyer and your insurer before you do much else. Whether you have to notify anyone depends on what was exposed and where your customers live, and those rules vary. That is a legal question, not a technical one, and we are not the right people to answer it.

    Why a Backup Is Not Automatically the Fix

    Restoring yesterday’s backup feels like the obvious move. The trouble is that attackers usually leave a hidden way back in, and they often did so weeks or months before you noticed the visible damage. A backup from after that point restores the back door along with your content. Restore only from a point you have reason to believe is before the break-in, then update everything immediately, because the hole they came through is still in the old software.

    Clean Up, Then Tell Google

    Cleaning means more than removing the spam pages you can see. Whoever does it should remove the injected files, close the way in by updating the platform, theme and every plugin, delete anything not in use, and confirm the site no longer behaves differently for crawlers or search visitors. Pages that were injected should return a “not found” or “gone” response so Google drops them, rather than redirecting them to your homepage.

    Once the site is genuinely clean, go back to the Security issues report in Search Console and request a review; Google will check the site again before removing any warning. Then expect the search side to recover gradually. Injected pages take time to fall out of the index, and rankings that slipped come back over the following weeks rather than overnight. If things have not returned after a reasonable wait, the steps in website not showing up on Google are the next stop, and our SEO services cover the rebuild of what was lost.

    The Real Cause: Nobody Owned the Updates

    Here is the part most security articles skip. Very few small-business sites are broken into by a clever, targeted attacker. They are broken into by automated tools that scan the internet for known holes in old versions of popular plugins and themes, and they find them because the site was built, launched and then left.

    The pattern is almost always the same. A designer built the site a few years ago and moved on. The plugins that added a slider, a form and a gallery kept receiving security updates that nobody applied. The owner assumed the hosting company handled it; the hosting company assumed the owner did. Nobody was wrong to be busy. Nobody was named.

    So the most useful question you can ask whoever looks after your site is not about firewalls. It is this: who applies updates, how soon after they are released, and who gets the alert when something goes wrong? If the answer is vague, that is your risk. What that care costs, and what it should include, is in our website maintenance cost guide. And if you are not certain you even hold the logins to your own hosting and domain, start with do I own my website, because you cannot secure what you cannot get into.

    When Rebuilding Beats Cleaning

    Cleaning is the right answer most of the time. It stops being the right answer when the same site has been infected more than once, when the theme it depends on is no longer updated by anyone, when nobody can say what half the plugins do, or when the cleanup quote approaches the cost of starting again.

    In those cases the smaller site is usually the safer one. Every plugin is a door someone has to keep locked; a site built to need a handful instead of thirty has fewer doors. That is how we approach AI website building: because we build with Claude Code, the features a plugin used to bolt on can be written directly into a lean site, which leaves far less third-party software to maintain. If you go that route, move carefully so the rankings you have survive the switch, as set out in how to redesign a website without losing rankings.

    Why This Matters More in AI Search

    One last consideration that did not exist a few years ago. AI assistants read your website to describe your business. A site carrying injected pages is a site whose content you no longer control, and an assistant has no way of knowing which pages you wrote. Even after a cleanup, stale copies can linger in places that are slow to refresh. Keeping the site clean is now part of keeping your description accurate, which is the core of answer engine optimization.

    Put the seven checks on a calendar: once a quarter is enough for most small businesses, and it takes less time than reading this article did.

    Not Sure What Is Running Under Your Site?

    Send us your domain. Social Media Strategy HQ will look at what Google has indexed, how old the software under the site is, and who holds the keys, then tell you whether it needs maintenance, a cleanup by a security specialist, or a leaner rebuild.

    See What Your Site Needs

    Frequently Asked Questions

    How do I know if my website has been hacked?

    Check it the way a stranger would see it rather than the way you usually open it. Search Google for site: followed by your domain and look for page titles you never wrote. Open Google Search Console and read the Security issues, Manual actions and Pages reports. Look at your list of admin users. Then click through to your site from a Google result on a phone that is not logged in. Most compromises show up in at least one of those.

    Why does my website look fine to me but Google shows spam pages?

    Because the attacker set it up that way. Injected pages are often shown only to search engine crawlers, or only to visitors arriving from a search result, while anyone typing the address directly or logged in as an administrator sees the normal site. The longer the owner sees nothing, the longer the hack keeps working. That is why the checks in this guide start from the outside.

    Will Google penalize my site for being hacked?

    Google can flag a hacked site with a browser warning or a notice in Search Console, and spam pages injected into your site can drag down how it performs in search. Once the site is clean, you can request a review from the Security issues report in Search Console, and Google will reassess it. Recovery of rankings after the warning lifts is gradual and depends on how long the problem ran and how much was injected.

    Should I just restore my site from a backup?

    Only once you know roughly when the break-in happened. Attackers commonly leave a hidden way back in, and a backup taken after that point restores the back door along with your content. Keep a copy of the infected site before you change anything, because it shows what was done, and change every password before any restore so the attacker cannot simply log back in.

    How long does it take to recover after a website hack?

    Containment and cleanup are usually a matter of days once someone competent is working on it. The slower part is search: injected pages have to drop out of Google's index, any warning has to be reviewed, and rankings return over the following weeks. A long-running infection with thousands of spam pages takes longer than one caught early, which is the strongest argument for checking regularly.

    How do I stop my WordPress site from being hacked again?

    Remove plugins and themes you do not use, update everything that stays, turn on two-factor authentication for every administrator, give each person their own login, and keep off-site backups you have tested restoring. Most importantly, make one named person responsible for updates and for reading security alerts. Most small-business sites are not breached by clever attackers; they are breached through software nobody was assigned to update.

    M

    Mike Evan

    Founder, Social Media Strategy HQ · Chicago, IL

    Mike Evan is the founder of Social Media Strategy HQ, an AI-first social media agency based in Chicago, Illinois. He works with clients across legal, sports, and business niches to build systematic content and AI-powered marketing infrastructure.