On this page
What this issue is
The Japanese keyword hack is a type of site compromise. An attacker gets in through an outdated plugin, a weak password or a stolen login. They then generate many new pages with Japanese text, product names and affiliate links, usually for counterfeit brand goods.
The pages often use cloaking. That means the server shows one thing to normal visitors and something else to search engine crawlers. You open your site and it looks fine. Google sees spam.
Typical signs: odd URLs like /?p=123456 or /abc/xyz123.html, a huge sitemap.xml you did not create, strange files in the web root, and search results for your domain showing Japanese titles.
Why it costs you leads or sales
Google may flag your site as hacked, drop your real pages in the rankings or show a warning in results. Your good pages compete with thousands of spam pages for crawl attention. Visitors who land on spam may be redirected to scam shops, which damages trust in your brand. Browsers or security tools can also warn people away.
- Site compromisedOutdated plugin or stolen login lets an attacker in
- Spam pages indexedThousands of Japanese URLs appear in Google
- Rankings and trust dropReal pages lose visibility, warnings may appear
- Leads and salesFewer visitors reach forms and checkout
The break happens before a visitor ever reaches a form or checkout.
Example: illustrative numbers showing organic visits falling after spam pages are indexed. Real results vary.
How to check if your site has it
Search your domain in Google
Search
site:yourdomain.comand scan the titles for Japanese characters, brand names you do not sell or odd product pages. Also trysite:yourdomain.com 激安orsite:yourdomain.com ブランド.Open Google Search Console
Check Security & Manual Actions, then Pages (indexing) and Performance. A sudden jump in indexed pages or queries in Japanese is a strong sign.
Test as Googlebot would see it
In Search Console use URL Inspection on a suspicious URL and open the live test and the rendered page. This shows what Google receives, which may differ from your browser.
Look at your sitemap
Open
/sitemap.xmland/robots.txt. Unknown sitemap files or huge URL lists you did not create are a red flag.Inspect files on the server
Look for recently changed files, unknown PHP files, and edits to
.htaccessorindex.php. Ask your host to run a malware scan if you are unsure.
How to fix it
Work in this order: contain, clean, close the hole, then ask Google to re-review. Cleaning without closing the hole usually means reinfection.
Take a full backup of the infected site
Keep a copy for investigation, then work on a staging copy or in maintenance mode if you can.
Restore a clean backup or remove the malware
The safest route is restoring a backup from before the infection date, then updating. If you clean by hand, remove the unknown files, injected code in core files and rogue admin users. A professional cleanup service or your host's security team can help.
Change every credential
Reset passwords for the CMS, hosting panel, FTP/SFTP, database and email. Rotate database passwords and security keys. Remove users you do not recognise.
Update everything
Update the CMS, themes and plugins. Delete unused or abandoned plugins and themes, and any nulled (pirated) ones, which are common entry points.
Remove the spam URLs from Google
Once the pages return 404 or 410, they drop out over time. Submit a clean sitemap with only real pages. For urgent cases use the Removals tool in Search Console.
Request a review
If Search Console shows a Security issue or manual action, fix it and use Request Review with a short note on what you cleaned and how.
Reinstall core files
Go to Dashboard > Updates and reinstall WordPress, or replace
wp-adminandwp-includeswith fresh copies. Checkwp-content/uploadsfor.phpfiles, which should not be there.Check admins and options
Under Users, delete unknown administrators. Reset salts in
wp-config.phpto log everyone out. Check.htaccessfor rewrite rules you did not add.Scan and remove bad plugins
Run a malware scanner plugin and compare plugin folders against fresh downloads. Delete anything you do not use.
Find recently changed files
On the server, list files changed recently to spot injected code. See the command below.
Search for common obfuscation
Search for functions such as
eval(base64_decodein your code. Legitimate uses exist, so review each hit before deleting.Redeploy from version control
If your code is in Git, redeploy a known good commit over the server files and rotate all secrets.
Check theme code and apps
Shopify hosts the platform, so injection usually comes via a theme, a third-party app or a staff account. Review Online Store > Themes > Edit code, remove unknown scripts and uninstall unused apps.
Secure staff accounts
Under Settings > Users, remove unknown staff and turn on two-step authentication.
# PHP files changed in the last 14 days
find /var/www/html -type f -name '*.php' -mtime -14
# PHP files inside uploads (usually should be none)
find /var/www/html/wp-content/uploads -type f -name '*.php'
# Common obfuscation patterns (review each hit manually)
grep -rIl --include='*.php' 'eval(base64_decode' /var/www/htmlHow to confirm it's fixed
site:yourdomain.comno longer shows Japanese or unknown pages (this can take days or weeks)- Spam URLs return 404 or 410 when fetched
- URL Inspection live test shows your real content
- No unknown files changed in the last few days
- Sitemap lists only your real pages
- Search Console shows no Security issues or manual actions
- All passwords changed and unknown users removed
How to prevent it happening again
- Turn on automatic updates for core, plugins and themes where safe
- Delete unused plugins, themes and old staging sites
- Use unique, long passwords and two-factor authentication for admin and hosting
- Limit admin users and file permissions
- Keep off-site backups and test restoring them
- Add your site to Google Search Console and turn on email alerts
- Check
site:yourdomain.comonce a month
Infected
- Thousands of unknown indexed URLs
- Japanese titles in search results
- Unknown files and admin users
- Rankings falling
Clean
- Only your real pages indexed
- Spam URLs return 404 or 410
- Updated software, new credentials
- Search Console shows no issues
How FunnelGuard handles this
FunnelGuard does not check for this yet. Detecting hidden spam pages is a possible future check, not something it does today.
What FunnelGuard does cover nearby: a robot visitor runs your real journeys, such as lead forms, checkouts and booking buttons, on a schedule and checks each step, the tracking hits and whether test leads arrive. If malware breaks a form, a redirect or tracking, a failed journey can point you to a problem. That is not the same as detecting spam pages, and a hack that leaves your journeys working would not be noticed.
To watch for this issue yourself, use Google Search Console (Security issues, Pages and Performance reports, with email alerts on), a monthly site:yourdomain.com search, and a malware scanner or file-change monitoring from your host. A free FunnelGuard plan covers 1 site and 2 journeys with daily checks, no card needed.
Questions people ask
Why does my site show Japanese text in Google results?
This is usually the Japanese keyword hack. Malware has created spam pages on your site, often shown only to Google, and they are now indexed. Search site:yourdomain.com and check Search Console to confirm, then clean the site and close the entry point.
How do I remove the Japanese keyword hack?
Restore a clean backup or remove the injected files, update all software, delete unused plugins and reset every password. Make the spam URLs return 404 or 410, submit a clean sitemap and request a review in Search Console if there is a security issue or manual action.
Why does my site look normal but Google shows spam pages?
The malware uses cloaking, meaning it shows spam only to crawlers or to people arriving from search. Use the URL Inspection live test in Search Console to see what Google receives.
How long does it take for Google to remove hacked spam pages?
It can take days to several weeks, depending on how many pages were created and how often Google crawls your site. Making them return 404 or 410 and submitting a clean sitemap speeds it up. The Removals tool can hide URLs quickly while they drop out.
Will the Japanese keyword hack hurt my rankings?
Yes, it can. Google may flag the site as hacked, spread crawling across spam URLs and lower trust in your real pages. Rankings often recover after a full cleanup, but not instantly.
How did my site get the Japanese keyword hack?
Common causes are outdated plugins or themes, nulled (pirated) software, weak or reused passwords and stolen logins. Check your logs and file changes to find the entry point, because cleaning without fixing it often leads to reinfection.
Should I block the spam URLs in robots.txt?
No. Blocking stops Google from recrawling and seeing that the pages are gone, so they may stay indexed. Let them return 404 or 410 instead.
Does FunnelGuard detect the Japanese keyword hack?
No, not yet. It is a possible future check. FunnelGuard monitors your funnels such as forms and checkouts, so use Search Console and a malware scanner to watch for hidden spam pages.
Related issues
- SEO-191Hacked content injected (pharma, casino links)Fix guide
- SEO-190User-generated spam in comments or forumsFix guide
- SEO-182Lorem ipsum or placeholder content liveFix guide
- SEO-188Expired event, offer or job pages left liveFix guide
- SEO-175Thin content on money pagesFix guide
- SEO-176Duplicate content copied across pages (city pages, product variants)Fix guide