change affiliate link setup

how do I set the landing page for the affiliate links so that people are directed to the correct landing page on my website, not just the main site