SEO technique where one page is displayed for the users and another one for search engine crawlers. The idea is to get a higher rank by providing search engines what they want to see while on the other hand creating a attractive page for the visitors.

Cloaking and Google

Serving up different results based on user agent may cause your site to be perceived as deceptive and removed from the Google index.

Some examples of cloaking include:

  • Serving a page of HTML text to search engines, while showing a page of images or Flash to users.

  • Serving different content to search engines than to users.

If your site contains elements that aren't crawlable by search engines (such as rich media files other than Flash, JavaScript, or images), you shouldn't provide cloaked content to search engines. Rather, you should consider visitors to your site who are unable to view these elements as well. For instance:

  • Provide alt text that describes images for visitors with screen readers or images turned off in their browsers.

  • Provide the textual contents of JavaScript in a noscript tag.

Ensure that you provide the same content in both elements (for instance, provide the same text in the JavaScript as in the noscript tag). Including substantially different content in the alternate element may cause Google to take action on the site.

How should I serve different content based on user location?