French flag Hosted and supported in France A human reply within 12 hours 06 65 13 24 36
← All articles WordPress & security7 min read

Japanese spam pages on WordPress: how do you remove them?

Remove the Japanese pages injected into WordPress, their generators and their sitemaps, then get the clean URLs recrawled.

Remove the Japanese pages injected into WordPress, along with what generates them and their sitemaps, then have the clean URLs recrawled. The priority is to restore a situation under control without wiping the traces useful to the diagnosis.

Illustrated diagnosis: WordPress Japanese spam pages
Diagnosing Japanese spam pages on WordPress: symptoms, causes, fixes and checks.

How do I recognise Japanese spam pages on WordPress?

An infection is not resolved by deleting the visible file alone. You have to contain the incident, identify the point of entry, clean out every persistence mechanism, renew the secrets and then watch for files or accounts reappearing. Start by noting when it appeared, the most recent changes, the URLs concerned and the behaviour observed.

Test the site from a browser with no session, on mobile, and by arriving from a Google result: many infections only fire for certain visitors, or for crawlers. Note the suspicious URLs, the redirects you see and the Search Console warnings.

01 · Signal to check

Japanese results you do not recognise in Google

02 · Signal to check

Thousands of URLs with products or brand names

03 · Signal to check

Pages sometimes served only to Googlebot

One signal alone does not prove the cause: “Japanese results you do not recognise in Google” can come from “PHP files generating pages on the fly” just as easily as from “A compromised account or plugin”. Look for at least two findings that agree before you apply a lasting fix.

Understanding the “Japanese keyword hack”

This hack automatically generates thousands of Japanese-language pages on your domain, often for counterfeit goods. Sometimes the pages are served only to Googlebot (cloaking), so the site looks normal to visitors. You find them with a site:yourdomain.com search, or in Search Console's indexing report.

The attack frequently adds an unknown owner to the Search Console property so it can submit its own sitemaps. Review the property's users and owners, remove the accounts you do not recognise, and delete the verification tokens behind them — the HTML verification files or the meta tags.

Clearing the pages out and speeding their disappearance

The pages come from hidden PHP, .htaccess rules, or files stored outside the usual folders. Once the code is gone, the spam URLs should return 404 or 410: a 410 says plainly that the content has been removed for good.

Do not add those URLs to robots.txt: Google has to be able to crawl them to see they have gone. Search Console's URL removal tool hides the most visible results for a while, but it does not replace deleted pages dropping out of the index naturally.

Causes to check

For Japanese spam pages on WordPress, the 4 causes below are ranked from the commonest to the rarest. Test the one matching the site’s most recent change first, one at a time.

01 · Possible cause

PHP files generating pages on the fly

02 · Possible cause

A compromised account or plugin

03 · Possible cause

Malicious rewrite rules

04 · Possible cause

A rogue sitemap submitted or discovered

Search Console's Security Issues report, the server access logs, the user list, the recently changed files and the scheduled tasks all give precise dates. Keep that trail: it is how you find the way in.

A good fix does not merely make the symptom disappear. It explains why the problem appeared and how to check that it does not come back.
An animated process to understand WordPress Japanese spam pages
The subject in motion: observe the facts, apply an action in proportion, then check the result.

Precautions before starting

Take a full copy of the files and the database, then keep it aside as evidence: it must not serve as a restore point until the infection is understood.

Then change the administrator, FTP, database and hosting passwords, and rotate WordPress's security keys, to close the doors the attacker could use again.

Free Host by French tool

Which cause best matches your situation?

Pick the situation closest to what you are seeing to get the first recommended action.

Among these common causes, which one best matches what you are seeing?

Want a human opinion on your exact situation?

Get a recommendation
ORDER OF WORK

Diagnosis and fix

PhaseObjectiveA mistake to avoid
ObserveReproduce it and gather the evidenceChanging several settings before you have a baseline
IsolateConfirm the component or the rule responsibleDeleting files without keeping a copy
FixApply the smallest documented changeRestoring a version that still contains the same cause
ValidateTest the whole journey and monitor itConcluding from the home page loading alone

How do I resolve the problem?

The 4 steps below tackle Japanese spam pages on WordPress from the least intrusive to the heaviest. After each change, repeat the same test; if nothing changes, go back to the previous state before moving on to the next step.

  1. 01

    Step 1

    Export the examples from Search Console and from site: queries.

  2. 02

    Step 2

    Compare the response by user agent and referrer to detect cloaking.

  3. 03

    Step 3

    Remove the generator, the suspicious accounts and every persistence mechanism.

  4. 04

    Step 4

    Return 404 or 410 on the fake URLs, then submit a clean sitemap.

If a step changes the database or the code directly, do it on a copy first. Once the fix is in place, the first check is still this: check that the fake URLs no longer return a 200.

Validate the resolution

After the clean-up, scan the files and the database again, review the administrator list, and test the redirects from several devices and from Google. Where Search Console reported a problem, request the review only once those checks are done.

Validation checks

Schedule a second integrity check a few days later: a back door you missed can reinfect the site after a clean-up that looked successful.

Prevent a recurrence

Prevention has to answer the cause you identified. For Japanese spam pages on WordPress, the first measure is “Block file editing”; note too the signal that would have shown the incident sooner, and who is responsible for watching for it.

01 · Preventive measure

Block file editing

02 · Preventive measure

Keep plugins and themes updated

03 · Preventive measure

Watch for new URLs

04 · Preventive measure

Protect Search Console

Delete the plugins you do not use, keep administrator accounts few, turn on two-factor authentication and monitor file changes. Security rests on those layers together, not on a single plugin.

A practical diagram about WordPress Japanese spam pages
A marker specific to this article: three steps to turn reading into a decision you can verify.
FREQUENTLY ASKED QUESTIONS

Frequently asked questions about Japanese spam pages on WordPress

Why can I not see these pages on my site?

They are often served only to Google's crawlers, or generated on URLs nobody visits. A site:yourdomain.com search, or the URL inspection tool, shows what Google actually sees.

Should you block these pages in robots.txt?

No. Google has to be able to crawl them to see that they now return a 404 or 410. Blocking them in robots.txt can instead keep them in the index for longer.

What do you do about an unknown owner in Search Console?

Remove them, then delete their verification token (the HTML file or meta tag) so they cannot verify again. Review any sitemaps they submitted and delete those too.

How do you check the fix will hold?

Check the fake URLs no longer return 200. Review any new files and sitemaps. Track the unwanted indexed pages falling away. Then watch the logs, the alerts and the relevant metrics for several days.

ON TO YOUR OWN CASE

How to resolve it

If Japanese spam pages on WordPress persists after these steps, we can pick the diagnosis up again from your logs and your access details, without acting blind on the site.

Get a diagnosis

Summary with an AI

Choose your assistant: the request is prefilled where that is possible, and always copied, ready to paste if need be.

ChatGPTSummarise the article PerplexitySummarise the article ClaudeSummarise the article CopilotSummarise the article MistralSummarise the article GeminiSummarise the article
THEY TRUSTED US

Client references

See all case studies
Montreuil-sur-Mer logo Data Labcenter logo Sofradom logo 70 Football logo Afrique sur 7 logo CyberJay logo Élisa Reddet logo Foire du Trône logo Goodyvest logo Kincy logo Lhotellier logo Audrey Mégelé du Bourg logo MYF logo
Sine Qua Non logo Make It Happen logo Sonance Audition logo ACME logo Beluvia Bar Store logo Desaltera logo Fête des Loges logo GD Menuiseries logo 3G Immo logo Lavish logo Maison du Feu logo Mieux Fiscal logo MYF Tea logo
Go deeper

Useful articles

See all articles
Illustrated diagnosis: WooCommerce payment has stopped working
WooCommerce troubleshooting7 min read

WooCommerce payment broken: the solutions

Diagnose a stuck WooCommerce payment by checking the checkout, the gateway, the keys, HTTPS, the webhooks, the cache, the logs and the orders.

Illustrated diagnosis: WooCommerce basket empty or stuck
WooCommerce troubleshooting7 min read

WooCommerce basket empty or stuck: the fix

Fix a WooCommerce basket that empties, will not refresh or loops, by checking the session, the cookies, the cache, the theme and the cart fragments.

What they say about working with us

Google reviews about the support we provide for the Japanese spam pages in wordpress. page

Google logo 4,8/5 243 verifiable Google reviews Read the reviews
★★★★★
“A WordPress pro. His skills, his grasp of what we needed and his clear explanations made the whole project run smoothly.”
Nicolas Le Couteur Review published on Google
★★★★★
“Always available to answer questions, very professional. Every technical problem we ran into was resolved.”
Cuong Doan Review published on Google
★★★★★
“A professional who listens to his clients. Thank you for the commitment and the time spent on our project.”
Sakina Sedkaoui Review published on Google
★★★★★
“Someone you can trust, who understood my needs straight away and put an effective strategy in place.”
Vincent Loustalot Review published on Google
★★★★★
“Very attentive, motivated and able to propose tailored SEO strategies. The quality of the work is remarkable.”
Marine Mongodin Review published on Google
★★★★★
“Quality work, delivered on time. Maxime is responsive, suggests relevant adjustments and delivers careful work.”
Olivier Opron Review published on Google
★★★★★
“Spot on, perfect work, nothing to fault!”
Robin Gomez Review published on Google
★★★★★
“Maxime adapts very quickly, even to the trickiest technical situations. The result is always there.”
Philippe Bertieaux Review published on Google
★★★★★
“Impeccable work from start to finish, highly responsive and flawless quality.”
Alex Houillon Review published on Google
★★★★★
“The site is fast and visually very good. Maxime also helped us build our SEO strategy.”
Lois Guillermond Review published on Google
★★★★★
“An exceptional developer.”
Honoré Comlan Koumondli Review published on Google
★★★★★
“Maxime showed great professionalism and great creativity in helping us build our charity’s website.”
Julien-Benoit Birman Review published on Google
★★★★★
“A solid understanding of search optimisation when building a WordPress site.”
JM Review published on Google
★★★★★
“Maxime is responsive, a good teacher, and anticipates what is needed to get the strategy right.”
Romain Bergé Review published on Google
Your site deserves better

Let’s talk about your hosting

Tell us about your project. You get a clear recommendation, no jargon and no commitment.

Get my recommendation Reply within 12 hours • Migration handled • Free quote Active infrastructure
Google logo 243 Google reviewsVerifiable public reviews
Find my plan