How to redirect a link to an Amazon Affiliate link

b3master

Newbie
Joined
Jun 24, 2011
Messages
3
Reaction score
0
Hey everyone,

I have a quick question I'm hoping someone can help me with. Today i came across a link like below (Sorry, i am not allowed to post links):

domain / viewdetail . php ? asin = B033AE33TU

But when i clicked it i was redirect to:

amazon / gp / product / B033AE33TU / ? tag = selling-26

I wonder if anyone can give me a hint how to do that ? Please help me out.

Thanks.
 
There's many ways of doing it, but the easiest is probably using something like Pretty Links plugin for wordpress, otherwise, just google how to do a redirect.
 
This is what you want, right?
<?php
$id = $_GET['asin'];
?>
<meta http-equiv="refresh" content="0; url=http://www.amazon.com/gp/product/<?php echo $id; ?>/ref=(the rest of your referral code)">
 
How are these people able to create the the adwords ads without them getting disapproved? I tryed making an AdWord ad for pro flight simulator, denied every time
 
Another easy way to do it:
<?php


Header("Location: http_www_amazon_com/gp/product/".$_GET['asin']."/?tag=selling-26");
exit;
?>
 
Back
Top