1) Create a File name blackhatkings.php

PHP Code: 
<?php
$myhomepage 
'https://your-domain.com';
$bhkid htmlspecialchars($_GET["bhkid"]);
$ListURL = array(
"url1" => "https://www.URL1.com",
"url2" => "https://www.URL2.com"
);
$url array_key_exists($bhkid$ListURL) === false $myhomepage $ListURL[$bhkid];
header("Location: $url");
exit();

Add to domain root .htaccess file:

Code: 
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_URI} /go/
RewriteRule ^go/([A-Za-z0-9-]+) blackhatkings.php?bhkid=$1 [L]
</IfModule>

Above code will help you to safely cloak the links. You can add upto 100 urls per batch. For support reply in the thread.
Kevin Reviewed by Kevin on . Link Cloaker for Affiliates 1) Create a File name blackhatkings.php <?php $myhomepage = 'https://your-domain.com'; $bhkid = htmlspecialchars($_GET); $ListURL = array( "url1" => "https://www.URL1.com", "url2" => "https://www.URL2.com" ); Rating: 5