Wat is cloaking?
Cloaking is the practice of showing visitors and search engines different versions of the same webpage. For instance, imagine you searched for “chocolate cake recipe” on Google.
However, when you visit one of the results, you are redirected to a spammy page filled with content about diet pills and gambling ads. Meanwhile, when Googlebot visits the same page, the site displays the chocolate cake recipe you searched for.
While cloaking can be done with good intentions, it is mainly used to deceive search engines and manipulate search results. So, it is generally considered a black hat SEO technique. It even goes against Basisbeginselen van Google Zoeken guidelines, and Google will demote or deindex sites that are found cloaking their content, even if it was done with no malicious intent.
Er zijn verschillende methoden om de inhoud van een webpagina te camoufleren. Enkele veel voorkomende verhulstrategieën zijn onder meer:
- Tekst gebruiken die toegankelijk is voor zoekmachines, maar onzichtbaar voor menselijke bezoekers
- Het omleiden van menselijke gebruikers naar een andere site dan de site die wordt weergegeven op de zoekresultatenpagina's
- Het tonen van verschillende versies van de webpagina, afhankelijk van of de bezoeker een mens is of een crawler van een zoekmachine
How Cloaking Works
Cloaking works by evaluating the visitor and then deciding which page to show them. Websites use different methods to identify their visitors. Some common identification methods include using the user-agent or IP address.
These techniques work because the user-agent and IP addresses of most search engine crawlers are well-known. Thus, sites can easily identify crawlers and show them pages that comply with search engine guidelines while the visitor sees the cloaked page.
Many other sites also look for cookies or determine whether the visiting device permits using JavaScript. These techniques work because crawlers typically do not use cookies and are usually unable to access them. Crawlers also have limited capabilities when rendering JavaScript and may not execute it like a browser would.
Why You Should Avoid Cloaking
Cloaking is a black hat SEO technique. It violates Google Search Essentials guidelines and could cause Google to demote your rankings or remove your content completely from search results pages.
Many sites use cloaking to trick search engines, rank on search results pages, and get traffic. However, some sites may use cloaking techniques involving JavaScript to provide visitors with a richer user experience.
However, the Google Search Essentials guideline forbids all forms of cloaking, regardless of the reason for doing so. So, cloaking done to improve the results shown to visitors is also considered a black hat SEO technique.
In addition to incurring Google’s penalty, cloaking could lead to a poor user experience when visitors are served a different webpage that does not interest them and is different from the one they expect to see. This makes you appear untrustworthy, increases your bounce rate, and causes your visitors to leave your site and never return.