Menu

The Japanese keyword hack: SEO spam that hides from you and shows itself to Google
📰

The Japanese keyword hack: SEO spam that hides from you and shows itself to Google

DEV Community: php·Decodeinfy·19 days ago
#pfjIA49H
#devto#dev#google#googlebot#pages
Reading 0:00
15s threshold

You open your site and it looks fine. Google has indexed hundreds of pages you never wrote. That gap is the whole trick, and it is checkable.

The Japanese keyword hack is one of the most common WordPress compromises, and one of the hardest for an owner to notice. The attacker does not deface your site. They add pages, thousands of them, selling counterfeit goods or pharmaceuticals, and they show those pages only to search engines. To you, logged in or just visiting, the site looks exactly as it did.

Why you cannot see it

The injected code checks who is asking for the page. It reads the User-Agent header, and sometimes the visitor's IP or where they arrived from. If the request looks like Googlebot, it serves the spam. If it looks like an ordinary browser, it serves your real page. This is cloaking : one URL, two different answers.

So the damage lands entirely in Google's index.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.