HTACCESS LINK CLOAKING

How to cloak links using .htaccess file

I personally prefer this method of link cloaking the best because you can have all your cloaked redirects in one file. If you ever need to make modifications there is only one place to go. Of course with this link cloaking method as well as the php cloaking and iframe cloaking method there is no inherent link tracking possible which is pretty important if you are serious as an affiliate.

For this example we will use the most affiliate looking links there are - Clickbank affiliate links. For our example we will use the following link. This link actually goes to an acne cure product.

            http://b2dbeb1qxdygwfr9vd5qd6e38o.hop.clickbank.net/

IMPORTANT POINTS REGARDING LINK CLOAKING VIA HTACCESS

IF YOU ARE USING FREELINKSCLOAKER SOFTWARE

  1. Click .htaccess link cloak button in the FreeLinksCloaker software.
  2. Enter the the text you want people to click on AFTER the .com in the yellow textbox. For example, lets pretend your website is bestsite.com.  Using the example of the Clickbank link above that is for an acne cure product, lets say you want the link to be bestsite.com/acnecure. Enter acnecure in the yellow textbox.
  3. Enter the link you wish to cloak - the affiliate link - in the orange textbox.
  4. Click Add Below button.
  5. Keep repeating steps #2 through #4 for each link you wish to cloak. As mentioned above the .htaccess file can hold an unlimited number of link cloak redirects. Each separate link you wish to cloak goes on a separate line.
  6. When you are finished double click the white textbox to copy all the redirects to clipboard.
  7. If your web server already has an .htaccess file then add the code to it. If your web server does not have an .htaccess then create one in a plain text file like notepad and save it as .htaccess. Note there is NOTHING before the '.'  The file is literally saved and uploaded as .htaccess.

FreeLinksCloaker software htaccess tab activated.

 

IF YOU ARE MANUALLY CREATING THE HTACCESS LINK CLOAKING CODE

  1. Each link you wish to cloak gets put on a separate line. You can insert as many link cloaking lines as you wish but make sure each link you cloak goes on a separate line.
  2. The code syntax is shown below in the textbox. Its the word Redirect followed by a space followed by a  /  followed by the text of the link you wish to cloak that will come after the .com or .net etc. For example, lets pretend your website is bestsite.com.  Using the example of the Clickbank link at the top of the page that is for an acne cure product, lets say you want the link to be bestsite.com/acnecure. Enter acnecure as the text of the link you wish to cloak followed by a space followed by the link you wish to cloak.
  3. If your web server already has an .htaccess file then download it and open it with a plain text editor like notepad. Copy and paste into notepad, resave, and re upload the modified .htacess to your web server. If your web server does not have an .htaccess the create a blank text file. Open it and copy and paste the code into it. Save it literally as .htaccess. Note there is NOTHING before the '.'  The file is literally saved and uploaded as .htaccess.

Download FreeLinksCloaker Affiliate Link Hider