General

My site was hacked

Updated November 2026 8,454 views 2 min read
General | Updated November 2026

If your website has been hacked, defaced, or is redirecting to spam sites, take action immediately. Change your passwords first, then follow our recovery guide to clean up and secure your site.

01. WordPress Sites

WordPress sites are the most common target. We have a detailed step-by-step recovery guide: How to Fix a Hacked WordPress Site. This covers identifying the compromise, removing malicious files, cleaning the database, and hardening the site against future attacks.

02. Other CMS Platforms

The same principles apply to any CMS:

  1. Change all passwords (cPanel, FTP, email, CMS admin, database)
  2. Update the CMS to the latest version
  3. Update all plugins, themes, and extensions
  4. Remove any plugins or themes you do not use
  5. Check for suspicious files - Look for recently modified PHP files, especially in upload directories
  6. Scan for malware - cPanel includes a virus scanner under Security > Virus Scanner
  7. Restore from a clean backup if available - See How to Back Up Your Website

03. Prevent Future Hacks

  • Keep everything updated - CMS, plugins, themes. Outdated software is the #1 attack vector.
  • Use strong, unique passwords for every account
  • Install a security plugin - Wordfence for WordPress, or similar for your CMS
  • Enable two-factor authentication on your CMS admin login
  • Remove unused plugins and themes - Even deactivated plugins can be exploited

For comprehensive WordPress security, see WordPress Security: The Complete Hardening Guide.

Need Help Cleaning Up?

If you cannot clean the hack yourself or keep getting re-infected, our team can investigate and help restore your site.

Open a Support Ticket

Frequently Asked Questions

What is the very first thing I should do if my site is hacked?

Change every password immediately: cPanel, all email accounts, your CMS admin, and your database. This locks the attacker out so they cannot undo your cleanup while you work.

My WordPress site was hacked. Is there a step-by-step guide?

Yes. Follow How to Fix a Hacked WordPress Site, which covers finding the compromise, removing malicious files, cleaning the database, and hardening the site afterward.

How do I find the malicious files?

Look for recently modified PHP files, especially inside upload directories where they do not belong, and run the cPanel Virus Scanner under Security. Restoring from a known-clean backup is often faster than hunting every injected file.

My site keeps getting re-infected after I clean it. Why?

A hidden backdoor was left behind, or outdated software is being re-exploited. Update the CMS, plugins, and themes, remove anything unused, and if it keeps coming back open a ticket so we can investigate at the server level.

Quick Recap

  1. Change ALL passwords immediately - cPanel, email, CMS, database
  2. Follow our WordPress hack recovery guide for WordPress sites
  3. Update everything - CMS, plugins, themes
  4. Scan for malware and remove suspicious files
  5. Restore from a clean backup if available

Security incident response · Last updated November 2026 · Browse all General articles

Share: X in Reddit f Email
  • 128 Users Found This Useful

Was this answer helpful?

Related Articles

Whitelisting Our Support System Email Address

Email | Updated January 2026 If you are not receiving emails from Ultra Web Hosting (support...

How do I hide my domain WHOIS information?

General | Updated November 2026 When you register a domain name, your contact information...

What is a Virtual Domain (Addon Domain)

General | Updated November 2026 A virtual domain (also called an addon domain) lets you host...

I am unable to delete a file

General | Updated January 2026 If you cannot delete a file through cPanel File Manager or...

How to Speed Up Your Website

Website Tools & SEO | Updated March 2026 A slow website loses visitors and hurts search...



Save 30% on web hosting - Use coupon code Hosting30