New Pro + Launch: pick a template and our developers set up your site in 2 business days.
See how it works

My site was hacked. What do I do?

SecurityJoomlaSecurity & backups Updated 17 Oct 2026

Take it offline, restore a clean backup from before the hack, update Joomla and every extension, and change all passwords. Then check for admin accounts you don't know.

Why act methodically

Attackers often leave backdoors: extra admin accounts, hidden PHP files, changed core files. Cleaning only what you can see lets them back in. Restoring a clean backup and closing the hole is safer.

Step by step

  1. Contain: take the site offline (Site Offline, or a holding page from your host) and change your hosting, FTP and database passwords.
  2. Keep evidence: make a backup of the hacked state and download the server access logs; they show how the attacker got in.
  3. Restore: restore a backup from before the hack into an empty folder and database.
  4. Close the hole: update Joomla and every extension, and remove extensions on the Vulnerable Extensions List or that you don't use.
  5. Lock down: change all administrator passwords, delete Super Users you don't know, and turn on multi-factor authentication.
  6. Check and reopen: scan the files, check Google Search Console for security warnings, then bring the site back online.
No clean backup?

Compare the core files with a fresh copy of the same Joomla version, look for PHP files in /images and /tmp, and check users and recently changed files. Or ask a professional; the Joomla forum also has a security board.

Sources
Was this answer helpful?
Cron Job Starts