I tried to include two links to Amazon in this answer, one to the amazon.com page of a book and one to the amazon.de page of the same book. (This made perfect sense, since the two pages contain different book reviews, all in English.) In the edit preview, the links worked. However, in the submitted answer, they both got replaced by this link (though the original links were still there when I edited the answer again). Apart from the fact that I strongly prefer to decide for myself what links I put in my answer and find it disturbing that they get changed behind my back (after all, people will attribute those links to me and not to the machine that replaced them), in this case it broke the content, since the two links that were supposed to point to different pages with different reviews now pointed to one and the same page. My questions about this are:

  1. What is the rationale for rewriting the links?
  2. Why do the rewritten links not lead to the pages originally linked to?
  3. If there is a good answer to 1, is it compatible with that rationale to do what I did, namely to use a tinyurl instead of the Amazon URL to circumvent the rewriting?
  • 1
    $\begingroup$ Just a guess: maybe stackoverflow makes money this way? (And: +1 for the find!) $\endgroup$ – Hendrik Vogt Jul 15 '11 at 19:50
  • 1
    $\begingroup$ See this MSO question and many others. (originally posted 5 mins previous, but deleted and reposted so I can fix a typo). $\endgroup$ – Bill Dubuque Jul 15 '11 at 21:38
  • 2
    $\begingroup$ A slightly simpler workaround than a url-shortener is to use percent-encoding. Replace e.g. one period by %2E. Compare Direct link www.amazon.com/... and Encoded link www%2Eamazon.com/.... See also my deleted answer below. $\endgroup$ – t.b. Jul 16 '11 at 4:25
  • $\begingroup$ @Theo Your links are identical. $\endgroup$ – Bill Dubuque Jul 16 '11 at 17:56
  • $\begingroup$ Perhaps the rewriting doesn't occur in comments and/or on meta? (They're not literally identical; one does have a percent-encoded period and the other doesn't; but I guess the idea was to show that the non-encoded one gets rewritten and the encoded one doesn't?) $\endgroup$ – joriki Jul 16 '11 at 18:03
  • $\begingroup$ @Bill: as joriki said, the links aren't literally identical, but yes, you're right, they didn't get replaced in the comments [interestingly]. However, in my deleted answer below, the two non-encoded links did get replaced while the the encoded ones were replaced. (They didn't break, though). Sorry about that, I should have checked the links in my comment more carefully. $\endgroup$ – t.b. Jul 16 '11 at 22:38
  • $\begingroup$ @Theo, @Joriki I figured out the problem. Unlike FF, it appears that IE unencodes the %encoding before copying urls, so I wasn't able to see the %encoding in IE simply by copying the url. $\endgroup$ – Bill Dubuque Jul 16 '11 at 23:00

Read and be enlightened:

  1. Yes, StackExchange is an Amazon affiliate. If someone clicks on the link you provided and buys the book, StackExchange gets some money for referring them.
  2. They have a "cunning plan": to facilitate actual ordering of books, the link geo-locates where the link-clicker is based (using the IP address) and links to the appropriate Amazon store for the locale. (So presumably someone in Germany would get the amazon.de address, while someone in the UK would get the amazon.co.uk address, when accessing the "same" link.) Cunning plan vetoed by Edmund. (See comments below.)
  3. Well, since your link to the review is especially for the purpose of supporting your assertion of there being a misprint, rather than as an actual book recommendation, I guess it is reasonable.
  • 2
    $\begingroup$ well, we used to do #2, but we don't any more because Amazon requires you to have a physical business location in every country that products are sold from. $\endgroup$ – Jeff Atwood Jul 16 '11 at 2:19
  • $\begingroup$ +1 For Baldrick! $\endgroup$ – Asaf Karagila Jul 16 '11 at 7:20
  • $\begingroup$ Thanks for the answer, Willie. Here's a link about the geolocating being discontinued: meta.stackexchange.com/questions/75594/…. (I was wondering why it wasn't working for me -- since I am in Germany :-) $\endgroup$ – joriki Jul 16 '11 at 12:14

The Amazon redirect links will no longer touch links that are not to the US .com site.




for historical context, but the existing community supported us affiliating all Amazon links in posts.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .