Help with redirect

Discussion in 'PHP' started by edgeventure, Apr 7, 2008.

  1. #1
    Hi, I would like to redirect all affiliate links to my home page to pass on PR juice as the current format will dillute my PR due to duplicate content as Google and other SE's will consider

    http://www.yoursite.com/?aid=XX&bid=YY

    to be the a different page to

    http://www.yoursite.com/

    but they both have the same content

    Unfortunately the affiliate cookie needs to be set so the visits can be tracked so I can't do a straight php 301 header redirect. Any ideas for a SE freindly method of doing this?
     
    edgeventure, Apr 7, 2008 IP
  2. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #2
    Put nofollow on the aff. links.
     
    login, Apr 7, 2008 IP
  3. edgeventure

    edgeventure Guest

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for this but issue isn't related to bleeding PR to internal affiliate links. Rather I am setting up my own aff campaign to promote my site and want to preserve the PR benefits of having external sites link to my home page, but I need to somehow rewrite or redirect the aff link in an SE friendly way whilst forcing the cookie so aff links can be tracked. I'm not sure if this is even possible? :confused:
     
    edgeventure, Apr 7, 2008 IP