How to make an affiliate link look like my domain?

Discussion in 'HTML & Website Design' started by glenv, Nov 8, 2007.

  1. #1
    I know this has been covered before but I am always hoping for new methods.

    I have a website domein with a good theme that works for a particular affiliate offer. What is the best method to actually senf them to the affiliate url yet make the address bar appear to be my site?

    Is frames still the only way to do this? If yes, what is the best code?

    Thanks in advance
     
    glenv, Nov 8, 2007 IP
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Where do you want the address look like your site? Just initially when they put their mouse over the link or the whole time they are on the affiliate site?

    If it is the former then you could link to something like http://www.yourdomain.com/link.aspx?l=123 and a script on link.aspx picks up the l value, looks up the link this resolves to and redirects the user to it.

    If it is the latter than you can do the same as above but put the link into an iframe on the page or screenscrape the data and present it to them. At the end of the day if it is something like Amazon then the Amazon logos all over the site is going to tell them they are not still on your site.

    Better affiliate schemes, like amazon, now provide an API for affiliates to use and if you use the SOAP method for it rather than REST it is very easy to have a seemless integration but does require a moderate level of programming/ scripting experience
     
    AstarothSolutions, Nov 9, 2007 IP
  3. glenv

    glenv Peon

    Messages:
    930
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    the latter: the whole time they are on the affiliate site


    Could you go into more detail? Where could I see an example of this and where could I get the code and instructions for dummies?





    If it is the latter than you can do the same as above but put the link into an iframe on the page or screenscrape the data and present it to them. At the end of the day if it is something like Amazon then the Amazon logos all over the site is going to tell them they are not still on your site.

     
    glenv, Nov 9, 2007 IP