301 Redirect Windows server query

Discussion in 'Site & Server Administration' started by Shina, Apr 29, 2008.

  1. #1
    Hope i got the right section if anyones got a sec:

    if i set up a subdomain against a domain or a site (but not using a landing page as such)to use for marketing and do a 301 redirect to an affiliate url...what will show as the referrer to the affiliate company/merchant, my subdomain or the page where the user saw the ad?

    any thoughts much appreciated
     
    Shina, Apr 29, 2008 IP
  2. LogicFlux

    LogicFlux Peon

    Messages:
    2,925
    Likes Received:
    102
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The page where they saw the ad I believe. If you want to test it, instead of linking to the affiliate company page on the redirect, link to a page that has this in it to see what referer it shows.

    
    <?php
    echo $_SERVER['HTTP_REFERER'];
    ?>
    
    
    PHP:
     
    LogicFlux, Apr 29, 2008 IP
  3. Shina

    Shina Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks, will give that a try.
     
    Shina, Apr 30, 2008 IP