Home   Forum   401k   Credit Cards  
    Register   Login   Members   Search   FAQs     Recent Posts    
Cloak Your Affiliate Links Using PHP

Reply to topic
Money Talk > The Web for Profit

Author Thread
moneyflow
Preferred Member


Cash: $ 19.75

Posts: 143
Joined: 22 Jul 2005
Location: New York
Cloak Your Affiliate Links Using PHP  Reply with quote  

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 Laughing

<edited to disable link>

http://www.MoneyFlowForLife.com | http://www.DanielCassidy.ws
Post Sat Nov 25, 2006 6:17 am
 View user's profile Send private message Visit poster's website
LottomagicZ4941
Senior Member


Cash: $ 3.31

Posts: 2488
Joined: 02 Dec 2004
Location: Earth
 Reply with quote  

Sounds kind of sci fi.

Found a deal to shorten URLS a while back. It claims to be better then the tiny URLS.

Not brave enough to use them habitually. Just where my URLs are to long to plug other wise.

My Current Favorite Marketing Tool. If you like text adverts you will like it
Save 25% off some versions of Turbo Tax some say it's a CPA in a CPU
Post Sun Nov 26, 2006 1:56 pm
 View user's profile Send private message Visit poster's website Yahoo Messenger
fultron
Preferred Member


Cash: $ 3.50

Posts: 103
Joined: 15 Sep 2005
Location: NJ
 Reply with quote  

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
Post Mon Nov 27, 2006 5:44 pm
 View user's profile Send private message Visit poster's website
No-Brainer
Senior Member


Cash: $ 66.65

Posts: 907
Joined: 29 Dec 2005
Location: Oregon USA
 Reply with quote  

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.

US Click Ads
Pathway to Income
Post Mon Nov 27, 2006 8:51 pm
 View user's profile Send private message Visit poster's website



Reply to topic
Forum Jump:
Jump to:  
  Display posts from previous:      






Money Talk © 2003-2011



Arcade Banner Exchange