In this article (6 sections)
Why don’t owners notice when their site is hacked?
Because modern hacks are designed to hide from you. Attackers want your site's reputation — its Google rankings, its email domain, its visitors — for as long as possible. So the malicious code often only shows itself to:
- visitors arriving from Google, not people typing your address;
- mobile visitors, not the desktop you work on;
- people who aren't logged in as admins;
- visitors from certain countries, or only on their first visit.
That's why the owner can look at the site every day and see nothing wrong, while customers are sent to a fake pharmacy shop. If anything below sounds familiar, assume the worst until you've checked properly.
What are the 12 warning signs?
Here are the signs we see most often when we're called in to clean a site. One sign is reason to check; two or more usually means a hack.
| # | Warning sign | What it usually means |
|---|---|---|
| 1 | Visitors from Google are redirected to spam, scam or adult sites | Malicious redirect code in files or the database |
| 2 | Google shows Japanese, Chinese or pharmacy pages for your domain | Spam page injection ("Japanese keyword hack") |
| 3 | Browser shows "Deceptive site ahead" or "dangerous site" | Google Safe Browsing has flagged malware or phishing |
| 4 | Search Console reports "Security issues" or a sudden jump in indexed pages | Spam pages or malware found by Google |
| 5 | Admin users you didn't create | Attacker has a back door into the dashboard |
| 6 | New files with odd names, or recently changed core files | Back doors or injected code |
| 7 | Your hosting provider suspends the site or warns about malware | Infected files or abuse from your account |
| 8 | Your domain's emails start bouncing or landing in spam | Your server is sending spam, or the domain is blacklisted |
| 9 | Pop-ups or ads you didn't add | Injected scripts |
| 10 | Site suddenly very slow, or hosting resources maxed out | Crypto-mining, spam sending or bot traffic |
| 11 | Form submissions full of spam links, or customer complaints about strange emails | Forms abused, or data leaked |
| 12 | Card payment details stolen after customers used your checkout | Card-skimming script on the checkout page |
What should you do in the first hour?
Don't start deleting files at random. The first hour is about stopping the damage and keeping evidence.
- 1
Back up everything as it is now, files and database, and keep it separate — you'll need it to find how they got in
- 2
Change every password: hosting control panel, database, all admin users, SFTP/FTP and the email accounts linked to the site
- 3
Turn on two-step login for admins and hosting
- 4
Put the site into maintenance mode if it's redirecting or infecting visitors
- 5
Tell your hosting provider — they may already know, and can check other sites on the account
- 6
Check Google Search Console for security issues and note what Google has found
Generate strong passwords with our password generator, and store them in a password manager rather than a spreadsheet.
How do you clean a hacked WordPress site?
A proper clean-up removes everything the attacker added and closes the way they got in. Skipping either step means they're back within days.
WordPress clean-up checklist
0/9 done
If you have a clean backup from before the hack — and you know when the hack started — restoring it and then updating everything can be faster. But only if you also close the entry point.
For the complete, step-by-step process, read our guide on what to do when a WordPress site is hacked.
How do you get Google to remove the warning?
Once the site is clean, ask Google to check again. Warnings and spam pages don't disappear on their own quickly.
- 1
In Search Console, open Security issues, confirm every listed problem is fixed, and click Request review
- 2
Explain briefly what you found and what you fixed
- 3
Remove spam URLs: make sure they return 404 or 410, then use the Removals tool for the worst ones
- 4
Submit a clean, up-to-date sitemap — check it with our sitemap checker
- 5
Watch indexed pages and search results for your domain over the following weeks
Malware and phishing reviews usually take a few days. Spam pages can stay in search results for longer while Google recrawls them. If your domain's email was blacklisted, check your SPF, DKIM and DMARC with the email authentication checker and request delisting from the blacklists involved.
How do you stop it happening again?
Most hacks we clean up started with something preventable: an outdated plugin, a weak or reused password, or an old, forgotten copy of the site on the same server.
- Outdated plugins and themesMost common
- Weak or reused admin passwordsCommon
- Nulled or pirated premium pluginsCommon
- Old test sites on the same hostingOccasional
- Insecure hosting configurationOccasional
These are patterns from typical projects, not statistics. The prevention list is short:
- Update WordPress, plugins and themes every month, tested on a staging copy.
- Never install nulled plugins — "free" premium plugins are a common source of back doors.
- Two-step login for every admin, and remove admin accounts nobody uses.
- Off-site daily backups, with a restore tested every quarter.
- A web application firewall and login protection.
- Monitoring that alerts you when files change or the site behaves strangely.
- Delete old copies, test sites and unused plugins.
That's exactly what a good website maintenance plan does every month.
Frequently asked questions
How do I know if my website has malware?
Check Google Search Console for security issues, test the site as a logged-out mobile visitor arriving from Google, search for site:yourdomain.com, and ask your host to scan the account.
Why does my site only redirect on mobile?
Many hacks target only mobile visitors or visitors from search engines, to stay hidden from the site owner. That is a strong sign of malicious code.
What is the Japanese keyword hack?
A hack that creates thousands of spam pages, often in Japanese, on your domain to sell fake goods. They appear in Google under your website’s name.
Will restoring a backup fix a hack?
Only if the backup is from before the hack and you also fix the weakness that let the attacker in. Otherwise the site is usually re-infected.
How long does it take to clean a hacked site?
Many sites can be cleaned within a day. Large sites, stores or repeated infections take longer, and Google may need a few days to review.
Can a hacked site hurt my Google rankings?
Yes. Spam pages, warnings and redirects damage trust and traffic. Rankings usually recover after the site is cleaned and reviewed.
Should I report a hack?
Tell your hosting provider and, if customer data or payments may be affected, your payment gateway. Get legal advice on any obligations to notify customers or authorities.
Do security plugins prevent hacks?
They help, especially with firewalls and login protection, but they are not a replacement for updates, strong passwords and backups.
Webmaster.ae
Get UAE tech news in your inbox
One short email a week: the UAE tech, AI, e-invoicing and Google updates that affect your business, and what to do about them.
Sources
- Google Search Central — Help for hacked sites
- Google Search Console Help — Security issues report
- WordPress.org — FAQ: My site was hacked
- OWASP — Top 10 web application security risks
Rules and prices change. We review this article regularly; last checked 26 November 2026.
Webmaster.ae Editorial Team
Engineers, designers and marketers in Dubai. We design, build, host and grow websites, apps and AI automations for UAE businesses — and write about what we learn doing it. About us




