In search engine optimization the word “cloaking” appeared long before it reached affiliate marketing. Back when search engines ranked pages almost entirely by text, site owners learned to serve the crawler a page stuffed with keywords and serve people something else entirely. Search engines answered with penalties, and cloaking has remained one of the most obvious violations of their rules ever since.
Below: what counts as cloaking in SEO, why it is punished so harshly, how it gets detected and how it differs from legitimate techniques such as geotargeting, personalization, mobile versions and A/B tests. You will not find advice on hiding cloaking from search engines here, only on how to avoid penalties and how not to become a victim of someone else's cloaking on your own site.
What is cloaking in SEO
Cloaking in SEO is a technique where a site shows the search engine crawler one piece of content and visitors another, in order to influence rankings. The site detects who has arrived, a search crawler or a person, by user agent, IP address or other signals, and serves each its own version.
Typical examples:
- Text for the crawler, images or video for people. The page people see has almost no text, while the crawler gets a long article optimized for search queries.
- One topic for the crawler, another for people. In search results the page looks like a home appliance review, but a person lands on a site about something else entirely.
- Hidden links and keywords only for the crawler. A block of links or text that the search engine sees but the visitor does not.
- Sneaky redirects. The crawler gets a normal page, while a person is immediately sent to a different address.
In every case the point is the same: the search engine ranks a page the visitor will never see. How the same technique looks in advertising is covered in what is cloaking, and step by step in how a cloaker works.
Why search engines treat cloaking as a violation
Search rests on one assumption: the page in the results and the page a person lands on are the same page. A user clicks a result because the title and snippet promise an answer to their question. Cloaking breaks that promise, and the search engine loses people's trust.
That is why cloaking is named as a violation in the rules of every major search engine:
- Google lists cloaking as spam in its guidelines for sites (Search Essentials, the spam policies section), alongside hidden text, sneaky redirects and doorway pages.
- Bing and Yandex take the same position in their webmaster guidelines: cloaking is a way of deceiving the search engine, and a site can be demoted or removed from search for it.
Exact wording and lists of examples are updated from time to time, so check the current version in each search engine's own documentation.
What cloaking costs a site
A cloaking penalty is not a fine; it is the loss of organic traffic, sometimes all of it.
| What happens | What it looks like |
|---|---|
| Page demotion | Pages with cloaking lose rankings or drop out of results |
| Manual action | A violation notice appears in the webmaster console, and rankings fall across the whole site or a section |
| Removal from the index | The site stops showing up even for its own name |
| Loss of trust in the domain | After the penalty is lifted, rankings recover slowly and not always fully |
Penalties can be algorithmic, in which case you find out from a traffic drop, or manual, when a search engine employee confirms the violation. Manual actions are visible in Google Search Console, and to have them lifted you need to fix the cause and submit a reconsideration request.
Important. Cloaking is penalized not for the technique but for the mismatch. It does not matter what code does it or what it is called: if the crawler and the person see content that differs in meaning, it is cloaking.
How search engines detect cloaking
Search engines do not disclose their methods in full, but the general principle is clear: they compare what the crawler sees with what a person sees. They use:
- crawls from different addresses and with different user agents, including ones that look like ordinary browsers;
- page rendering with JavaScript executed, to see the final result rather than just the source code;
- user behavior: if people bounce back to the results en masse right after clicking, the page clearly does not deliver what it promised;
- spam reports about search results;
- manual reviews by search engine staff.
So cloaking in SEO is a losing strategy even setting the rules aside: the more a search engine learns about a site, the higher the chance the mismatch gets noticed, and then every page loses rankings, not just one.
Cloaking vs legitimate personalization: where the line is
Showing different people different things is normal practice. The line comes down to one question: does the search crawler see the same thing an ordinary person would see under the same conditions?
| Technique | Cloaking? | Why |
|---|---|---|
| Geotargeting: prices and currency by country | No | A crawler from a country gets the same version as a person from there |
| Language versions of the site | No | Each version has its own URL and is marked up for the search engine |
| Responsive and mobile versions | No | The presentation changes, not the content |
| Personal recommendations based on history | No | The page's main content is the same for everyone |
| A/B test of page variants | No, if temporary | The test must not single out the crawler and must not run forever |
| Paywalled content | No, if marked up honestly | Search engines describe how to show the crawler paid content without deceiving it |
| Keyword-targeted text for the crawler, a different page for people | Yes | A mismatch in meaning to gain rankings |
| A normal page for the crawler, a redirect to another site for people | Yes | A sneaky redirect |
Geotargeting and language
Showing prices in local currency, the address of the nearest store or a translated page is legitimate personalization. The key condition: the signal is the visitor's country or language, not whether they are a bot or a person. A crawler coming from Germany sees the German version just like a person from Germany does. For different languages it is better to use separate URLs and declare their relationship with markup than to swap text on a single URL. How filtering by country and language works in advertising is covered in filtering by geo, language and device.
A/B tests
Testing page variants is fine. To keep a test from becoming cloaking, it must not put the search crawler in a separate group, variants on temporary URLs should point to the main one, and the test itself should end once you have the data. Testing in advertising is covered in split testing offers and landing pages.
Gated and paid content
Subscription articles, account areas and content for registered users are not cloaking either, as long as you do not hand the crawler full text that a person without access will not see, without marking it. Search engines describe how to mark up paid content so the crawler understands that part of the page is gated and does not treat it as deception. The principle is the same: tell the search engine honestly what a person sees.
Bot protection
Blocking harmful bots, scrapers and attacks is not cloaking either, as long as the search crawler itself is not caught by it. If a protective filter serves the search crawler a challenge page or an error, the page can drop out of the index even though you were not hiding anything. The same goes for the neutral White Page of an ad traffic filter: it must not be shown to a search crawler. How bots are told apart from people is covered in how to filter out bots and signs of bot traffic.
Cloaking on a hacked site
Often the site owner is the last to learn about cloaking, because they are not the one doing it. Attackers break into sites on popular CMSs and inject code that shows the crawler spam pages while the owner and ordinary visitors see the usual site. Link and text spam gets indexed on someone else's domain, and the owner takes the penalty.
Signs that your site may have been hacked:
- a
site:yourdomainsearch shows pages with unfamiliar titles: casinos, pharmaceuticals, loans; - the webmaster console shows hacking notices or a sudden jump in the number of indexed pages;
- organic traffic fell for no visible reason;
- the URL inspection tool shows something different from what you see in your browser.
What to do: update the CMS and plugins, change access passwords, find and remove the injected code, check the server configuration files for suspicious rules, and then submit a reconsideration request.
Cloaking in SEO vs in advertising: the difference
The word is the same, but the contexts differ.
- In SEO, the reviewer is the search crawler, the violator's goal is organic rankings, and the penalty is demotion and removal from the index.
- In advertising, the reviewer is the platform's ad review system, the violator's goal is getting an ad served that would otherwise be rejected, and the penalty is suspension of the ad account and every account linked to it. Details in circumventing systems in Google Ads.
What they share is that both systems prohibit a mismatch between what the review sees and what a person sees.
Where ArtisanClo fits in
ArtisanClo is an ad traffic filtering service: it blocks bots, click fraud and spy tools on the landing pages your ad links point to, and counts the money across campaigns. It is a tool for paid traffic, not for SEO, and it is more honest to say so plainly.
The practical advice that follows is simple: do not put a traffic filter on pages that need to rank in search. The filter code on a page decides who sees the main content, and the search crawler is no exception. Keep ad landing pages and pages for organic traffic separate. How the code is installed and on which pages is covered in how to connect a cloaker; the full feature list is on the features page.
The bottom line
- Cloaking in SEO means showing the search crawler one piece of content and people another in order to gain rankings.
- Google and other major search engines explicitly name cloaking as a violation and punish it with demotion, manual actions and removal from the index.
- Geotargeting, language versions, mobile layouts, personalization and temporary A/B tests are not cloaking, as long as the crawler sees what a person would see under the same conditions.
- If your rankings collapsed for no reason, check whether the site has been hacked: attackers often inject cloaking code.
- Keep ad traffic filters on ad landing pages, not on pages meant for search.



