Automatic transfer between websites - please help i'm stuck!

Discussion in 'Site & Server Administration' started by itsallwhite, Mar 21, 2010.

  1. #1
    I have my main website, which promotes an affiliate product, due to restrictions from the company I have had to create a site which sits between my main website and their website.

    The middle site is just a basic site with a link through to their various products.

    I need them to see that my visitor came from my 'middle' website.

    Is there anyway to automate it, so when they click on site number 1, they are automatically transferred via site 2 and then automatically to the final affiliate website?

    Your help is very much appreciated
     
    itsallwhite, Mar 21, 2010 IP
  2. tolra

    tolra Active Member

    Messages:
    515
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    80
    #2
    In the middle site use a meta refresh in the head e.g.

    <meta http-equiv="refresh" content="0;url=http://other.com/" />

    I think that'll then show as you want.

    You can also do it with PHP e.g. header('http://other.com/')
     
    tolra, Mar 22, 2010 IP
  3. itsallwhite

    itsallwhite Peon

    Messages:
    607
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    THanks for this, do I just add this next to other meta tags in the head?

    Will it automatically take users from site 1 to site 3 with users looking like they're coming from site 2?
     
    itsallwhite, Mar 23, 2010 IP
  4. tolra

    tolra Active Member

    Messages:
    515
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    80
    #4
    Yes just pop it in the head tag.

    Yes will go from 1 to 2 to 3 and should look like the user came from 2.
     
    tolra, Mar 23, 2010 IP