SEO
Cloaking
Quick definition
Cloaking is showing different content to search engines and users — a black-hat practice that violates Google's guidelines.
Cloaking has many forms: serving keyword-stuffed text to bots, hiding affiliate redirects from crawlers, geo-cloaking, and user-agent based content swaps.
Why Cloaking matters
Google routinely catches cloaking through manual review and automated detection. Penalties are severe and can include full deindexing.
How Cloaking works in practice
Avoid all cloaking. If you legitimately need to serve different experiences (e.g., AB tests, regional content), use Google-supported mechanisms like canonical tags, hreflang, and consistent crawler treatment.