Cloaking is a black hat search engine optimization (SEO) technique in which the content presented to the search engine spider is different to that presented to the users' browser. This is done by delivering content based on the IP addresses or the User-Agent [
] header of the user requesting the page. When a user is identified as a search engine spider, a server-side script delivers a different version of the web page, one that contains content not present on the visible page. The purpose of cloaking is to deceive search engines so they display the page when it would not otherwise be displayed.
As of 2006, better methods of accessibility, including progressive enhancement are available, so cloaking is not considered necessary. Cloaking is often used as a spamdexing technique, to try to trick search engines into giving the relevant site a higher ranking; it can also be used to trick search engine users into visiting a site based on the search engine description which site turns out to have substantially different, or even pornographic content. For this reason, major search engines consider cloaking for deception to be a violation of their guidelines, and therefore, they delist sites when deceptive cloaking is reported.
Cloaking is a form of the doorway page technique.
A similar technique is also used on the Open Directory Project web directory. It differs in several ways from search engine cloaking:
In September 2007, Ralph Tegtmeier & Ed Purkiss coined the term "mosaic cloaking" whereby dynamic pages are constructed as tiles of content and only portions of the pages, javascript and CSS are changed, simultaneously decreasing the contrast between the cloaked page and the "friendly" page while increasing the capability for targeted delivery of content to various spiders and human visitors.
One use of IP delivery is to determine the requestor's location, and deliver content specifically written for that country. This use isn't necessarily cloaking. For instance, Google uses IP delivery for AdWords and AdSense advertising programs in order to target users in different geographic locations.
As a mean of determining the language(s) in which to provide content, IP delivery is a crude and unreliable method; many countries and regions are multi-lingual, or the requestor may be a foreign national. A better method of content negotiation is to examine the client's Accept-Language HTTP header.
As of 2006, many well-known and well respected sites have taken up IP delivery to personalise content for their regular customers. In fact, many of the top 1000 sites, including household names like Amazon (amazon.com), actively use IP delivery. None of these have been banned from search engines because their intention is not deceptive.
In 2007 Yahoo! was outed for cloaking content on its Yahoo! Autos page
Mosaic Cloaking :: Advanced Cloaking Technique