I think I've seen this done before but I'm not sure. I have a landing page for an affiliate program I belong to that I"ll be using to capture email addresses. When they land on the merchant page, I don't want them to see the affiliate url. I want them to see ex. www.getpaidtomakemoney.com and still get credit if a sale is made. Is this doable? If so, how would I accomplish this? Thanks and I apologize if this is not posted in the right category, this is my first post.
Hello sammiam, If you were to create an .php page like this. <? header("Location: http://www.whatever.com/youraffilitelinkis=http://www.whateverdomain.com/pageyouwant"); exit; ?> Code (markup): This should work for you. When you create your php page. just name it what ever you want like phone.php and then send people to http://www.yourdommain.cOm/your.php page and that should redirect them to your affiliate site with out your affiliate id showing up.
An html solution would be to point your link to this page: <head> <meta http-equiv="refresh" content="0 url=http://www.youraffiliateurl.com/"> </head> Should do the trick nicely.
But just in case you hate php'ing here's another one: The last part at the end cookies your visitors. Remember when naming this page to add .htm at the end so it looks like YOURSITE.COM/REDIRECTEDAFF.HTM There's also a code you can put into your .htaccess file after "# END WordPress":
You would probably want to capture the referrer and then redirect. Here is how: //Assuming that you page is: www.getpaidtomakemoney.com/landing.php?ref=45654 <? $ref = $_GET['ref']; //Do something with $ref... header('Location: http://www.getpaidtomakemoney.com/register.php'); exit; ?> PHP: This is assuming you are using php