Website hacked? Finding out your site has been compromised is stressful. This guide explains, step by step, how to recognise a hack, what to do first, and how to stop it happening again.
Common signs your website has been hacked
- Visitors are redirected to gambling, adult or scam websites, sometimes only on mobile or only from Google.
- Google shows strange titles or Japanese or Chinese text for your pages.
- Browsers or Google display a "This site may be hacked" or "Deceptive site" warning.
- New admin users or unknown files appear.
- Your hosting company suspends the account for sending spam.
First steps
- Do not panic, and do not delete everything. You may need evidence to find how the attacker got in.
- Change all passwords: website admin, hosting control panel, FTP, database and email.
- Check for a clean backup from before the hack.
- Scan and clean the site, or restore the clean backup and update everything.
- Close the hole that was used, otherwise the hack will come back.
- Request a review in Google Search Console if Google flagged the site.
How hackers usually get in
- Outdated plugins, themes or core software with known vulnerabilities.
- "Nulled" (pirated) premium plugins or themes that contain hidden backdoors.
- Weak or reused passwords.
- Several websites on one hosting account, so one infected site spreads to the others.
Why hacks keep coming back
If a site is cleaned but the backdoor or the weak point is not found, attackers simply return. This is the most common reason businesses say their website "keeps getting hacked".
How to prevent it
- Keep software updated, and remove plugins you do not use.
- Never install pirated themes or plugins.
- Use strong, unique passwords and two-factor authentication.
- Take automatic daily backups stored away from your hosting.
- Monitor uptime and security so problems are caught early.
Do not forget your domain
Some "hacked" websites are actually expired domains bought by someone else and turned into spam sites. Keep your domain renewal on auto-renew with up-to-date payment details.
Website security in Malaysia: the basics
Most cases we see of a WordPress hacked site, or a website redirect to a gambling site, trace back to outdated plugins or pirated themes. Good website security in Malaysia starts with the basics: updates, strong passwords and a website backup stored somewhere other than your hosting account.
Prefer to have it handled? Our website maintenance and hosting plans include backups, updates and security monitoring. If your site keeps getting hacked, a secure rebuild through our website redesign service may be the better long-term fix.