Skip to content

Hacked WordPress & PHP site help

WordPress Site Hacked? Here's How to Get It Back, Fast.

Spam pages in Google, phone visitors sent to strange sites, a maintenance page you never made. A wave of WordPress and PHP hacks has hit small business sites in 2026. Here is how to check yours, what to do first, and how I clean it up and relaunch you on a secure site.

Hacked right now? Do these first.

  1. 1. Don't restore a backup yet.Backups often carry the same infection and bring it right back.
  2. 2. Change your passwords.Hosting, WordPress, FTP or SFTP, database and the email tied to them.
  3. 3. Don't delete everything.Evidence of how they got in is what stops it happening again. Call first.

Signs Your WordPress Site Has Been Hacked

Phone visitors land on a spam site

The most common 2026 pattern. The malware checks if the visitor is on a phone, often only when they arrive from Google, and sends them to a scam or spam site. On your desktop the site looks fine, which is why owners miss it for weeks.

A "maintenance" page you never made

Some infections replace the homepage with a fake maintenance or "coming soon" screen for most visitors while the malware keeps working in the background.

Spam pages show up when you search your name

Search Google for site:yourdomain.com. Pages selling designer goods, pills, casino games or random products, often in Japanese or other languages, mean hackers are publishing under your domain.

Google reports thousands of new pages

A sudden jump in the number of pages Google lists for your site, or page lists you did not create (sitemap-1.xml, product or collection sitemaps), is a strong sign hackers are publishing spam under your name. One small business site I cleaned up had about 340,000 spam pages published under its web address.

Google says "This site may be hacked"

Google adds this warning under your listing, and Chrome may show a red security screen. If you have Google Search Console, Google's free report on your site, check Security Issues there.

New admin users or files you don't recognize

Unknown administrator accounts, plugins you never installed, or strange files in the uploads folder are classic back doors that let attackers back in after a cleanup.

How to Check Your Site in 5 Minutes

  1. Search Google for site:yourdomain.com and look for pages you didn't create.
  2. On your phone, using mobile data, search your business name and tap your own result. Watch where you land.
  3. In Google Search Console (Google's free report on your site), open Security Issues, then the Pages and Sitemaps reports. Look for warnings, sudden jumps in page counts and sitemaps you never sent in.
  4. In WordPress, open Users and filter by Administrator. Note anyone you don't recognize. Remove them once a copy of the site has been taken for diagnosis.
  5. Ask your host whether they have flagged malware or suspended anything on your account.

Spotted any of these? Send your web address and I will confirm it for free, usually the same day.

Why So Many WordPress Sites Are Getting Hacked in 2026

WordPress runs a huge share of small business websites, and most of them depend on a stack of plugins. Every outdated or abandoned plugin is a door. In April 2026, attackers went further: they bought a group of more than 30 popular plugins and pushed hidden backdoors through the normal update channel, so sites that were doing everything right got infected too (The Next Web, TechRadar).

The goal is almost always money: send your visitors to scam pages, or borrow your domain's good name with Google to rank spam. That is why the hacks hide from you. They show spam to Google and phones, and a normal site to the owner on a laptop.

Why Quick Fixes Often Fail

  • Backups are infected too. Malware often sits in the site for weeks before anyone notices, so every recent backup has it.
  • It hides in the database. Injected scripts live inside posts, drafts and settings, where file scanners don't look.
  • It reinstalls itself. Scheduled tasks, rogue admin users and server caches bring the infection back days after a cleanup.
  • The door stays open. Removing the malware without removing the weak plugin or out-of-date setup just resets the clock.

How I Fix a Hacked WordPress Site

  1. 1

    Lock it down the same day

    The infected site is taken out of public view so customers stop landing on spam, without deleting anything needed for recovery.

  2. 2

    Diagnose the infection

    I work out how it operates: where it sends visitors, what it hid inside your posts and settings, fake page lists, fake admin users and the spam pages Google has picked up.

  3. 3

    Recover your content safely

    Pages, posts, images and even unpublished drafts are pulled out on a separate, sealed-off computer, scrubbed of hidden code and spam links, and every image is re-checked.

  4. 4

    Rebuild on a secure platform

    Instead of patching the same plugins that let the attackers in, you are relaunched on a fast, modern site with no plugins to keep updating, usually with a fresh design included.

  5. 5

    Clean up Google

    Google is told the spam pages are gone for good, removal requests are filed, a list of your real pages is sent to Google and old links go to their new pages, so your rankings recover.

Real example

Repertoire Productions: hacked site to new site in under 48 hours

Hackers took over the website of Repertoire Productions, a Bay Area event company, and sent visitors on phones to a spam site. In under 48 hours I shut the old site down, saved every page, post and photo, and had a fast, safe new website live.

“Jake you saved my bacon my man. Unbelievable work. Unreal.”
Jonathan Jackson, Owner of Repertoire Productions · Facebook review
from the first phone call to a safe, new and improved website
2 days
pages, blog posts and photos saved, with nothing lost
543
fake spam pages the hackers added, which I had Google remove from search results
340,000
security warnings from Google on launch day
0

Hacked WordPress Site FAQs

How did my WordPress site get hacked?

Most hacks come through an outdated or abandoned plugin or theme, a stolen password, or out-of-date server software. In 2026 attackers also bought popular plugins and pushed backdoors through normal updates, so even well-kept sites were hit.

Can't I just install a security plugin or restore a backup?

Security plugins often miss malware stored in the database, scheduled tasks or server caches, and backups usually contain the same infection. That is why so many sites get re-hacked days after a cleanup.

How fast can you fix a hacked website?

The infected site is locked down the same day work starts. The most recent rescue, a 130-page site with a full redesign, went from first call to the new site live in under 48 hours. Yours may be faster or slower depending on its size and how quickly domain access is available.

Will I lose my content or my Google rankings?

The aim is to recover everything and redirect every old address to its new page. On the most recent rescue that meant 72 posts, 58 pages, 413 images and 15 unpublished drafts. Rankings generally recover as Google drops the spam pages and revisits your real ones. How fast depends on Google.

Do you only help businesses in Bozeman?

No. I am based in Bozeman, Montana, but hacked site recovery is done remotely. The most recent rescue was for a production company in the San Francisco Bay Area.

Should I pay the hackers or a ransom?

No. Don't pay anyone who contacts you about the hack. Change your hosting, WordPress and email passwords, and talk to someone who can recover the site properly.

Written by Jake Reaves, Bozeman SEO Experts, Bozeman, Montana. Updated November 2026. Prefer the short version? See the hacked website repair service.

Get your website back

Call now or send your web address. I will confirm whether you have been hacked and lock the site down the same day.

Replies the same business day, Monday to Friday.

CallTextGet in touch