Skip to content
How to Remove Japanese Keyword Hack from Your Website: The Complete Technical Guide

How to Remove Japanese Keyword Hack from Your Website: The Complete Technical Guide

By Jeevan Tipke

Published:

Updated Date:

7 min read

Short on time? Send us your brief for a free proposal.Get a free proposal

The Japanese keyword hack is an SEO spam infection that fills your site with thousands of auto-generated Japanese pages selling counterfeit goods. They appear in Google under your own domain, drag down your reputation and rankings, and often come back if the root cause isn’t fixed. This guide explains how to confirm the infection, clean it, get the spam out of Google and stop it returning. Reviewed October 2026.

The short answer: back up, scan and clean files and the database, remove the entry point (outdated plugin, stolen password), return 404 or 410 for the spam URLs, submit a clean sitemap, use Search Console’s removal and review tools, and then harden the site. Recovery in Google commonly takes weeks. If you’d rather hand it over, The Adroit’s WordPress team can help. Prevention checklist: WordPress security tips.

4signs to confirm the infection
7steps to clean and recover
2places to clean: files and database
1must-do: close the original entry point

What is the Japanese keyword hack?

Attackers who gain access (usually through a vulnerable plugin or theme, or stolen credentials) inject code that generates spam pages with Japanese product keywords, often luxury brands, sportswear and electronics. The pages can use odd URLs such as /983/cheap-brand.html or /?q=…, may only show to Googlebot (cloaking), and can redirect visitors to scam shops. It is most common on WordPress but can hit any CMS. Google may flag the site as hacked and, in serious cases, apply a manual action for hacked content or spam.

How to tell if you’re infected

Sign Where to look What it means
Japanese titles or unknown pages Google search: site:yourdomain.com Spam URLs are indexed
Sudden jump in indexed or “not indexed” pages Search Console > Pages Thousands of injected URLs
Hacked content or manual action warning Search Console > Security issues and Manual actions Google has detected the compromise
Unknown files or folders (numeric folders, odd PHP files) File manager or SFTP Injected malware or doorway pages
Changed .htaccess, index.php or new admin users Files and Users screen Persistence for the attacker
Spam only visible to Googlebot Search Console URL Inspection (live test) Cloaking, so your own browser may look normal

Also scan with a reputable tool such as Sucuri SiteCheck or your host’s scanner. Note that external scanners can miss cloaked or server-side malware, so check files and Search Console too.

Step 1: Take a backup and limit damage

  • Back up the infected files and database (for evidence and recovery), clearly labelled as infected.
  • If you can, put the site in maintenance mode or restrict access while cleaning.
  • Ask your host whether they have clean backups from before the infection date.

Step 2: Change every credential

Change passwords for WordPress admins, hosting/cPanel, SFTP/SSH, the database and email. Rotate the security keys in wp-config.php (this logs everyone out), delete unknown admin users and enable two-factor authentication.

Step 3: Find and remove the malware

  • Safest route: restore a known-clean backup, then update everything immediately.
  • Otherwise clean manually or with a professional tool/service: replace WordPress core files with fresh copies, reinstall plugins and themes from trusted sources, and inspect /wp-content/uploads/ (it should contain media, not PHP files), .htaccess, index.php, wp-config.php and unfamiliar numeric folders in the web root.
  • Check the database for injected posts, options, users and scheduled tasks.
  • Look for backdoors (hidden admin users, rogue cron jobs, obfuscated code such as base64/eval). Missing one lets the hack return.

If this feels risky, use a malware-removal service or your host’s cleanup. Cleaning is only complete when the entry point is also closed.

Not sure which one fits your brief?

Tell us what you need and we will point you to the right fit, including when that is not us.

Step 4: Close the entry point and update

Update WordPress core, every plugin and theme, and PHP. Delete anything unused or abandoned, and any “nulled” premium plugins. Review which plugin or account was the likely way in, since the infection will return otherwise. See our WordPress security checklist.

Step 5: Make spam URLs return 404 or 410

Once the files are gone, spam URLs should return a 404 (not found) or 410 (gone) status so Google drops them. Do not block them in robots.txt: if Google can’t crawl a URL it can’t see that it’s gone, and the URL may stay indexed longer. Avoid broad robots.txt rules such as blocking all .html files or /index.php, which can harm legitimate pages. Use robots.txt only for normal crawl management.

Step 6: Get spam out of Google

  1. Submit a clean sitemap in Search Console so Google recrawls real pages.
  2. Optional recrawl trick: list the spam URLs in a temporary sitemap or text file and submit it, so Google revisits them sooner and sees the 404/410 responses. Remove it once they drop out.
  3. Use the Removals tool for urgent hiding of URLs or whole prefixes. Remember it is temporary (roughly six months); the permanent fix is the 404/410 plus recrawling.
  4. Check Security issues and Manual actions. If a warning exists, fix everything first and then request a review, explaining what was cleaned and how you closed the hole.
  5. Use URL Inspection on a few former spam URLs to confirm they now return the correct status.

Search Console only displays a limited number of URLs per report, so export the lists in batches, add newly found spam URLs and repeat until the counts fall.

Step 7: Harden and monitor

  • Install a reputable security plugin or firewall (Wordfence, Sucuri, Patchstack, Cloudflare WAF or your host’s equivalent).
  • Enable 2FA, limit login attempts and use least-privilege roles.
  • Schedule malware scans and automated off-site backups.
  • Watch Search Console weekly for new indexed URLs, security issues and unusual crawl spikes.

How long does recovery take?

The cleanup itself can take hours to days. Google’s recovery depends on how many spam URLs were indexed and how quickly they’re recrawled, and commonly runs from a few weeks to a couple of months for large infections. Rankings often return gradually once spam is gone and any manual action is lifted.

Common mistakes

  • Deleting visible spam files but leaving a backdoor, so the hack returns.
  • Blocking spam URLs in robots.txt instead of letting them return 404/410.
  • Relying only on the Removals tool without fixing the site.
  • Skipping plugin and theme updates, or restoring an already-infected backup.
  • Not changing passwords and keys after cleanup.

Conclusion

The Japanese keyword hack is fixable: clean thoroughly, close the entry point, make spam URLs return 404/410, use Search Console to speed recovery and keep monitoring. If you want experienced help, talk to The Adroit’s WordPress team, and see our wider SEO services for post-recovery visibility.

Get help cleaning your site

FAQs

What is the Japanese keyword hack?

An SEO spam attack that injects thousands of Japanese-language pages, usually promoting counterfeit goods, into your site so they get indexed under your domain.

How do I know if my site has it?

Search site:yourdomain.com in Google for unknown Japanese pages, check Search Console for security issues and indexing spikes, and look for unknown files or admin users.

Why can’t I see the spam when I visit my site?

Many infections cloak content so only Googlebot sees it. Use Search Console’s URL Inspection live test to view what Google sees.

Should I block spam URLs in robots.txt?

No. Let them return 404 or 410 so Google can recrawl and drop them. Blocking prevents Google from seeing that they’re gone.

Is the Removals tool a permanent fix?

No. It hides URLs temporarily (about six months). The lasting fix is removing the pages and returning 404/410.

How long until Google cleans up?

Often a few weeks to a couple of months for large infections, depending on how many URLs were indexed and how fast they are recrawled.

Will the hack come back?

It can if a backdoor remains or the original vulnerability or stolen credential isn’t fixed. Update everything, rotate passwords and keys, and monitor.

Do I need a security plugin?

A reputable plugin or firewall helps detect and block attacks, but it must be combined with updates, strong logins and backups.

What if Google gave me a manual action?

Clean the site fully, then request a review in Search Console describing what you fixed. Don’t request one before cleanup is complete.

Can The Adroit clean my site?

Yes. The Adroit’s WordPress team handles malware cleanup, spam URL removal and hardening.

Ready to talk to a team?

Share your goals and budget range. We reply with a scoped plan and an honest view of fit, with no obligation.

SHARE ON

Author Jeevan Tipke

CEO at The Adroit

Bachelor of Engineering (B.E.), MBA | Certified Digital Marketing Professional (Semrush, Hubspot, Linkedin, Amazon & Skillup)

Jeevan is an accomplished marketing professional with an extensive blend of academic qualifications and industry experience. He holds a Master’s degree from ITM Business School and Southern New Hampshire University (SNHU), UK, and brings with him an impressive 23-year career spanning both Traditional and Digital Marketing.

Over the years, Jeevan has built deep expertise in modern marketing practices. He is a certified Email Marketing and Social Media Marketing specialist from HubSpot and has further strengthened his knowledge with certifications in Entrepreneurship from HarvardX and as a Sponsored Products Ninja from Amazon.

Currently serving as the CEO of The Adroit, Jeevan plays a key role in driving the company’s growth, innovation, and client success in the digital marketing space.

Beyond his professional work, Jeevan is also a passionate blogger. He runs the blog Blogshog where he regularly writes about Digital Marketing, Health & Lifestyle, and a variety of insightful topics aimed at educating and empowering readers.

Outside of work, Jeevan enjoys staying active and spending his leisure time playing sports such as Badminton and Table Tennis. His diverse interests, entrepreneurial mindset, and commitment to continuous learning highlight his dynamic presence in the marketing industry.

Hello!

We'd love to show you how you can get more traffic and leads

WhatsApp us