Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Feb 2010
    Location
    Whitley Bay, UK
    Posts
    46
    Thanks
    9
    Thanked 0 Times in 0 Posts

    How can I hide an affiliate link to another site

    Hello

    I want to post a link to a site, but hide the fact that I am using an affiliate link.

    I know there is an easy way to do this ... I saw it before but can't find the details now.

    It is something like visiting another site (say my own website) for less than a second, before it automatically jumps to the affiliate link.

    Any help would be appreciated.

    I think it is something to do with redirects.

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,607
    Thanks
    0
    Thanked 645 Times in 635 Posts
    Simply call a server side script on your own site that sets the Location header to the affiliate address and calling the script will go straight to the affiliate site without the link showing the affiliate info prior to clicking on it.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    New Coder
    Join Date
    Jul 2012
    Posts
    66
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You can try some applications into your script. Its very easy to do.

  • #4
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    heres a imple way, using a meta redirect : http://webdesign.about.com/od/metata...a-redirect.htm


  •  

    Posting Permissions

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