how to combine affiliate link with our domain

4 replies
  • WEB DESIGN
  • |
I m a new bie here in the forum,
need help from senior friends,
how shall i make a loooong affiliate link
to show
mysite(dot)com/affiliate productname

i was told to make a index file and upload it on my site folder ..
can u explain in details?

thanks a tons!
#affiliate #combine #domain #link
  • Profile picture of the author WebFlip
    Welcome to the Forum! I think what you're looking for is a simple domain redirect. If your using GoDaddy just go into your domain manager and select the domain you want to use then click on "forwarding" in domain setup page and paste in your affiliate link. This will allow you to post your domain but when someone hits that domain they're automatically redirected to your affiliate link! No need for an index page!

    -Safe Travels!
    {{ DiscussionBoard.errors[1265892].message }}
  • Profile picture of the author cmaclean
    Create a folder with the desired affiliate name. Inside that folder create a file called index.php

    Open up a plain text editor (such as Notepad) and copy in the following:

    <?php
    header("Location: http://www.ACTUAL-AFFILIATE-LINK-HERE.com");
    ?>

    Save the file.

    Upload the folder to your website's root directory.

    When someone visits http://YOURSITE.com/foldername they will be redirected to your affiliate link.


    Craig
    {{ DiscussionBoard.errors[1266143].message }}
    • Profile picture of the author blogginvixen
      Originally Posted by cmaclean View Post

      Create a folder with the desired affiliate name. Inside that folder create a file called index.php

      Open up a plain text editor (such as Notepad) and copy in the following:

      <?php
      header("Location: http://www.ACTUAL-AFFILIATE-LINK-HERE.com");
      ?>

      Save the file.

      Upload the folder to your website's root directory.

      When someone visits http://YOURSITE.com/foldername they will be redirected to your affiliate link.


      Craig
      Cmaclean basically said everything that I would have, however, I just wanted to add that you should make sure to name the file "index.php" so that it will automatically redirect.
      {{ DiscussionBoard.errors[1266640].message }}
  • Profile picture of the author Cindi09
    Hi, Mkool30
    I am new here too. But I am a senior "62" ha, ha!!
    Now what I see you are asking is that you have a site for your domain name: MYSITE.COM and you want to send your costumers to an affiliate site?? I do not know about index files but do know that a link cloaker with your hosting should do what you want.
    MYSITE.COM/AFFILIATEPRODUCT, then you would not have a loooong affiliate link.
    On the other hand you want your domain name to go to your affiliate site you can use your "forwarding" at your register that has your domain name. Good Luck, Cindi
    {{ DiscussionBoard.errors[1266371].message }}

Trending Topics