[SOLUTION] Amazon Method redirect

fuserleer

BANNED
Joined
Sep 22, 2011
Messages
92
Reaction score
468
Ok, I'm gunna spend some time now to do this as I sense people are getting a little frustrated.

I'm sorry you've all had to wait, but my business has to com first over giving out free stuff and methods, I'm sure everyone can appreciate that. :)

So ok, when you import the products to the first domain, you need to save the Amazon URL WITH YOUR AFFILIATE INFO IN IT for that product somewhere on the first site. If its missing your affiliate info, you wont bank, simple as that. I'm sure you can figure that part out.

On to the redirects

So on site 1, when a visitor clicks your buy button or whatever, that button links to site 2 like this

http://www.site2.com/doredirect.php?url=AMAZON_URL

doredirect.php should be something like this

<?php

if (!isset($_REQUEST['url'])) $_REQUEST['url'] = "www.amazon.com?your_affiliate_id_stuff;

?>

<script>

function do_redirect()
{
window.location = "<?=urldecode($_REQUEST['url']);?>";
}

setTimeout("do_redirect()", 500);

</script>

?>

And thats it!

I haven't tested it, as I just laid it down in here, but its very simple, and anyone thats every sniffed PHP can figure this out in a heartbeat.

D
 
Last edited:
Well thanks again. I'm not a PHP guru but this line <?=urldecode($_REQUEST['url']);?> if it's not working it could be replaced with this: <?php echo urldecode($_REQUEST['url']);?>
 
Last edited:
mis-understood post above
 
Last edited:
Why not? It's just the syntax for compatibility, not the script..
 
oh sorry

I read what you meant wrong, its been another long day

yes you could do that!
 
how does it know which product to redirect to?

also, won't a manual review by google get us banned for having an amazon affiliate URL on the same page as the "buy now" button?

sorry for asking noob questions :p
 
fuserleer could you please come on skype ?
 
I like people with thought out questions! :D

Yes thats something that "could" happen.

What I did was bury the redirect behind another click or so.

Buy button click -> new page "THis item is $xxxx are you sure you want to buy?" -> click yes do redirect

D

how does it know which product to redirect to?

also, won't a manual review by google get us banned for having an amazon affiliate URL on the same page as the "buy now" button?

sorry for asking noob questions :p
 
Anyone want to work together to get a fully working set up?
 
i use this to decrypt it
PHP:
$key = 'password'; //   you  can  write what you want here..  if you don't know what this is for.. leave it
$string = 'B000KKO894'; // amazn id  here

$encrypted = base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, md5($key), $string, MCRYPT_MODE_CBC, md5(md5($key)))); 
$decrypted = rtrim(mcrypt_decrypt(MCRYPT_RIJNDAEL_256, md5($key), base64_decode($encrypted), MCRYPT_MODE_CBC, md5(md5($key))), "\0");

echo 'Encrypted:' . "\n";
var_dump($encrypted);


echo ' Decrypted:' . "\n";
var_dump($decrypted);

paste it into a php file....

some people asked pms.. because they didn't underestand it...

i do encode this "B000KKO894" so that the ID on domian 1 the item ID is someting like 23k3412361we2461ewklrn291924823478
so the url would be buy.php?item=23k3412361we2461ewklrn291924823478

i decrypt the ID on domain 2.
i takes the string from the url.. and makes "B000KKO894" from it... so that it can be properly rediected to the offer.


need to send this quick..
might go into this later..... ordered pizza .. already told Dan that i have not had eaten anything for 10 hrs ........... 11 now.. LOL so off topic but the ppl in THIS thread should be a small trageted group right now.


edit: why would you do this?
there are 2 groups of people that you want to make very happy ( :-) )
G employees
and A employees
they aren't internet marketes but they aren't idiots..
they can tell if string in a URL is an amazon ID...
if those people from amazon review your 1 domain.. for some reason... they KNOW how an A-S-I-N looks like ( it beginns with B00 if its not a book or dvd)
i know that it is an aff store when i hover a link or button and it shows A-S-I-N in the link url
and i guess you guys would also know this.
 
Last edited:
I like people with thought out questions! :D

Yes thats something that "could" happen.

What I did was bury the redirect behind another click or so.

Buy button click -> new page "THis item is $xxxx are you sure you want to buy?" -> click yes do redirect

D

Thanks mate. Now I see the big picture.
 
This could have been one of the greatest WSO's to live but OP has decided to share it with us.Thanks again OP, time to try some PHP tutorials at w3schools.com :D.
 
Is there a reason why we need to do a redirect instead of just applying the amazon store to google base? It doesn't appear to be against their terms and agreement?
 
Is there a reason why we need to do a redirect instead of just applying the amazon store to google base? It doesn't appear to be against their terms and agreement?


I haven't read either TOS, but i am pretty damn sure G is not going to approve an affiliate site.

Also, if i remember correctly from OP's pdf, Amazon does not allow you to list products on google base. Domain 2 is used to fake the referrer so Amazon does not find out.
 
Is there a reason why we need to do a redirect instead of just applying the amazon store to google base? It doesn't appear to be against their terms and agreement?

Pretty sure this covers it.

The promotion of affiliate or pay-per-click links, products sold through a commission-based relationship, or sites that bulk list products fulfilled through drop-ship consolidators is not allowed.

Code:
http://support.google.com/merchants/bin/answer.py?hl=en&answer=188484

They seem to be pretty strict.
 
Back
Top