What is Cloaking in SEO & Should You Do Cloaking?

Cloaking is a search engine optimization technique in which the content or information presented to the user is different from that presented to search engine crawlers (i.e. spiders or bots) for better indexing. In other words, cloak definition is, the webserver is specially programmed to return different content to search engines than it returns to regular users, in an attempt to distort search engine rankings by making a cloak content.  You might have understood now that cloaking is an illegal practice and is considered a Black hat SEO. The Search engine may permanently ban from our index any sites or site authors that engage in cloaking.

Here’s what Google has to say on Cloaking


Cloaking technology is considered as a violation of Google’s Webmaster Guidelines also as it provides our users with different results than they expected.

Some examples of cloaking include:

  • Serving a page of HTML text to search engines, while showing a page of images or Flash to users
  • Inserting text or keywords into a page only when the User-agent requesting the page is a search engine, not a human visitor

Cloaking is implemented in order to improve search engine ranking by misleading the search engine robot into thinking the content on the page is different than it really is. It is often used as a spamdexing technique (search engine spam, search engine poisoning) to try to trick search engines into giving the relevant site a higher ranking. You also might have heard about page cloaking and web cloaking.

Here’s what Matt Cutts has to say:

Also Read: Link JuiceHow It Impacts SEO?

How is Cloaking done?


Now, the question is how is cloaking done? How is content displayed differently to users and search engines? You know in the internet world every internet device (i.e. computer, mobiles, tablet etc) are identified by IP address. Using cloaking, content is delivered based on the IP addresses or the User-Agent HTTP header of the user requesting the page. Cloaking is done by modifying a file called .htaccess. Apache server has a module called “mod_rewrite”. With the help of this module in the .htaccess file, you can apply a cloaking technique to your web pages. Webmasters gather search engines’ IP addresses or User-Agents (search engine crawlers). If mod_rewrite module detects that an IP address or user-agent belongs to a search engine, a server-side script delivers a different version of the web page (cloak URL). If IP address doesn’t belong to any crawler, it means it is a regular visitor and delivers a normal web page.

White Hat Cloaking?


The very common question being asked is – is there any term as white hat cloaking? Matt Cutts has said:

“White hat cloaking is a contradiction in terms at Google. We’ve never had to make an exception for “white hat” cloaking. If someone tells you that — that’s dangerous.”

He further said that if any site includes code that special cases for Googlebot by the user agent or IP address, Google considers that cloaking and may take action against the site.

Also Read: Majestic Trust Flow vs Citation Flow

What are some common Cloaking Practices?

Now, you are aware of the cloaking meaning. The next thing is, what type of content webmasters can show differently to users and search engine crawlers. You know that search engines index a web page and rank it higher in the SERPs according to META tags, titles, and other SEO techniques. So considering this thing in mind, webmasters optimize these basic things.

  • Invisible or Hidden text

Using this approach, webmasters add additional information like keywords stuffing, overwriting content in a way that is invisible or hidden to the users. To do this, webmaster adds this information in the same color that of background color which is not visible to human eyes.

  • Flash Based Websites

As you know flash is not recommended as per SEO guidelines. But there are lots of websites that are built-in flash only or that requires a lot of flashes and they cannot avoid it. So rather than rebuilding websites and rewrite everything in plain HTML, they create content-rich web pages and provide them to search engine crawlers and flash pages to visitors.

  • Cloaking in E-Mail

In e-mail distribution, cloaking is the act of masking the name and address of the sender so that the recipient does not know who sent the e-mail.

  • HTML Rich Websites

A good SEO recommends having “TEXT to HTML ratio” as high as possible. In other words, your web page should have more text (content) as compared to your HTML tags. But if anyone is writing short articles or posts, your text to HTML ratio will be very low. To avoid redesigning the website, folks choose cloaking to meet SEO guidelines.

  • Image Gallery Websites

Image gallery websites have more images than the actual content on their pages. And images are not scanned by crawlers. So, webmasters think that cloaking could help them get top placement for relevant keywords.

What additional Practices are allowed that represent different content to users?


There are several practices that are allowed which present different content or information to different users. Below, some content delivery methods now acceptable to Google that might have once been considered cloaking website:

  • Geo – Location

Let us take an example of Google itself. When you open Google.com from outside the US, you will see a different page than someone else see in the US. It is redirecting users to a different page based on their geo-locations. For example, If a user opens google.com from his browser, it will redirect him to google.co.in. This is not considered as cloaking. It is done to provide a better experience to users so perfectly fine for any webmaster to do on their website.

  • First Click free

Users clicking from Google to a listed page can read the page without having to pay or register with the hosting site. You let Googlebot through as if it were a registered member and also allow anyone coming from Google’s search listings through.

  • URL Rewriting

This practice includes removing unnecessary parameters and other URL (URL cloaking). The key point here is you are not changing the underlying content.

Also Read: How To Optimize Permalinks To Make Google Friendly

Note: If you are into affiliate marketing, it is highly recommended to cloak your affiliate URLs to make them a neat & clean. Click to Tweet

Below is the example of one of my affiliate URLs (the product I am promoting is Genesis Framework) & its cloaked version:

Affiliate URL: https://shareasale.com/r.cfm?b=1320631&u=1067791&m=41388&urllink=&afftrack=

Cloaked URL: https://catchupdates.com/go/genesis-framework/

Also Read:

Now, you can see how the cloaked URL looks and how clean & nice it is.

To cloak the affiliate URLs,  I am using Thirsty Affiliate WordPress Plugin, (I will soon write an article about this).

You can also try LinkTrackr. Read more – LinkTrackr Review – How’s This Affiliate Link Cloaker Tool?

**If you are not into affiliate marketing, I would recommend joining ShareASale Affiliate Program.

  • Replacement of Java Scripts

Using JavaScript to show content to non-JavaScript capable visitors that match the textual information within a Flash or other multimedia element.

Conclusion


If you still ask me whether you should do cloaking (that is not recommended) to fool crawlers and rank high, my answer will be NO. It’s a trick, and search engines don’t like to be tricked.

Most search engines are against cloaking. Search engines algorithms are more intelligent than us. They often change their algorithms in order to discourage and stop cloaking and other techniques that create a negative user experience. They will find your site is using this technique sooner or later and your site will be banned and dropped from their index (In the worst case, it can be blacklisted also). In fact, Search giant Google has “blacklisted” German car manufacturer BMW for breaching its guidelines in Feb 2006.

Also Read: 20+ Black Hat SEO Techniques 2019

Also, Matt Cutts, ex-head of the Webspam team at Google, says all cloaking is considered by Google to be ‘black hat,’ meaning Google sees none of it as ‘white hat,’ or harmless. If Google finds any of these or other illicit practices, it often will remove your site entirely from the Google index. As new methods of hacking, redirecting, cloaking and other types of deceptive practices are developed all the time, Googlebot is constantly being updated to find them. This means that while you might enjoy higher ranking for a time, ultimately you’ll be caught and lose all your rankings completely. So, rather than focusing on cloaking or other illegal and deceptive practices, focus more on writing quality and unique content to help visitors 🙂

Don’t Forget To Share It with your friends and subscribe to our email newsletter for more such updates. If you have any questions about Cloaking, please feel free to ask us in the comments section below. Do share your feedback and views in the comment section below 🙂

Mohit Arora: @mohitarora1703 Hi, I am Mohit Arora, a passionate blogger and addicted reader. You can check my another blog TutorialsJar where I share programming tutorials. You can connect with me on Instagram Or Quora And Linkedin as well. Subscribe to CatchUpdates feed via RSS

View Comments (20)

  • Nice article. Thanks! My issue is that I have several location based domains for a site that has different pages for each city. We have domains that are going to be redirected to the location page on the new site. Eg londonpt.co.uk will go to ukpt.co.uk/locations/london
    manchesterpt.co.uk will go to ukpt.co.uk/location/london

    Is cloaking ok in this situation? there is no duplicate content. There is no content on the city based domain. Only a redirect from DNS. I just thought it might be confusing for people to find a different URL in browser when they arrive.

    What do you think is best practice for SEO here?

    Thanks

  • Hi , nice article about cloaking, there is alway still some way to cloak all major search engine, IP database is important when you want to cloak, Google hate it but cloaking still work well and will alway work :)
    all the best

  • I have 10 years of experience in SEO. I tried several time to understand cloaking but did not get great articles who can explain in such a simple way as you did.Hats Off..Keep writing

  • Before there is no idea about the cloaking concept, but after read your article i come to know, what is cloaking?, why it’s useful?, how the content is delivered using cloaking?. Cloaking is a search engine optimization and black hat SEO technique, which is very interesting and useful concept to improve our search engine ranking by misleading the search engine robot into thinking the content on the page is different than it original. Using cloaking, the content is delivered based on the IP addresses or the User-Agent HTTP header of the user requesting the page. While Email sending , If you collect more information about cloaking i suggest you to refer this URL. Thank you for sharing this nice article.

  • hi, Cloaking is well explained.....But would like to know , what are standards to design a url and landing page.