You search your company name and see a red “This site may be hacked” line under it. Or the results show hundreds of pages in Japanese selling handbags you have never stocked. For a Malaysian SME that wins most enquiries from Google, a hacked website is a ranking problem and a trust problem at once, and every day it stays live, both get worse. The good news: a website hacked once does not lose its rankings for good if you clean it in the right order.
Hacks are not rare here. On its incident statistics page, MyCERT recorded 1,410 intrusion incidents and 648 malicious code incidents in Malaysia in 2021, and those are only the cases people reported. This guide from IZI Digital Marketing shows you how to diagnose the damage in Search Console, rank the likely causes, fix a hacked WordPress site and estimate how long your SEO recovery will take.
Seeing a hacked warning on your listing right now?
Give us view access to Search Console before anyone starts deleting files. We will confirm what Google has flagged and how far the spam has spread, so the cleanup starts in the right place. Ask for a hacked site check
In the short video below, Google’s Search Central team walks through the Security Issues report, the screen where your recovery starts and ends. Watch it first, then follow the steps that come after.
How the Security Issues Report Works in Search Console
Source video: Watch on YouTube
PART 1 · DIAGNOSE
How Do You Know Your Website Was Hacked? Check Search Console First
IN BRIEFOpen Search Console and go to Security & Manual Actions, then Security issues. Any entry there confirms Google has detected a hack and shows sample URLs. An empty report does not clear you, because spam can hide from it. If nothing shows, run a full 10-point ranking drop diagnosis alongside the checks below.
Hackers who inject spam want it to last, so they often hide it from the site owner and show it only to Googlebot. That is why you cannot judge a hack by looking at your homepage. Run these five checks before you touch any files:
- Security Issues report. Note each issue type, such as “Hacked: URL injection”, and download the sample URLs Google lists.
- A site: search. Search
site:yourdomain.comon Google and scroll. Pages in Japanese, pharmacy terms or casino keywords you never wrote are the classic sign. - URL Inspection. Inspect a suspicious URL and view the crawled page. Cloaked spam shows here even when the page looks like a 404 in your browser.
- Search Console users. Check Settings, then Users and permissions. An owner you do not recognise means the hacker verified your property to submit their own sitemaps.
- Performance report. Sort queries by impressions. Sudden impressions for unrelated terms show when the spam started ranking.
Keep a dated note of everything you find. The WordPress team’s own guidance for hacked sites calls this the start of your incident report, and you will reuse it when you request a review. If Search Console shows a manual action rather than a security issue, the route is different; follow our steps for a Google manual action reconsideration instead.
BENCHMARK BRIEFING 1
What Do Google’s Hacked Site Warnings Mean for Your Rankings?
IN BRIEFGoogle’s Security Issues report lists 12 issue types. Four are “Hacked” labels, and each damages search in a different way. Malware and phishing trigger warnings that scare visitors away, while injection hacks fill the index with spam pages. Knowing which one you have tells you where your technical SEO basics need attention first.
The table covers the issue types most likely on a hacked business website, what Google says each means, and how it hits search traffic.
| Issue type | What Google means | Search impact |
|---|---|---|
| Hacked: URL injection | New spam pages created on your site | Spam pages indexed; real pages diluted |
| Hacked: Content injection | Spam links or text added to existing pages | Trust and rankings fall on affected pages |
| Hacked: Code injection | Malicious code, often redirects, added to pages | Visitors redirected; warnings possible |
| Hacked: Malware | Software designed to harm a computer | Browser and search warnings; clicks collapse |
| Deceptive pages | Pages that trick visitors, such as phishing | Full-page browser warning |
| Harmful downloads | Malware offered as a download | Download warnings; lost trust |
Aggregated by IZI Digital Marketing from Search Console Help on the Security Issues report, checked 4 October 2026. Highlighted rows are the two spam-injection types that most often explain a ranking drop; the search impact column is an editorial summary.
Malware and phishing warnings are loud, and owners usually notice within days. Spam injection is quiet, and it is the type that slowly drains rankings, because Google spends its crawl on thousands of junk URLs while your real service pages slide. You can also check any domain’s warning status on Google’s Safe Browsing site status page.
PART 2 · DESIGN
How Did the Hacker Get In? Causes Ranked by Likelihood
IN BRIEFGoogle’s developer guidance names six common ways spammers break into sites, led by weak passwords, missed updates and insecure themes or plugins. Cleaning without closing the entry point means the hacker simply returns. A regular website maintenance checklist closes most of these gaps before they open.
Google’s article on the top ways sites get hacked by spammers lists six entry points. The briefing below ranks them for a typical Malaysian SME WordPress site.
BENCHMARK BRIEFING 2
Which Hacking Causes Are Most Likely on a WordPress Site?
IN BRIEFNo official body publishes how often each entry point is used on Malaysian sites, so this briefing is an honest model built on Google’s six causes. Outdated plugins and themes score highest on small WordPress sites, followed by reused passwords. That pattern is one reason an SEO audit checklist should include a plugin review.
Scores run from 1 (rare) to 10 (very common) on a typical SME site that has had no regular maintenance.
| Entry point | Likelihood score |
|---|---|
| Outdated or nulled themes and plugins | 9 |
| Missed core or server updates | 8 |
| Compromised or reused passwords | 8 |
| Security policy holes | 6 |
| Social engineering | 4 |
| Data leaks | 3 |
Illustrative model by IZI Digital Marketing, built on the six causes in Google’s web.dev article on the top ways sites get hacked by spammers, checked 4 October 2026. An editorial estimate, not measured data.
Two local patterns push plugins to the top. Many SME sites were built once by a freelancer and never updated, and “free” copies of premium plugins and themes are still widely shared. Google warns that attackers may hide malicious code inside these free versions of paid software, so the backdoor arrives the day you install them.
DECISION BOX · CLEAN THE CURRENT SITE, RESTORE A BACKUP OR REBUILD?
| Situation | Best option | Why |
|---|---|---|
| Clean backup from before the hack date | Restore, then patch | Fastest route, as long as you fix the entry point before going live |
| No clean backup, site still mostly intact | Clean in place | Keeps your URLs and content, but needs a careful file-by-file check |
| Repeated hacks, outdated theme, no developer | Rebuild on clean code | Hidden backdoors survive partial cleans; keep the same URLs for rankings |
Verdict: Restore when a backup predates the hack. Clean in place when it does not. Rebuild only after a second infection, and keep every existing URL so you do not lose rankings to the rebuild itself.
PART 3 · DEPLOY
How to Fix a Hacked WordPress Site Without Losing Rankings
IN BRIEFLock the doors, clean the files, then clear the spam from Google. The order matters: removing spam URLs from search before closing the hole just invites more. If the hack lives on a cheap shared server, read our web hosting buyer’s guide for Malaysia before you move hosts.
- Lock access. Remove unknown owners in Search Console and delete their verification files. Reset every password for WordPress admins, hosting, cPanel, FTP and the database, and replace the secret keys in
wp-config.phpto log everyone out. - Take a snapshot. Back up the infected site before cleaning, as the WordPress team advises, so you keep a reference copy if something breaks.
- Replace core files. Upload fresh copies of
/wp-adminand/wp-includesfor your WordPress version by SFTP, rather than using the dashboard reinstall. - Clean themes, plugins and .htaccess. Delete unused or nulled plugins, reinstall the rest from official sources, and check
.htaccess,index.php,header.php,footer.phpandfunctions.phpfor injected code. - Remove spam pages and users. Delete injected posts, rogue admin accounts and fake sitemaps. Make sure spam URLs now return a 404 or 410, not a redirect.
- Update and harden. Update core, themes and plugins, turn on two-factor login, and follow WordPress’s hardening guide. Then change all passwords a second time.
- Verify, then request review. Re-inspect the sample URLs in Search Console. When all are clean, click Request Review in the Security Issues report.
Google also publishes step-by-step fixes for the three spam hacks it sees most: the Japanese keyword hack, the gibberish hack and the cloaked keywords hack. Code injection often shows up as redirects, so if visitors bounce between URLs after the cleanup, see our fix for a WordPress redirect loop error.
Not sure whether to clean, restore or rebuild?
Send us your Security Issues screenshot and the site’s age. We will tell you which route protects your rankings best and what your developer should do first. Get a recovery route recommendation
BENCHMARK BRIEFING 3
How Long Does Google Take to Review a Hacked Site?
IN BRIEFGoogle publishes review times by issue type: about a day for phishing, a few days for malware, and up to several weeks for sites hacked with spam. The review only starts once you submit, so a slow cleanup adds directly to your downtime. A manual penalty follows a separate path, covered in our Google penalty recovery guide.
The table brings Google’s own timing statements together in one place, from the review request to temporary removals.
| Stage | Google’s stated time | Source |
|---|---|---|
| Phishing review | About a day | web.dev, Request a review |
| Malware review | A few days | web.dev, Request a review |
| Hacked with spam review | Up to several weeks | web.dev, Request a review |
| Any Security Issues review | A few days to a few weeks | Search Console Help |
| Temporary URL removal | Lasts about six months | Search Console Help |
Aggregated by IZI Digital Marketing from Google’s web.dev guidance on how to request a review, Search Console Help on the Security Issues report and the Removals tool, checked 4 October 2026. The highlighted row is the case behind most SME ranking drops.
Your review request should be short and specific. Google asks for a brief explanation of how the site was cleaned, for example “removed spam content and corrected vulnerability by updating plugin”. Name the hack type, the entry point you closed and the date you finished. If the review fails, Google tells you what it still found; fix that and submit again.
BENCHMARK BRIEFING 4
How Long Until Rankings Recover After a Hack?
IN BRIEFRecovery runs on three clocks: your cleanup, Google’s review and the slow drop-out of spam URLs from the index. Warning-type hacks recover fastest once the label is lifted. Spam-injection hacks take longest, because thousands of junk URLs must be recrawled first. Expect daily ranking fluctuations along the way.
The timeline models each stage for the three hack families, from the day the cleanup starts.
| Hack type | Week 1 | Weeks 2–4 | Months 2–3 | Months 4–6 |
|---|---|---|---|---|
| Phishing or deceptive page | Clean + review | Return | – | – |
| Malware or code injection | Clean | Review | Return | – |
| Spam injection (Japanese keyword, gibberish) | Clean | Review | Spam drops out | Return |
Illustrative model by IZI Digital Marketing, built on review times in Google’s web.dev guidance on how to request a review and Search Console Help on the Security Issues report, checked 4 October 2026. Only the review times are Google figures; cleanup and ranking-return windows are editorial estimates.
For a website hacked with spam, rankings take longest to return because Google has to recrawl every junk URL and see it return a 404 before it drops out. A site with 20,000 injected pages simply needs more crawling than one with 200. Submitting a clean XML sitemap of your real pages helps Google refocus on them.
Some links pointing at your site may also change during a hack, as spam pages attract junk links and real partners remove theirs. After the recovery, use our steps to find and recover lost backlinks so your authority returns along with your pages.
PART 4 · DRIVE
How Do You Stop Your Website Being Hacked Again?
IN BRIEFPrevention is a set of owner habits, not a one-off plugin. Keep ownership of your accounts, update monthly, keep backups off the server and watch Search Console. Whoever manages your website design and development should report on updates and backups every month.
- Own every login. Keep the business as owner of the domain, hosting and Search Console, with alerts going to an inbox someone reads.
- Update on a schedule. Core, theme and plugins monthly at minimum; delete anything you no longer use.
- Never install nulled software. Buy premium plugins from the developer, or choose a free alternative from the official directory.
- Keep off-site backups. Daily backups stored away from your hosting account, with at least 30 days of history so you can restore to before a hack date.
- Use two-factor login for every admin account, and remove admins who have left the company.
- Rebuild trust after the fix. Fresh content and genuine mentions help rankings settle. If you plan creator campaigns to rebuild visibility, budget with realistic influencer marketing rates in Malaysia.
FAQ
Frequently Asked Questions
1. Will a hacked website lose its Google rankings?
Usually yes, at least for a while. It depends on the hack type; malware and phishing trigger warnings that cut clicks, while spam injection fills the index with junk pages that pull real pages down.
2. How do I check if Google thinks my site is hacked?
Open the Security Issues report in Search Console. It depends on how the hack hides, so also run a site: search and inspect suspicious URLs, because cloaked spam may not appear in the report straight away.
3. How long does a Google review take after a hack?
Between a day and several weeks. It depends on the issue; Google says phishing takes about a day, malware a few days, and sites hacked with spam up to several weeks.
4. Should I redirect hacked spam URLs to my homepage?
No, let them return a 404 or 410. It depends on the URL only if it was a real page before the hack; for injected spam pages, redirects tell Google the spam is part of your site.
5. Is it better to restore a backup or clean the site?
Restore if you have a clean backup from before the hack. It depends on the backup’s date; if every backup is infected, clean in place, and rebuild only after repeated infections.
6. Will my rankings fully come back after cleaning?
In most cases they do, given time. It depends on how long the hack was live and how many spam URLs were indexed; large spam injections can take four to six months to settle.
7. What is the Japanese keyword hack?
It is a spam hack that creates pages of Japanese text on your site. It depends on the variant, but the pages usually sell counterfeit goods through affiliate links and are hidden from you while shown to Google.
Want your rankings back without guessing?
Book a free Blueprint consultation. We will diagnose the hack from Search Console, design the cleanup order, and help you decide what to fix first so your real pages return to Google sooner.