What does a Japanese keyword hack look like in Google?
It looks like your site, speaking Japanese. The hack creates new pages of auto-generated Japanese text in randomly named folders, and Google finds and indexes them like any other page on the domain. Google's guide to the hack starts with the Security Issues report in Search Console, then a site: search on the domain, looking for unusual URLs.
The fix has two halves, and they belong to different people. Someone has to remove the malware and close the hole it came in through. Then somebody has to clear up what the hack did to your search results, which is what my Google penalty recovery services cover, and that's the half I do.
| Where you see it | What it looks like | What it tells me |
|---|---|---|
| A site: search | Japanese titles and snippets on URLs in folders the site never had | Spam pages are indexed, and the folder pattern is the first thing I note |
| Your own listing in Google | The label 'This site may be hacked' under the result | Google thinks pages were changed or spam pages were added |
| Search Console, Security issues | A hacked content issue, often URL injection, with sample pages | Google has confirmed it, and the review request lives here |
| Search Console, Performance | Japanese queries, and pages you don't recognise taking impressions | The spam is being shown to searchers, so those URLs come first |
| A Search Console email | A notice that someone you don't know has verified the site | Google's guide calls that a strong possibility the site's been hacked |
The spam pages can also be cloaked, so a visitor sees the normal site while Googlebot gets the Japanese text. Google's guide points to the URL Inspection tool for that, because it shows what Google received.
Who cleans the site, and what do I need before I start?
A security specialist or your host cleans the site. I don't remove malware or harden servers, because pulling spam URLs out of Google while the hole's still open just means new ones keep appearing.
What I need is short: full user access to the Search Console property, ideally a Domain property; the specialist's written confirmation that the site is clean and the entry point closed; and the date the hack was first noticed, so I can line the Performance report up against it. If there's no Search Console property at all, that's the first job, because the Security issues report and the review button both live there.
Remove owners you don't recognise. Google's guide says that if a new owner you don't recognise has been added in Search Console, you should revoke their access as soon as possible, and remove the verification token they used, often an HTML file in the site root or an .htaccess rule faking one. I check Settings, Users and permissions before anything else, because an unknown owner sees every report I'm about to work from.
Don't request a review until the cleanup is finished. Google's help asks you to fix the issue across the whole site and test the fix first, and a request sent while spam pages still load only delays the one that would pass.
How I find every spam URL Google has indexed
The goal is one list of every spam address Google has seen. No single source has all of them, so I pull from several and merge.
- Step 01
Run site: searches on the domain
I search
site:with the domain, then add Japanese words and the folder names I spot in the first results. A site: search is a sample, not a count, but it shows the URL patterns fast. - Step 02
Read the Security issues samples
The report lists sample affected pages for each issue. They confirm the patterns I've found, but they aren't the full list.
- Step 03
Filter the Performance report
I filter the Pages tab for the spam folders, then look for Japanese text in Queries. Any spam URL that took impressions goes to the top of the list, because searchers are seeing it.
- Step 04
Export the Pages report
It shows which spam URLs are still indexed and which already return Not found (404). Google says its example lists stop at 1,000 rows, so on a big hack it isn't complete either.
- Step 05
Check which sitemaps Google knows about
The sitemap filter in the Pages report covers the sitemaps submitted in Search Console and any that robots.txt points to. A sitemap nobody remembers adding is the first file I open.
- Step 06
Inspect a sample with URL Inspection
A few URLs per pattern go through URL Inspection. A live test shows what the server sends Googlebot now, which is how cloaked spam gets caught.
- Step 07
Merge, dedupe and group by pattern
Everything goes into one sheet, with each URL's source and pattern. The patterns drive the fix, and the sheet becomes the review evidence.
Keep the sheet. Google's review request asks you to explain the issue, the steps taken and the outcome, and a dated list of spam URLs with their status codes does most of that work for you.
Rather have me do this? One person, whole job.
Book a call on UpworkWhat should the spam URLs return once they're gone?
A 404 or a 410. Google's documentation says it doesn't index URLs that return a 4xx code, and indexed URLs that start returning one get removed. It treats every 4xx except 429 the same way, so I use a 410 where the server can match a whole spam folder easily, and a 404 everywhere else.
| Response | What happens in Google | Do I use it? |
|---|---|---|
| 404 or 410 | The URL is dropped once Google recrawls it and sees the error | Yes, for every spam URL |
| 301 to the homepage | Tells Google the page moved, when it didn't move anywhere | No, it hides the problem instead of ending it |
| 200 with an empty page | Google may treat it as a soft 404: a page that looks missing while the server says it's fine | No, the status code has to say the page is gone |
| Blocked in robots.txt | Google can't recrawl it to see it's gone, and a blocked URL can still show in results | No, and I check nobody's added one |
| Removals tool | Hides the URL for about six months, then it can come back | Only for the worst few, alongside a 404 |
The robots.txt block is the one people reach for, and it backfires. Google says robots.txt isn't a way to keep a page out of Google, and a blocked URL can still appear in results. The crawler has to reach the spam URL to learn it's gone.
Then I test every URL on the list with a browser user agent and with Googlebot's. A spam URL that 404s for one but returns 200 for the other means the cleanup isn't finished, and it goes back to the specialist.
How do I check the sitemap and robots.txt for leftovers?
The hack can leave instructions for Google as well as pages. I read these line by line, in the live files rather than a dashboard.
- i.
The robots.txt file
Google reads any
Sitemap:line in robots.txt. I check each one points at a sitemap the site really generates, and that no new Disallow line hides a spam folder or the real site. - ii.
Every sitemap Google has seen
Google's guide says to review any sitemap you don't remember adding and to remove any that holds nothing but spam, so once the specialist deletes those files I check each old address returns a 404.
- iii.
The sitemap WordPress really generates
Whether it's WordPress core's or the SEO plugin's, I compare its folders and URL count with the real content. Spam saved as posts would show up here.
- iv.
Redirects, tested from outside
Google's guide flags malicious rewrite rules in .htaccess. Editing server files is the specialist's side, but I test the result: real pages shouldn't redirect anywhere odd for Googlebot, and spam paths shouldn't redirect at all.
- v.
Spam links inside real pages
The Security issues report also names content injection, where spammy links get added to existing pages. I crawl the real pages for outbound links to domains the site never linked to.
If the sitemap setup was messy before the hack, this is a good moment to sort it, and that's the robots.txt and sitemap work I also do on its own.
How does the Security issues review work?
It's a button, but what you write behind it matters. Once every issue is fixed across the whole site and the fix is tested, you select Request Review in the Security issues report. Google's help says the request should explain the exact issue, describe the steps taken and document the outcome.
So I write it from the evidence: the URL patterns, the date the entry point was closed, how many spam URLs now return a 404 or 410, and what changed in the sitemaps and robots.txt. It's short and it doesn't argue. Once Google has checked the site is fixed, it removes the 'This site may be hacked' message.
How long does Google take to drop the spam pages?
There's no fixed number, and I won't invent one. Google's documentation gives three separate clocks. Each 4xx URL is dropped once Google recrawls it and sees the error, so every spam URL goes on its own schedule. The Security issues review takes several days or weeks, Google says, and it asks owners not to resubmit while one is pending. The Removals tool hides a URL for about six months, which is why I only use it for the worst few while the 404s do the real work.
So I track it rather than promise it: spam URLs moving into Not found (404) in the Pages report week by week, and the Japanese queries fading in Performance. If real pages start slipping into discovered or crawled but not indexed, that status has its own diagnosis, and it isn't always the hack. I can't promise when traffic comes back, and nobody truthfully can.
How do I stop the Japanese keyword hack coming back?
Closing the hole is the specialist's side, but I don't finish a job without asking about it. Google's guide to the Japanese keyword hack cites a study finding that 20% of hacked sites are hacked again within one day, and its checklist is plain: work out how the site was hacked, change the passwords for hosting, FTP and the CMS, turn on two-step authentication, and keep the CMS, plugins and themes updated.
My own last check is Search Console again, a few weeks on: no unknown owners back in Users and permissions, and no new Japanese queries in Performance.
Once your specialist signs the site off as clean, I can take the whole search side: the spam URL list, the status codes, the sitemaps and the review request, all done remotely. You can see how a job with me runs first.
Book a call on Upwork
