WordPress problems

WordPress hacked again? Why it keeps happening

If you are searching "WordPress hacked" for the second time this year, the first cleanup probably removed the damage and left the way in open. Here is how to deal with the attack in front of you and how to stop the next one.

Short answer

A hacked WordPress site keeps getting reinfected when the cleanup removes the malware but not the weakness that let it in: an outdated or abandoned plugin, a reused password or a backdoor file. Close the way in or remove WordPress from the live site altogether.

Signs your WordPress site is hacked

  • Google shows pages you never wrote, often in another language or selling pills, replica goods or casino sites
  • Visitors who arrive from Google or on a phone, land on a different website
  • Chrome or Google search shows a warning that the site may be hacked or harmful
  • Admin users you do not recognize appear in the WordPress dashboard
  • Your hosting company suspends the account or emails you about malware or spam
  • Your contact form starts sending spam or your emails land in junk folders

Some hacks hide from logged-in owners and show only to search engines or first-time visitors. If you see nothing odd, check the Security issues report in Google Search Console as well.

What to do in the first hour

  1. Take a full copy of the site files and database as they are now. A cleanup needs the evidence and you may need your content later.
  2. Change the passwords for your hosting account, every WordPress admin, the database and any FTP or SFTP accounts. Turn on two-factor sign-in where you can.
  3. Tell your host. Many can scan the account and show which files changed and when. They can also block the attacker's access while you clean up.
  4. Remove admin users you do not recognize and check which plugins and themes were added or changed recently.
  5. Decide who cleans it: yourself, a malware removal service or a rebuild without WordPress.

Why WordPress sites get hacked again

Most reinfections come back through one of a few doors:

  • The hole was in a plugin that is still installed and still out of date, so the attacker repeats the same attack.
  • The plugin is abandoned. Once its author stops releasing updates, a known flaw in it stays open for good.
  • A backdoor was left behind. Attackers often plant a small hidden file or a fake admin account so they can return. A cleanup that only deletes the visible spam misses it.
  • The fix came out, but nobody installed it in time. In July 2026, TechCrunch reported that hackers were exploiting recently patched WordPress bugs.
  • An admin password was reused on another site that was breached and it gets tried on your login page too.

In 2026, Check Point Research and The Hacker News reported on StopAndProtect, an operation that used nearly 2,000 hacked WordPress sites. Campaigns on that scale are automated. They look for any site with a known weakness and a small business site is as good a target as any.

How to fix a hacked WordPress site for good

There are two lasting fixes. Which one fits depends on how much of WordPress you actually use.

Stay on WordPress and harden it

  • Find and close the way the attacker got in
  • Remove every plugin and theme you do not use and replace abandoned ones
  • Keep core, theme and plugins updated within days of each release
  • Use unique passwords, two-factor sign-in and as few admin accounts as possible
  • Keep off-site backups and test that they restore

That works, but it is ongoing work and someone has to do it every week. For most owners it means paying for a WordPress maintenance service.

Take WordPress off the live site

A business site that is mostly pages about your services does not need WordPress running on the public web. Digital Consulting can rebuild it as custom static HTML from your content, at the same web addresses. The new site has no login page, no plugins and no database for an attacker to reach, so most of the doors listed above no longer exist.

Tired of cleanups?See your homepage rebuilt as a static page. Free and no WordPress password needed.

See my homepage redone
Written by Digital Consulting

A web design and SEO studio that builds static websites and moves businesses off WordPress, keeping their pages and web addresses. More about leavingwp

Questions

Frequently asked questions

How do I know if my WordPress site is hacked?

Common signs are pages you did not write showing up in Google, visitors from Google being sent to another site, a red warning in the browser, new admin users or your host suspending the account. Some hacks only show to search engines or phone visitors, so check Google Search Console's Security issues report as well.

Why does my WordPress site keep getting hacked?

Usually because the way in was never closed. A cleanup can remove the malware while the outdated plugin, the reused password or a hidden backdoor file stays behind. Attackers return to sites they have already broken into, often with automated tools, so a site with the same weakness gets hit again.

Can a static website be hacked?

It is much harder. A static site has no WordPress login, no plugins and no database on the live server, which removes the usual ways in. Attackers can still go after your hosting account or your domain registrar, so protect those with strong, unique passwords and two-factor sign-in.

Should I pay for another cleanup or rebuild the site?

If it is the first hack and the site is otherwise healthy, a thorough cleanup that finds the way in can be enough. If the site has been hacked more than once, runs many plugins or sits on an old theme, rebuilding without WordPress often costs less than paying for cleanups and care plans year after year.

Free homepage preview

See your homepage redone before you decide

Give us your website address. Digital Consulting redesigns your current homepage as a fast static page and emails you a private link. Your own words and pictures, in a new design.

  • Free
  • Preview in 2 business days
  • No passwords needed
  • Nothing changes until you say so
  • Privacy
Coming soon

Free homepage previews are on the way

We're still building this feature, so nothing was sent. In the meantime, Digital Consulting can look at your site and tell you what a move would take.

Email Digital Consulting Use the contact form

info@digitalconsulting.co.za