Website Hacked and Showing Japanese or Casino Spam in Google? How to Clean It and Recover Your Rankings
A business owner searches their own name on Google and sees pages in Japanese, links to betting sites or ads for medicines they have never sold. The website looks normal when they open it. This is one of the most common hacks on small business sites, and it can be fixed. Here is the process I follow.
Key takeaways
- If Google shows spam pages under your domain, assume the site is hacked even if the home page looks fine.
- Search Console's Security issues and Pages reports show what Google has found; check them first.
- Take a backup, then clean infected files, users and database entries, and update everything.
- Change every password: hosting, WordPress admins, FTP, database and email.
- After cleaning, request a review in Search Console and remove spam URLs so rankings can recover.
The most common version of this hack is the so-called Japanese keyword hack. Attackers create thousands of pages on your domain filled with Japanese text and links to sites selling fake brand goods. Similar hacks inject casino, betting or pharmacy pages. The trick is that these pages are often shown only to Google, or only to visitors arriving from search, so the owner opening the website directly sees nothing wrong.
In my experience, most hacked small business websites in India are WordPress sites that have not been updated for months, use nulled (pirated) themes or plugins, or have an old admin account with a weak password. The good news: it can be cleaned, and rankings usually recover once Google sees the site is clean.
1. Confirm the hack
Search Google for site:yourdomain.com and look through the results. If you see titles in Japanese, Chinese, or about casinos, loans, viagra or replica bags, you have been hacked. Then open Google Search Console. Check the Security issues report for any warnings, and the Manual actions report. In the Pages report, look for a sudden jump in indexed pages you never created. Also check whether new users were added as owners in Search Console; attackers sometimes add themselves so they can submit their own sitemaps.
2. Take a backup before touching anything
Download a full backup of files and the database from your hosting panel. Yes, it is infected, but you need it in case the cleaning breaks something, and it helps to find what changed. Most hosting providers, including Hostinger, offer daily or weekly backups. If you have a clean backup from before the hack, that can be the fastest path, as long as you also fix the security hole afterwards.
3. Find and remove the infection
Use your host's malware scanner and a security plugin such as Wordfence or a similar tool to scan files. Typical things to look for:
- Unknown PHP files in the uploads folder, theme folders or the root of the site.
- Changes to .htaccess that redirect visitors from Google or mobile devices.
- Code added at the top of index.php, wp-config.php or theme files such as functions.php and header.php.
- Unknown administrator users in WordPress.
- Spam entries in the database, such as thousands of posts or options you never created.
A reliable approach is to replace WordPress core files with a fresh copy, reinstall every plugin and theme from the official source, delete anything you do not recognise, and remove any nulled theme or plugin completely. If this feels beyond you, hire someone who does this regularly; a half-cleaned site gets reinfected within days.
4. Close the hole
Cleaning without fixing the cause is pointless. Update WordPress, every plugin and the theme. Delete plugins and themes you are not using. Change every password: hosting account, WordPress admin users, FTP or SFTP, database and the email linked to the hosting. Turn on two-factor login for hosting and WordPress admins. Make sure only the people who need access still have it, including former agencies and freelancers. Set up automatic backups that are stored away from the server.
5. Clean up Search Console
Remove any unknown owners and their sitemaps from Search Console. Then, once the site is clean, the spam URLs should return a 404 or 410 error when visited. Google will drop them over time as it recrawls. For a faster effect on visible results, use the Removals tool for the worst spam URLs or patterns. If there was a security issue or manual action, use the Request review button and explain briefly what you found and what you did: removed files, updated software, changed passwords, removed unknown users.
6. Check what customers see
Hacks often target mobile visitors coming from Google. Search your business name on a phone, click your result and check that you land on your real page. Also check Search Console's URL Inspection tool on a few pages to see what Google sees. If your site was marked as dangerous in Chrome, the warning is removed after Google reviews it as clean.
7. How long recovery takes
Once the site is clean and reviewed, warning labels usually go within days. Spam URLs can take a few weeks to disappear completely from Google. Rankings for your real pages usually return gradually, as long as the hack did not run for many months. The longer a site stays hacked, the longer the recovery, so act as soon as you notice.
8. Prevention that actually works
- Update WordPress, plugins and themes every month, or turn on automatic updates.
- Never use pirated themes or plugins. They are a common way in.
- Use strong, unique passwords and two-factor login.
- Remove old admin users, including past agencies.
- Keep automatic off-server backups.
- Check Search Console once a month, and make sure security emails reach someone who reads them.
If your site is simple, a static website or a well-maintained hosted platform removes most of this risk. I wrote about this choice in website cost for Nashik businesses.
A quick checklist
- Search site:yourdomain.com and check Search Console security and manual action reports.
- Back up files and database before cleaning.
- Replace core files, reinstall plugins and theme, remove unknown files and users.
- Update everything and change every password, with two-factor login.
- Remove unknown Search Console owners and request a review.
- Test from a phone via Google search.
If your website has been hacked or Google is showing spam under your domain, book a free strategy call. I will check Search Console with you and tell you plainly what needs to be done. I build and look after websites for businesses in Nashik, Pune and beyond, and you can read more about my website design work in Nashik.
Frequently asked questions
Why does Google show Japanese text for my website?
This is usually the Japanese keyword hack. Attackers create spam pages on your domain that are often shown only to Google or search visitors, so your home page may look normal. Check site:yourdomain.com and Search Console to confirm.
How do I remove hacked spam pages from Google?
Clean the site first so the spam URLs return 404 or 410 errors. Then use the Removals tool in Search Console for the worst URLs and request a review if there is a security issue. Google drops the rest as it recrawls.
Will my Google rankings come back after a hack?
Usually yes, once the site is clean and Google has recrawled it. Recovery can take from a few weeks to a few months depending on how long the hack ran.
How can I stop my WordPress site getting hacked again?
Keep WordPress, plugins and themes updated, never use pirated themes or plugins, use strong passwords with two-factor login, remove old admin users and keep automatic off-server backups.

Rohit Avhad
Full-stack marketer with 5 years of hands-on experience across SEO, paid advertising, social media and lead generation. About me
Read next
Your Old Agency or Employee Controls Your Facebook Page, Google Profile or Domain: How to Get Access Back
When a past agency, freelancer or employee holds your Facebook page, Instagram, Google Business Profile, Google Ads account or domain, you can usually get it back. How to ask the right way, use each platform's recovery route, protect the business while you wait, and set things up so it never happens again.
13 November 2026 · 8 min readRead article →AdsFacebook and Instagram Ad Account Disabled or Restricted: Why It Happens and How to Get It Back
A disabled Meta ad account stops your leads overnight. The usual causes, from payment failures and new account spending spikes to policy issues and hacked profiles, how to use Account Quality to request a review properly, and the setup that keeps your account safe afterwards.
13 November 2026 · 8 min readRead article →