blackhatx2

The Quickest Way to Cloak Links Using Your Own Domain

Aug 24th, 2012
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. https://blackhatx.com/seo-forum/
  2.  
  3. Method 1: Partial Cloaking (redirect only)
  4.  
  5. If your web host has .htaccess and mod_rewrite enabled (majority of hosts have this by default), you can easily create a link cloaker. Here's how:
  6.  
  7. 1. Create/Edit your .htaccess file using a text editor like Notepad and enter the following code:
  8.  
  9. Just replace the text in red with whatever catches your fancy and the blue text with the actual affiliate link. You can add as many as you want, just enter it in a new line.
  10.  
  11. 2. Save the filename as .htaccess and upload it in the root directory of your site's public_html folder.
  12.  
  13. 3. You can now access the cloaked link(s) like these:
  14.  
  15. http://yourdomain.com/dummy-text-1
  16.  
  17. http://yourdomain.com/dummy-text-2
  18.  
  19. Tip: You can also use formats like "product-name.html" or "recommends/product-name.html" as the cloaker text.
  20.  
  21. Note: The actual affiliate link/destination will still appear in the user's browser address bar since this is only a redirect. If you like to hide that too (full cloaking), you would need a different method using frames:
  22.  
  23. Method 2: Full Cloaking (frames)
  24.  
  25. This method doesn't require you to do the above method, it's completely different. This time you will have to create an HTML page manually for each affiliate link you want cloaked. Type in the following code in your new HTML page:
  26.  
  27. Code:
  28. <html>
  29. <head><title>Product Name</title></head>
  30. <frameset border="0" rows="100%,*">
  31. <frame src="http://zzz.xxx.hop.clickbank.net/" />
  32. <frame />
  33. </frameset>
  34. </html>
  35.  
  36. Save/access it as http://yourdomain.com/product-name.html
  37.  
  38. Using this method your own domain/page will remain in the user's browser address bar while showing the actual affiliate page.
  39.  
  40. So to summarize: Use Partial cloaking if you're feeling lazy, Full cloaking otherwise
  41.  
  42.  
  43. For more information please visit are site...
  44. https://blackhatx.com/seo-forum/
Advertisement
Add Comment
Please, Sign In to add comment