Help cloaking for GoogleBot

habibhahaha

Registered Member
Joined
Aug 22, 2019
Messages
62
Reaction score
8
Hi,
Is there a way to show a different page to Googlebot and a different page to users? If so, how can I achieve that?
 
OP please have a look throughout BHW , there are multiple threads leading you down the path and also pointing out solutions.
 
Hi,
Is there a way to show a different page to Googlebot and a different page to users? If so, how can I achieve that?

Cloaking is the best way to that , you can use any cloaker for an example : Leadcloak , Justcloakit , Noipfraud , Cloakerly .

Purchase the subscription setup the camp over there and then you are good to go.
 
cloaking - I personally recommend NoIP as their customer service is really good and helpful at answering questions. getting set up may be a bit of a learning curve and can also be pricy
 
This code is 9 years old but it still works fine.

Put the attached "cloak.php" file in the directory of the file you want to cloak.

Next, call the file in the page you want to do cloaking as follows:

PHP:
<?php
require_once("cloak.php");
if (search_engine($_SERVER['REMOTE_ADDR']) || strstr(strtolower($_SERVER['HTTP_USER_AGENT']), "googlebot")) {
    // ***** SHOW WHAT YOU WANT TO GOOGLE ****
   
} else {
    // ***** SHOW WHAT YOU WANT TO EVERYONE ELSE ****
   
}
?>

This will cloak Google based on both IP address and google's "googlebot" user agent.
 

Attachments

I read a lot of articles about cloaking, including this one, and all of them explain cloaking but noone shows how to do it exactly.
if you can program then based on that info you could code it, otherwise you need to use existing cloaking software.
 
This code is 9 years old but it still works fine.

Put the attached "cloak.php" file in the directory of the file you want to cloak.

Next, call the file in the page you want to do cloaking as follows:

PHP:
<?php
require_once("cloak.php");
if (search_engine($_SERVER['REMOTE_ADDR']) || strstr(strtolower($_SERVER['HTTP_USER_AGENT']), "googlebot")) {
    // ***** SHOW WHAT YOU WANT TO GOOGLE ****
  
} else {
    // ***** SHOW WHAT YOU WANT TO EVERYONE ELSE ****
  
}
?>

This will cloak Google based on both IP address and google's "googlebot" user agent.
can you explain what we have write-on // ***** SHOW WHAT YOU WANT TO GOOGLE **** and // ***** SHOW WHAT YOU WANT TO EVERYONE ELSE **** ( a link or what ?)
 
can you explain what we have write-on // ***** SHOW WHAT YOU WANT TO GOOGLE **** and // ***** SHOW WHAT YOU WANT TO EVERYONE ELSE **** ( a link or what ?)

SHOW WHAT YOU WANT TO GOOGLE ===> Your Safepage

SHOW WHAT YOU WANT TO EVERYONE ELSE ===> Your moneypage URL
 
SHOW WHAT YOU WANT TO GOOGLE ===> Your Safepage

SHOW WHAT YOU WANT TO EVERYONE ELSE ===> Your moneypage URL
I put my URL and it shows me an always error (maybe I didn't know how to handle the code) can you explain to me with details what I should do and thanx bro
 
@phpbuilt can you explain where to put white page and where to put smartlink on your code plz? Tnx
 
This depends on your project, ad text, and many similar elements. The Cloaker service is enough to start, but it doesn't guarantee that this campaign will go well forever. You must try trial and error methods. Please note that the approval of ad does not mean that you are successful.
 
Hi,
Is there a way to show a different page to Googlebot and a different page to users? If so, how can I achieve that?
There are so many ways to do. Which technique to choose and which provider to choose also depends on what exactly you are trying to achieve .
If you are just doing Adsense arbitrage simple cloaking / redirect may work fine for longer time. But of you are promoting something with Google ads you need to play smart .
Again there is degree of Google ads cloaking that depends on what niche you are promoting
1 : any simple weight loss nutra
2 : casino / sports betting
3 : cbd head shop

How to do it, which provider to choose depends on some factors .
 
This code is 9 years old but it still works fine.

Put the attached "cloak.php" file in the directory of the file you want to cloak.

Next, call the file in the page you want to do cloaking as follows:

PHP:
<?php
require_once("cloak.php");
if (search_engine($_SERVER['REMOTE_ADDR']) || strstr(strtolower($_SERVER['HTTP_USER_AGENT']), "googlebot")) {
    // ***** SHOW WHAT YOU WANT TO GOOGLE ****
  
} else {
    // ***** SHOW WHAT YOU WANT TO EVERYONE ELSE ****
  
}
?>

This will cloak Google based on both IP address and google's "googlebot" user agent.

How long do sites using this solution have been indexed on average for you? I am using htaccess referral cloaking myself but maybe this is better (my sites have gone deindexed though.. it might have been because of kw over optimization and creating very similar pages in content).
 
Back
Top