Spam pages under your domain in Google

Japanese keyword hack: how to find and fix spam pages on your site

Google shows pages under your domain that you never made: fake designer goods, garbled Japanese text, pills or casino ads. That is usually an SEO spam hack, and the most common one is the Japanese keyword hack. Here is how to confirm it, where to look in Search Console, how cleanup works, and how long it takes to disappear from search.

No sign-up needed. We only look at public information anyone can see, the same way an ordinary visitor would.

The short answer: what spam pages in Google mean and what to do

  • If Google lists pages under your domain selling fake brand goods or full of garbled Japanese, someone has very likely broken into your site and is generating pages on it. Google calls this the Japanese keyword hack and publishes a cleanup guide.
  • Confirm it with a site:yourdomain.com search and four places in Search Console: Security issues, Users and permissions, Sitemaps and Pages. Attackers often add themselves as a Search Console owner.
  • Cleanup runs in this order: back up, remove unknown owners and their verification tokens, find the files and database entries that generate the pages, make the spam URLs return 404 or 410, then request a review.
  • There is no fixed timeline for the pages to leave search. Google drops each URL when it recrawls it and finds it gone. The Removals tool can hide urgent ones for about six months.
  • Deleting pages is not enough: if the way in (outdated software, a weak password) stays open, they come back. If you have only just noticed, start with the first-hour steps.

What is the Japanese keyword hack?

An attacker gets into your site, usually through a reused password or an outdated plugin, theme or CMS with a known weakness, and leaves behind code that creates large numbers of pages automatically. In the Japanese keyword hack, those pages contain autogenerated Japanese text and affiliate links to stores selling fake brand merchandise. Google notes they typically sit in folders with random names.

The point is to borrow your domain's reputation to get counterfeit shops into search results. Your own pages often look exactly the same, so most owners find out from a strange search result or an email from Search Console.

Japanese keyword hack

Autogenerated Japanese pages linking to stores that sell fake brand goods.

Gibberish hack

Many pages of keyword-stuffed nonsense that redirect visitors elsewhere.

Cloaked keywords hack

Rewrite rules in .htaccess serve spam (often pills or casinos) only to search engines.

These hacks often use cloaking: you see a normal page or a 404, while Googlebot sees spam. Opening the page yourself and seeing nothing wrong does not prove the site is clean.

How to check for spam pages on your website in Google

  1. 1

    Search Google for site:yourdomain.com

    Look for titles you never wrote, brand names, discount wording or text in another language. A result count far above your real number of pages is another sign.

  2. 2

    Add suspicious words

    Try site:yourdomain.com cheap, site:yourdomain.com with a luxury brand name, or site:yourdomain.com casino. Run the same searches in Bing; it sometimes shows pages Google does not.

  3. 3

    Keep a list of the URLs

    Paste every spam URL into a spreadsheet. You will use it to check that they return errors after cleanup and to hide urgent ones.

Unknown pages indexed on your site? Four places to look in Search Console

If your site is verified in Google Search Console, open these four reports. If it is not, verify it now.

  1. 1

    Security & Manual Actions, then Security issues

    Hacked content such as content injection or URL injection is listed here with example URLs. Open Manual actions in the same menu too, to see whether any spam action has been applied.

  2. 2

    Settings, then Users and permissions

    Check for owners you do not recognize. Google's guide says attackers typically add themselves as an owner, and an unknown verified owner is a strong sign of a hack.

  3. 3

    Indexing, then Sitemaps

    Look for sitemaps you never submitted. Attackers add them so Google finds the spam pages faster.

  4. 4

    Indexing, then Pages

    Look for a sudden jump in indexed pages, and for example URLs with random folder names.

Paste any suspicious URL into the URL Inspection tool at the top of Search Console to see what Google actually receives. This is how you catch cloaking.

How to fix the Japanese keyword hack: the cleanup outline

This part means working on the server. If you are not comfortable with that, show this list to your hosting provider or web developer. For WordPress sites, see also WordPress security.

  1. 1

    Back up the site and database

    Take a full copy of the current state, so you can undo mistakes and investigate how they got in.

  2. 2

    Remove unknown owners and their tokens

    Remove the stranger in Users and permissions, then delete their verification token: an HTML file starting with google in your site root, a meta tag, a rewrite rule in .htaccess or a DNS TXT record. If the token stays, Google will restore their ownership. Use Unused ownership tokens to confirm removal.

  3. 3

    Check .htaccess

    Look for redirect or rewrite rules you did not add. Google recommends replacing the file with a clean default.

  4. 4

    Find the generating code and data

    Look for recently changed files, files that are not part of your CMS, unusually large files and PHP containing scrambled text with functions such as base64_decode or eval. On WordPress, reinstall core, plugins and themes from official sources and check the database for unknown posts and admin users.

  5. 5

    Delete rogue sitemaps

    Delete the files on the server and remove them in Search Console. Removing a sitemap in Search Console alone does not make Google forget the URLs in it.

  6. 6

    Make spam URLs return 404 or 410

    Open the URLs from your list and confirm they return Not Found (404) or Gone (410). Do not redirect them to your home page.

  7. 7

    Request a review

    If Security issues listed a problem, fix everything, then click Request Review and explain what happened and what you fixed. Do not resubmit while a review is pending.

How long until the spam pages disappear from Google?

There is no fixed time. When Google recrawls a URL and gets a 404 or 410, it removes it from the index. How often Google revisits differs by site and page, so thousands of spam URLs can take a while to clear.

ActionWhat to expectWatch out
Return 404 or 410URLs drop as Google recrawls themNo set timeline
Removals toolHidden from results for about six monthsTemporary only; make the URL return 404 or 410 first
Security issues reviewA few days to a few weeksRequesting too early slows things down

The Removals tool can hide everything under a shared prefix, such as yourdomain.com/abc123/. Do not block the spam URLs in robots.txt: Google then cannot see that they are gone, and they may stay in the index longer.

Once the spam pages are gone, your real pages usually recover gradually. A weekly site: search to catch stragglers is more useful than repeated review requests.

What Security Ready can and cannot do

To be clear: Security Ready does not remove spam pages, clean up hacked sites or remove malware, and it is not a spam page detector.

It helps once you have cleaned up, by finding how attackers could get in again. The automated external scan checks for known weaknesses in outdated software, exposed files that should not be public and open ports, and tells you how to fix each one. The Standard plan's internal check also reviews WordPress plugin and theme versions against known vulnerabilities.

The free 30-second check looks at your certificate, https, email spoofing protection and forgotten subdomains; it will not find spam pages. For how scanning works and its limits, see What is a vulnerability scan?

Frequently asked questions

Why are there pages on my website in Google that I didn't create?

If they sell fake brand goods, contain garbled Japanese or advertise pills or casinos, your site has most likely been hacked. Check with a site: search and the Security issues and Users and permissions reports in Search Console. Occasionally they are just old pages Google still remembers.

My site looks normal when I visit it. Can it still be hacked?

Yes. Many SEO spam hacks show normal pages to people and spam only to Google. Use the URL Inspection tool in Search Console to see what Google receives.

I removed an unknown owner from Search Console. Is that enough?

No. If their verification token (HTML file, meta tag, DNS record) stays on your site, they regain ownership. Delete the token and confirm it under Unused ownership tokens, then remove the code that generates the pages.

I deleted the spam pages but they are still in Google. Why?

They stay until Google recrawls them. Confirm each URL returns 404 or 410, and use the Removals tool for urgent ones; it hides them for about six months.

Should I redirect the spam URLs to my home page?

No. Let them return 404 or 410, which tells Google the content no longer exists. Redirecting them to a working page sends a less clear signal.

Can Security Ready clean up the Japanese keyword hack for me?

No. We do not do cleanup or recovery. Ask your hosting provider, developer or a recovery specialist. Security Ready is for afterwards: it regularly finds the weaknesses that would let attackers back in.

See where your own site stands — free

The free in-depth scan checks your site from the outside against thousands of known weaknesses and tells you how to fix each one. No payment details needed. For businesses; scans only with the owner's authorization.