Skip to content
Searchpedia SEO field notes Callum Bennett Callum

Site ops

Website Cloaking

Here's how I actually work with website cloaking when the stakes are real.

Beginner3 min readUpdated 2026-07-27Notes by Callum Bennett

Start here

  • Cloaking means serving one version of a page to crawlers and a different version to users.
  • It is commonly used to manipulate search rankings by giving bots content optimized for target keywords.
  • Typical cloaking methods include using IP address detection, User-Agent detection, browser-based detection, or redirects that vary by requester.

For SEO practitioners, cloaking is a high-risk black-hat tactic because it violates search engine guidelines and can trigger severe penalties or removal from results. It also creates trust and quality problems when indexed content does not match the page users actually receive.

Example

Cloaking means serving one version of a page to crawlers and a different version to users.

Quick start

  1. Define the goal for this topic.
  2. Check the live SERP format.
  3. Improve one page that matches the intent.
  4. Measure in Google Search Console.

Common mistakes

  • Treating the topic as a one-time task
  • Ignoring search intent
  • Copying tactics without checking your SERP

Next step

Quick answers

What is website cloaking?

Website cloaking is a black-hat SEO technique where a website shows different content to search engine crawlers than to human visitors, typically to manipulate search rankings.

Is cloaking illegal?

Cloaking is not illegal but violates search engine guidelines, leading to penalties like ranking drops or removal from search results.

How can I detect cloaking on my site?

Use Google Search Console's URL Inspection tool, check for manual actions, and compare what crawlers see (via Fetch as Google) with what users see.

What is the difference between cloaking and personalization?

Personalization shows different content based on user preferences or location but does not deceive search engines. Cloaking deliberately shows bots different content than users.

Sources

Primary documentation is linked directly. Anything commercial is marked nofollow.

  • Google Search Central — Primary source for Google's spam policies and the official definition of cloaking violations.
  • Google Search Central — Official Google documentation specifically covering cloaking and why it is against guidelines.
  • Google Search Central Blog — Useful for updates and enforcement context when Google changes spam policy guidance.

Notes from Callum Bennett.