+ Reply to Thread
Results 1 to 8 of 8

 

Thread: Masking Affiliate Links

  1. #1
    Registered User

    Status
    Offline
    Join Date
    Oct 2006
    Location
    Manchester
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts


    Anybody know a quick and simple way to mask affiliate links.

    Would like links to look like http://www.mysite.com/myaffiliate rather than the long winded affiliate code.

  2. #2
    Registered User

    Status
    Offline
    Join Date
    Nov 2006
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i think this can be done by some PHP coding and this has already been discussed earlier in the forum. Wanted to know how to do the same in ASP???

    Many thanks,
    Kranti

  3. #3
    boo!

    Status
    Offline
    Join Date
    May 2006
    Location
    Berkshire
    Posts
    787
    Thanks
    1
    Thanked 5 Times in 3 Posts
    use a redirect script.

    Script (redirect.php):

    PHP Code:
    <?php 
    header
    ("Location: $theURL"); 
    ?>
    Page:

    HTML Code:
    <a href="redirect.php?theURL=http://www.website.com" target="_blank">More info</a>
    not tested but something like that
    Kompound - Web design, Ruby on Rails development and iPhone app development

  4. #4
    Member

    Status
    Offline
    Join Date
    Jan 2004
    Location
    UK
    Posts
    142
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yup I use the redirect method in php also and it works a treat. You can also redirect links on your site through a page that forwards the user on and then block the stepping stone page in your robots.txt file so they don't get any PR :O)

    NM.
    Holiday Villa In<br>
    <font size=2>If it moves, kick it. If it doesn't move, kick it till it moves and hen kick it because it moved</font>

  5. #5
    The New 'Arfur Daley

    Status
    Offline
    Join Date
    Mar 2004
    Location
    Kent UK
    Posts
    3,589
    Thanks
    120
    Thanked 123 Times in 88 Posts
    Code:
    <script  type='text/javascript' >
    <!--  Hide affilate links
    links = document.getElementsByTagName('a');
    StatusBarMessage = "Please Click Here";
    for(i=0;i<links.length;i++){
     links[i].onmouseover=function(){
     window.status = StatusBarMessage; return true;};
     links[i].onmouseout=function(){
     window.status = ""; return true;
     };
    }       
    // -->
    </script>
    Inside the body of the .html page at the bottom of the page.
    Last edited by John Jupp; 30-11-06 at 05:29 PM. Reason: Where To Place
    Flambi Media Limited - USA/UK/EU Affiliate Management Expertise

  6. #6
    Registered User

    Status
    Offline
    Join Date
    Nov 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Some hosting package control panel would allow you setup the rediection.

    It worths to double check with your hosting panel.

  7. #7
    Registered User

    Status
    Offline
    Join Date
    Oct 2006
    Location
    Manchester
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by John Jupp View Post
    Code:
    <script  type='text/javascript' >
    <!--  Hide affilate links
    links = document.getElementsByTagName('a');
    StatusBarMessage = "Please Click Here";
    for(i=0;i<links.length;i++){
     links[i].onmouseover=function(){
     window.status = StatusBarMessage; return true;};
     links[i].onmouseout=function(){
     window.status = ""; return true;
     };
    }       
    // -->
    </script>
    Inside the body of the .html page at the bottom of the page.

    Cheers, this one works a treat & of course simple and quick like I was looking for. The only thing it doesn't do is mask banner and image links on mouseover, but it does everthing else. Thanks!

  8. #8
    The New 'Arfur Daley

    Status
    Offline
    Join Date
    Mar 2004
    Location
    Kent UK
    Posts
    3,589
    Thanks
    120
    Thanked 123 Times in 88 Posts
    Welcome.

    I'm launching a new site in the next few months offering various bits of script, addons etc. Even managed to get ClixGalore feeds displaying properly (well at least those that actually have categories) and they're a pain.

    There'll be a datafeed converter, css template, script to process feeds in various formats plus all the simple copy and paste here info to create non .php websites so watch for further info.

    I was going to launch this month but delaying it now as the script can read and convert most networks but needs fine tuning. Doesn't help when Donk decides to quit ciggies and gets blurred vision writing .php script! So he's back on the ciggies and back at work.
    Flambi Media Limited - USA/UK/EU Affiliate Management Expertise

+ Reply to Thread


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Part One:What Does an affiliate Manager do all Day
    By jess1 in forum Affiliate Marketing Lounge
    Replies: 32
    Last Post: 26-03-08, 06:55 PM
  2. Affiliate site not listed on Dmoz.org here is why!
    By supercod in forum Media Coverage & PR Strategy
    Replies: 32
    Last Post: 14-03-08, 12:31 PM
  3. Replies: 1
    Last Post: 04-10-05, 10:10 PM
  4. New try, Networks vs In House
    By allaffiliatepro in forum Affiliate Marketing Lounge
    Replies: 28
    Last Post: 18-01-05, 02:29 PM
  5. Affiliate links stored in a database
    By Nigel in forum Programming
    Replies: 4
    Last Post: 07-01-04, 02:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
To Top

Content Relevant URLs by vBSEO 3.5.0 RC2