What are the Different Types of Cloaking

User-Agent Cloaking

A web browser acts as the user-agent on an operating system to access website data. The browser sends a code to the server when you make a query that will identify or distinguish the user-agent. Cloaked material is served if the user-agent is determined to be a crawler.

IP-based cloaking

Based on their location and internet seller, anyone who visits a website has an IP address. In this case, users are sent to the desired page via a page with an amount of traffic and a high SERP ranking. To get the IP address, utilize the reverse DNS records, then configure .htaccess to redirect traffic.

JavaScript cloaking

This is when users of browsers that allow JavaScript get one version of the content while users of browsers that lack JavaScript (such as search engines) see a different version of the page.


In this method, the HTTP_REFERER header of the requester is checked and based on that, a cloaked or uncloaked version of the website is served.

HTTP  Accept-language header cloaking

This method looks at the user's HTTP Accept-Language header, and based on the match, the correct version is shown. Simply put, a cloaked version of the website is served if a search engine's HTTP Accept-Language header is set.