Abdulrahman EldiehyWordPress Security Specialist
All guidesSearch issues

Japanese Keyword Hack: Diagnosis and Cleanup

Why Japanese pages appear under your domain in Google, and how to document, clean, close the vector and request review step by step.

10 min readUpdated

Before you start

Have these ready before you work through the steps:

  • Search Console access as a verified owner
  • Server file access
  • Our checker here plus your sitemap
01

What is happening?

The attacker injects thousands of pages on your domain, usually selling counterfeit goods in Japanese, riding on Google's trust in your site and its rankings. These pages are shown to search engines and to visitors arriving from them, but hidden when you open the site directly or while logged in.

your-site.comYour Site | Official storeHandmade products, shipped worldwide…
your-site.com › 4a9f2-cheap-bags.html激安 ブランド バッグ 通販 | 送料無料人気ブランド 財布 激安 アウトレット…
your-site.com › ?jp=8213ブランド 時計 コピー 専門店最新作 腕時計 激安 通販…
Your real results mixed with Japanese pages you never published. Illustrative example.

That's why most owners discover it through a strange search result or a Search Console alert, not on the site itself.

"Japanese" is a symptom, not a rule; the same pattern is used for casino, pharma and loan spam in other languages.

02

Document from Search Console

Open Security Issues, then the Pages report. A sudden jump in indexed pages while you've published nothing new is a clear sign of injection.

Your real pagesJump after the injection
In the Pages report: a sudden rise with nothing new published is a clear sign. Illustrative example.

Export a sample of the injected URLs and save their first-seen dates; they help pin down when the infection began.

Also check the users and owners on the property: some attackers add themselves as owners to submit their own sitemaps. Remove any owner you don't recognise.

03

Scan your sitemap

Paste your sitemap into the Japanese hack checker here: it looks for Japanese characters, spam terms and odd paths, and shows a clear confidence level for each signal.

Legitimate Japanese sites can produce false positives, so focus on paths and spam terms rather than the language alone.

04

Clean on the server and close the vector

You can't delete these pages from the WordPress dashboard; they're usually generated by code in theme files, the .htaccess file, or PHP files planted in unexpected folders. Find the generator and remove it.

Then fix how they got in: an infected plugin or theme, a leaked admin account, or loose file permissions. Cleaning without closing the door means the pages return within days, usually in larger numbers.

Check .htaccess in particular; many of these infections add rules there that send only Google visitors to the fake pages.

Files changed in the last 30 days
find . -type f -name "*.php" -mtime -30 -not -path "./wp-content/cache/*"

Compare the results with what you actually updated.

05

Clean the index and request review

Make the injected URLs return 410 (gone for good) or 404; 410 tells Google clearly the page won't come back. Then submit a clean sitemap containing only your real pages.

410Gone for good: Google drops it faster
404Not found: removed over time
200Still live: the infection remains
What injected URLs should return after the cleanup.

Don't rely on the temporary removal tool alone; it hides URLs for a few months and fixes nothing on the server.

Request a review from Security Issues only after full verification. Results then drop out of Google gradually, at a pace Google sets based on your site's size and the number of pages.

Common questions

A few questions, answered

Because the code shows them only to search engines and visitors arriving from them, and hides them from logged-in users and direct visits.

Not necessarily. Japanese content is expected on your site; focus on spam terms and odd paths, not the language itself.

The index lags. Make sure the URLs really return 404 or 410, update the sitemap, then wait for the next crawl.

Yes. The fake pages eat crawl budget, tie your name to spam, and can trigger a security warning in results.

Because the generator or the way in is still there: a planted file, a rule in .htaccess, or a leaked admin account. Cleaning has to cover the whole server.

Further reading

Let’s get your site clean again.

Tell me what you're seeing on your site in your own words, no technical terms needed, and I'll tell you the next step clearly.