Cloak Your Affiliate Links Using PHP |
|
|
|
moneyflow
Preferred Member
Cash: $ 19.75
Posts: 143
Joined: 22 Jul 2005
Location: New York |
Cloak Your Affiliate Links Using PHP |
|
|
I have discovered a much more effective way to cloak your affiliate ID's using PHP instead of creating a landing page.
If your hosting account supports PHP which almost all do you can set this up by simply doing the following:
1. Open up notepad on your computer
2. Copy the following code into notepad:
<?php
header("Location:http://www.youraffiliatewebsite.com/yourID#");
?>
3. Put your affiliate link in palce of:http://www.youraffiliatewebsite.com/yourID#
4. Name the file and save it as .php
5. Upload to your server and link to it
Enjoy
<edited to disable link>
http://www.MoneyFlowForLife.com | http://www.DanielCassidy.ws
|
Sat Nov 25, 2006 6:17 am |
|
|
fultron
Preferred Member
Cash: $ 3.50
Posts: 103
Joined: 15 Sep 2005
Location: NJ |
I prefer to use .htaccess redirects. I can store all of my affiliate links in one text file and any changes I make to that file are effective across my entire site.
It's easy to do, but a little hard to explain in a post. Just Google ".htaccess redirects" and you'll see how easy it is.
Saving Money
|
Mon Nov 27, 2006 5:44 pm |
|
|
No-Brainer
Senior Member

Cash: $ 83.45
Posts: 986
Joined: 29 Dec 2005
Location: Oregon USA |
quote: Originally posted by fultron I prefer to use .htaccess redirects. I can store all of my affiliate links in one text file and any changes I make to that file are effective across my entire site.
It's easy to do, but a little hard to explain in a post. Just Google ".htaccess redirects" and you'll see how easy it is.
It's even easier than that if you use Cpanel on your web host. Look for the redirect icon and enter the source and destination and click add. That's it. I imagine it modifies the .htaccess for you.
Easiest Path to Grow Your Income For Free
Free Crypto Pays Compound Interest DAILY!
|
Mon Nov 27, 2006 8:51 pm |
|
|
|