Affiliate Redirects and Htaccess

Discussion in 'Google AdWords' started by Entrep, Jul 16, 2006.

  1. #1
    Say I have a landing page with some direct affiliate links on it - e.g. www.affil.com/offer=4534?and?4545

    What if I want to redirect all these links through my own domain first, so that all the links on my landing page would be like: www.mydomain.com/offer=4534?and?4545

    www.mydomain.com/offer=4534?and?4545 would redirect to www.affil.com/offer=4534?and?4545 and www.mydomain.com/offer=8888?and?88888 would redirect to www.affil.com/offer=8888?and?88888 - the only thing that would change is the domain name.

    I have looked at various htaccess tutorials, but cant seem to find the correct syntax. I assume that the .htaccess would be placed in the hosting directory for mydomain.com

    Any help appreciated!
     
    Entrep, Jul 16, 2006 IP
  2. Micromag

    Micromag Well-Known Member

    Messages:
    1,757
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    165
    #2
    Hi Entrep,

    Before take we look on htaccess...

    Why are you using your own www.mydomain.com in AdWords landing page and not affill.com as landing page directly? What is your idea doing this?
     
    Micromag, Jul 16, 2006 IP
  3. Entrep

    Entrep Well-Known Member

    Messages:
    588
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    110
    #3
    You are asking me why I am using landing page in the first place?
     
    Entrep, Jul 16, 2006 IP
  4. Micromag

    Micromag Well-Known Member

    Messages:
    1,757
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    165
    #4
    Yes, why you don't put the

    www.affil.com/offer=4534?and?4545

    directly as landing page?

    why do you need your domain just to redirect?
     
    Micromag, Jul 16, 2006 IP
  5. Entrep

    Entrep Well-Known Member

    Messages:
    588
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    110
    #5
    Becuase I have different options for people to select and then they go to different affiliates.
     
    Entrep, Jul 16, 2006 IP
  6. Micromag

    Micromag Well-Known Member

    Messages:
    1,757
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    165
    #6
    First you said that the only thing that you want to change would be would be the domain name:


    now you say a different thing:

    Is not a simple domain redirect?

    I asked more information because in your first post you didn't provide enough information but now is less clear what or why want this.

    In AdWords the system consider the very last redirected and ignore the other pages as landing page - if you plan to put your myDomain as display URL this will not work - if this is the case.
     
    Micromag, Jul 16, 2006 IP
  7. Entrep

    Entrep Well-Known Member

    Messages:
    588
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    110
    #7
    You havent understood me.

    1. My adwords link directly to my landing page.
    2. My landing page links to my CJ affiliate links
    3. I want to have my landing page link to one of my own domains, and from that domain, the links are redirected to my CJ affiliate links
     
    Entrep, Jul 16, 2006 IP