Cloaking script against Googlebot with RDNS [PHP]

That's crazy. I just wanted to share a stuff that could help and this is what I get. Are you sure you looked at the code dude?

It s not a clocking on user agent, the user agent check is to make the clock faster without serving a reverse DNS to all of your human traffic :)
Hey Im not meaning to be down on you at all. Thanks for sharing :)

Im just saying that if google comes at that with anything other than googlebot in the useragent then they get unknownuser.php

As for checking for DNS spoofing. Seems unlikely to me that google would be dns poisoning to mask ip's. Pretty sure thats illegal and if you need a new ip then just get a vpn or proxy. Although I'd like to stand corrected on this as im interested. If you have any links.
 
It depends on your use case and on your cms bro. Are you using wp? Tell me an example of use case that interest you. maybe I can help.
Yes I'm Using for the moment A WP CMS where to integrate this script :) That was actually my question :)
 
Hey Im not meaning to be down on you at all. Thanks for sharing :)

Im just saying that if google comes at that with anything other than googlebot in the useragent then they get unknownuser.php

As for checking for DNS spoofing. Seems unlikely to me that google would be dns poisoning to mask ip's. Pretty sure thats illegal and if you need a new ip then just get a vpn or proxy. Although I'd like to stand corrected on this as im interested. If you have any links.

check this https://support.google.com/webmasters/answer/80553?hl=en
 
Yes I'm Using for the moment A WP CMS where to integrate this script :) That was actually my question :)
Ok but tell me what you want to do? If the user is a human what he is supposed to see, and what if is googlebot
 
Im just saying that if google comes at that with anything other than googlebot in the useragent then they get unknownuser.php

Of course because if Google comes with another UA it means it s not googlebot, could be fetcher, google ads-bot or whatever. But have you ever seen googlebot comings with another UA. This is Mythology not real life
 
cloaking is not a game of redirection only bcz bots and crawlers are more effeciant than scripts although the sharing script work fine!
 
Back
Top