Store Armory
← WordPress help & business guides
WordPress repair

Japanese Keyword Hack in WordPress: How to Detect and Remove It

Google showing Japanese spam pages for your site? Here's how the Japanese keyword hack works and how to find and remove it from WordPress.

Published November 21, 2026 · Store Armory Editorial

You search for your own site on Google and see pages of Japanese text you never wrote, with titles pushing counterfeit goods. That’s the Japanese keyword hack (sometimes called the Japanese SEO spam hack) — a compromise that hijacks your site’s search presence to rank spam. Here’s how it works and how to remove it.

How to recognise the Japanese keyword hack

  • Google results for your domain show Japanese-language pages and auto-generated URLs you don’t recognise.
  • Google Search Console reports a sudden spike of indexed pages, or a “Security issue” for hacked content.
  • The spam pages often only appear to Googlebot — visiting them yourself may redirect or 404, which is how the hack hides.
  • A new sitemap you didn’t create (for example sitemap.xml variants) lists hundreds of spam URLs.

Where the hack hides

The Japanese keyword hack usually plants:

  • Injected PHP files in the site root, in core folders or in wp-content/, which generate the spam pages on the fly.
  • Modified core or theme files that cloak content for search-engine crawlers only.
  • A rogue admin account and often a malicious scheduled task, so it survives a partial clean-up.
  • Altered .htaccess or settings that route crawlers to the spam.

How to detect and remove it

  1. Back up the site as-is (files + database) to keep the evidence.
  2. Verify core integrity — compare every core file to the official WordPress.org checksums to expose modified and unknown files in core folders, a favourite hiding spot for this hack.
  3. Scan every PHP file for the injectors that build the spam pages — obfuscated code, request-driven output and cloaking logic — down to the exact line.
  4. Remove the malicious files, reinstall clean core, delete the rogue admin and any fake sitemap, and clear malicious scheduled tasks.
  5. Clean up Search Console: remove the spam URLs, request a review if a security issue was flagged, and resubmit your legitimate sitemap.

Forvault Security (free on WordPress.org) does the detection — core integrity, web-shell scanning and change detection — read-only, so it’s safe to run while the site is live. For the full clean-up order, see how to clean a hacked WordPress site.

Stop it coming back

This hack returns if you miss the backdoor. After cleaning, take a file baseline and watch for changes; the Premium add-on adds scheduled scans and new-admin alerts so a reinjection is caught immediately. If you want it handled for you, we offer a done-for-you cleanup.

Frequently asked questions

Why can’t I see the spam pages myself?

The hack cloaks: it serves spam to Googlebot but normal content (or a redirect) to regular visitors. Use Search Console’s URL inspection to see what Google sees.

Will removing the files fix my Google results?

It stops new spam, but the old spam URLs linger in the index until you remove them in Search Console and Google re-crawls. Clean the files, then clean the index.

Is Forvault Security free?

Yes. The malware scan, core integrity check and file baseline are all free on WordPress.org.

Detect it now

Install Forvault Security free from WordPress.org →

Keep reading

Tell us what you need

Describe the problem or the project. We will discuss the scope and provide a quote before work starts.

We use these details to respond to your enquiry. Do not send passwords or confidential access details. Privacy