How to Hide affiliate links on your Site?

by Topper
26 replies
Im a newbie when it comes to CPA marketing and I was wondering how most people hide there affiliate links on their site. Instead of putting the direct link within the page I usually use shorten link via bit.ly. Is there safe/whitehat method I can use?
#affiliate #hide #links #site
  • Profile picture of the author ricardox
    use a php redirect. Sounds complicated but its pretty simple.

    search for affiliate link cloaking using php or something.

    in essence instead of the aff link on your site, you have a link to a php file containing the aff link.

    so if your afflink on your site looks like "w w w.hop.youraffid" for example

    you put that "w w w.hop.youraffid" in the php redirect file and store it on your webserver.
    Then the link you want people to click would look like "yoursite/folder/affiliate.php" obviously you can call the file anything you want so it doesn't scare people away.

    once you get the hang of it, its real simple and there are example php files that you can just copy.

    hmm i just re read that and it sounds complicated!!
    {{ DiscussionBoard.errors[3654570].message }}
    • Profile picture of the author Wechito
      Originally Posted by ricardox View Post

      use a php redirect. Sounds complicated but its pretty simple.

      search for affiliate link cloaking using php or something.

      in essence instead of the aff link on your site, you have a link to a php file containing the aff link.

      so if your afflink on your site looks like "w w w.hop.youraffid" for example

      you put that "w w w.hop.youraffid" in the php redirect file and store it on your webserver.
      Then the link you want people to click would look like "yoursite/folder/affiliate.php" obviously you can call the file anything you want so it doesn't scare people away.

      once you get the hang of it, its real simple and there are example php files that you can just copy.

      hmm i just re read that and it sounds complicated!!

      Maybe this clear it up a little.

      TO MAKE A PHP REDIRECT

      • Write the following code in a notepad document.

      <?php header('Location:

      http://35eahyt6mpgt5hhdk4rudp4wd2kcw.hop.7XT73961');

      exit();

      ?>

      Replace the red text with your affiliate link
      Save the document as .php (not .txt) into the a folder called "recommend" or whatever you want.


      To save the document click "save as". In the "name" box write "whatever.php" (without quotes) and in the "type" box choose "all documents".

      Upload the folder to the root folder of your site

      • Instead of placing the affiliate link in your site, place a link pointing to the .php file

      http://www.yourdomain.com/recommends/whatever.php


      What we have done he re is building some kind of bypass instead of sending people directly to the URL containing our affiliate ID. The link in our site points to the PHP script which, besides hiding our affiliate ID, looks nice and professional. Then, the PHP script sends the visitors to the affiliate site.
      {{ DiscussionBoard.errors[3654732].message }}
      • Profile picture of the author marketwarrior06
        Banned
        Originally Posted by Wechito View Post

        Maybe this clear it up a little.

        TO MAKE A PHP REDIRECT

        • Write the following code in a notepad document.

        <?php header('Location:

        http://35eahyt6mpgt5hhdk4rudp4wd2kcw.hop.7XT73961');

        exit();

        ?>

        Replace the red text with your affiliate link
        Save the document as .php (not .txt) into the a folder called "recommend" or whatever you want.


        To save the document click "save as". In the "name" box write "whatever.php" (without quotes) and in the "type" box choose "all documents".

        Upload the folder to the root folder of your site

        • Instead of placing the affiliate link in your site, place a link pointing to the .php file

        http://www.yourdomain.com/recommends/whatever.php


        What we have done he re is building some kind of bypass instead of sending people directly to the URL containing our affiliate ID. The link in our site points to the PHP script which, besides hiding our affiliate ID, looks nice and professional. Then, the PHP script sends the visitors to the affiliate site.
        thanks dude,
        it was really helpful. thanks for informing me in detail. i have tried it and it worked. any kind of help needed in any field of affiliate marketing then plz knock me .
        {{ DiscussionBoard.errors[3675959].message }}
      • Profile picture of the author ChrisBa
        Originally Posted by Wechito View Post

        Maybe this clear it up a little.

        TO MAKE A PHP REDIRECT

        • Write the following code in a notepad document.

        <?php header('Location:

        http://35eahyt6mpgt5hhdk4rudp4wd2kcw.hop.7XT73961');

        exit();

        ?>

        Replace the red text with your affiliate link
        Save the document as .php (not .txt) into the a folder called "recommend" or whatever you want.


        To save the document click "save as". In the "name" box write "whatever.php" (without quotes) and in the "type" box choose "all documents".

        Upload the folder to the root folder of your site

        • Instead of placing the affiliate link in your site, place a link pointing to the .php file

        http://www.yourdomain.com/recommends/whatever.php


        What we have done he re is building some kind of bypass instead of sending people directly to the URL containing our affiliate ID. The link in our site points to the PHP script which, besides hiding our affiliate ID, looks nice and professional. Then, the PHP script sends the visitors to the affiliate site.
        Bingo - use this!
        {{ DiscussionBoard.errors[3676841].message }}
        • Profile picture of the author Mgriff
          I use wordpress plugin called "Gocodes". it is very simple to use. I like it because if your affiliate link or affiliate network ever changes, you just have to change the link within gocodes and it will change all of your links at once. Huge time saver.
          Signature
          {{ DiscussionBoard.errors[3687042].message }}
  • Profile picture of the author Per Action Rob
    If it's wordpress just use a simple plugin like pretty link. I prefer to register generic domains for various offers then use the pretty link plugin for redirects like

    workfromhomejobs.com/robertallen
    workfromhomejobs.com/automatedprofits
    Signature

    See thousands of dollars in live affiliate marketing media buys each month $1 30 day trial:

    http://www.MediaBuyingMonthly.com

    {{ DiscussionBoard.errors[3654861].message }}
    • Profile picture of the author Topper
      Originally Posted by ricardox View Post

      use a php redirect. Sounds complicated but its pretty simple.

      search for affiliate link cloaking using php or something.

      in essence instead of the aff link on your site, you have a link to a php file containing the aff link.

      so if your afflink on your site looks like "w w w.hop.youraffid" for example

      you put that "w w w.hop.youraffid" in the php redirect file and store it on your webserver.
      Then the link you want people to click would look like "yoursite/folder/affiliate.php" obviously you can call the file anything you want so it doesn't scare people away.

      once you get the hang of it, its real simple and there are example php files that you can just copy.

      hmm i just re read that and it sounds complicated!!
      Originally Posted by Wechito View Post

      Maybe this clear it up a little.

      TO MAKE A PHP REDIRECT

      • Write the following code in a notepad document.

      <?php header('Location:

      http://35eahyt6mpgt5hhdk4rudp4wd2kcw.hop.7XT73961');

      exit();

      ?>

      Replace the red text with your affiliate link
      Save the document as .php (not .txt) into the a folder called "recommend" or whatever you want.


      To save the document click "save as". In the "name" box write "whatever.php" (without quotes) and in the "type" box choose "all documents".

      Upload the folder to the root folder of your site

      • Instead of placing the affiliate link in your site, place a link pointing to the .php file

      http://www.yourdomain.com/recommends/whatever.php


      What we have done he re is building some kind of bypass instead of sending people directly to the URL containing our affiliate ID. The link in our site points to the PHP script which, besides hiding our affiliate ID, looks nice and professional. Then, the PHP script sends the visitors to the affiliate site.
      Originally Posted by Per Action Rob View Post

      If it's wordpress just use a simple plugin like pretty link. I prefer to register generic domains for various offers then use the pretty link plugin for redirects like

      workfromhomejobs.com/robertallen
      workfromhomejobs.com/automatedprofits
      Thanks for the info. I working with WordPress and I've heard of the "pretty link" plugin but I've also heard that in some cases that the plugin doesn't help in the SERPS, anyone know if thats true or not, any personal experiences?
      {{ DiscussionBoard.errors[3655101].message }}
  • Profile picture of the author throlsonllc
    If your using wordpress get maxblogpress link cloaker called ninja affiliate. Been using it for years!
    {{ DiscussionBoard.errors[3655229].message }}
    • Profile picture of the author Topper
      Originally Posted by throlsonllc View Post

      If your using wordpress get maxblogpress link cloaker called ninja affiliate. Been using it for years!
      Sounds pretty good, is this "OK" in Googles eyes? In other words is this plugin considered 100% whitehat? Does it violiate any rules or TOS with Google?
      {{ DiscussionBoard.errors[3655488].message }}
      • Profile picture of the author photodrew
        Originally Posted by Topper View Post

        Sounds pretty good, is this "OK" in Googles eyes? In other words is this plugin considered 100% whitehat? Does it violiate any rules or TOS with Google?
        Yes. Haven't had any problems. It's basically like URL shortening
        {{ DiscussionBoard.errors[3664751].message }}
  • Profile picture of the author egyhawk
    If your using wordpress get maxblogpress link cloaker called ninja affiliate. Been using it for years!
    i use this too works so good
    {{ DiscussionBoard.errors[3655602].message }}
  • Profile picture of the author egyhawk
    If your using wordpress get maxblogpress link cloaker called ninja affiliate. Been using it for years!
    i use this too works so good
    {{ DiscussionBoard.errors[3655613].message }}
  • Profile picture of the author imback
    I can approve of Ninja Affiliate!

    Ill give it my seal of approval!

    CHAD
    {{ DiscussionBoard.errors[3656073].message }}
    • Profile picture of the author Topper
      Originally Posted by imback View Post

      I can approve of Ninja Affiliate!

      Ill give it my seal of approval!

      CHAD
      Thanks for seal of approval. Anyone got a link to this wordpress plugin? And is it free?
      {{ DiscussionBoard.errors[3656820].message }}
  • Profile picture of the author Topper
    Anyone got the Link to the wordpress plugin?
    {{ DiscussionBoard.errors[3659966].message }}
  • Profile picture of the author HosoiLover96
    if you know any html or you can actually use a free html editor off the internet:

    just go into the code of the webpage and make a hotlink.

    basically a hotlink is your affiliate code that looks like regular text if you want.

    ex.

    <a href="youraffiliatelink.com">This video helped me achieve my weight loss goals!</a>

    this code "Hides" your aff link.
    {{ DiscussionBoard.errors[3660224].message }}
    • Profile picture of the author Carl Brown
      Here's the code I use. It creates an invisible frame:

      Code:
      <html>
      <head>
      <script>window.status = ' ';</script>
      <meta http-equiv="Content-Language" content="en-us">
      <title>--TITLE--</title>
      <meta name="keywords" content>
      <meta name="description" content>
      </head>
      <frameset border="0" frameborder="0" marginleft="0" margintop="0" marginright="0" marginbottom="0" rows="100%,*">
      <frame src='--URL--" scrolling="auto" frameborder="no" border="0" noresize>
      <frame topmargin="0" marginwidth="0" scrolling="no" marginheight="0" frameborder="no" border="0" noresize>
      <noframes>
      <body>
      </body>
      </noframes>
      </frameset>
      </html>
      {{ DiscussionBoard.errors[3660605].message }}
    • Profile picture of the author Topper
      Originally Posted by HosoiLover96 View Post

      if you know any html or you can actually use a free html editor off the internet:

      just go into the code of the webpage and make a hotlink.

      basically a hotlink is your affiliate code that looks like regular text if you want.

      ex.

      <a href="youraffiliatelink.com">This video helped me achieve my weight loss goals!</a>

      this code "Hides" your aff link.
      Thanks, I'll try to use this method.
      {{ DiscussionBoard.errors[3662432].message }}
  • Profile picture of the author msaqib301
    you should ask from google. it will help you out .
    {{ DiscussionBoard.errors[3662447].message }}
  • Profile picture of the author lamavridis
    I agree Maxblogpress Ninja Affiliate is a really great plugin to cloak your links and make them look much nicer. Moderately priced as well Maxblogpress really puts out great porducts. I have more information on the plugin at my website plus they offer a 60 day money back so if you are unhappy with it send it back.
    Lisa
    {{ DiscussionBoard.errors[3668208].message }}
    • Profile picture of the author humbledmarket
      Banned
      thanks for the great tip. just wanted to post here so i could reference back to it later
      {{ DiscussionBoard.errors[3668334].message }}
  • Profile picture of the author humbledmarket
    Banned
    Hey the Above code actually didn't work (gave an error on the exit() line) but here is one that works. Just tried it out:
    <?php
    header("....................................."); /* Redirect browser */

    /* Make sure that code below does not get executed when we redirect. */
    exit;
    ?>
    {{ DiscussionBoard.errors[3670453].message }}
  • Profile picture of the author ozworks
    Hi, if it has not been posted, there is a free WP pluging "Wordpress Affiliate Links" and it's Free...

    Hope this helps...
    {{ DiscussionBoard.errors[3672212].message }}
  • Profile picture of the author queeni
    you can use wp plugin (link cloaking plugin) if you are on wordpress platform
    {{ DiscussionBoard.errors[3675553].message }}
  • Profile picture of the author mustas4
    Try Affiliate Link Magic at Affiliate Link Magic- The Most Powerful Affiliate Software On The Planet! an excellent tool.....
    This not just cloak your link it will also build your list.
    {{ DiscussionBoard.errors[3675663].message }}

Trending Topics