Japanese or Pharma Spam Pages Showing in Google for Your WordPress Site
Strange foreign or product pages appear under your domain in search. Clean the hack and request re-indexing.
Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
This is an SEO spam hack. Attackers add hundreds of hidden pages that often show only to search engines.
Confirm
Search Google for site:yourdomain.com and look for pages you did not create. Also check Search Console's Security issues report.
Clean up
Follow our hacked-site guide, and also:
- Look for unfamiliar PHP files in
wp-content/uploads, the site root and theme folders. - Check
.htaccessfor strange rewrite rules. - Remove unknown administrator users and rotate all passwords.
- Look for fake sitemap files.
- Replace WordPress core, plugins and themes with fresh copies from trusted sources.
After cleaning
- Make the spam addresses return 404 or 410.
- Submit a clean sitemap in Search Console. See our sitemap guide.
- Request review if you see a security warning. See our warning guide.
- Harden the site. See our security checklist.
Old spam results may take weeks to drop out of Google.
Related guides
- WordPress Login Page Keeps Reloading or Redirecting (Can't Log In)
- WordPress User Roles Explained: Administrator, Editor, Author, Contributor, Subscriber
- Unknown Administrator Users Appeared in WordPress: What to Do
- Lost Your Phone or Two-Factor Code for WordPress: How to Get Back In
Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.