Link Cloakiing through PHP Redirects

Hello all,

I am insistent on cloaking my affiliate links before using them in any campaign.

In doing my own research in this field, I have turned up plenty of softwares to do this, but also there is a way using PHP redirects.

This is one of the best articles I’ve found on this method for link cloaking: this article

& this is another good one: here

I think this page is written in a someone simplistic way, and I think it can be expanded upon, particularly if I made link redirect files specific to each category I have on my affiliate site: worldreviewgroup.com.
files.

The .htaccess file, would then, need to be edited with code different from the listed code:

RewriteEngine On
 RewriteRule ^go/([/_0-9a-zA-Z-]+)$ link.php?id=$1 

If I were to redirect using one file under this link cloaking method article’s “link.php”, can you help me redirect on this page.

I need help deciphering what this article has described. It seems to confuse me.