Hacker News new | ask | show | jobs
by cryptos 2161 days ago
Fair point. A compromise could a somewhat shorter version of the original link:

    https://amazon.com/Fundamentals-Software-Architecture/dp/B0849MPK73/
This includes the main title of the book + ID (this variant also works).
2 comments

There is also an argument for your original version with just the ID regarding unchanging URL's.

The Amazon URL that includes the title should be fairly stable, but if you look at e.g. a Discourse forum URL you see it contains the topic title, which can change at any time and then the URL changes with it. The old URL still works, because Discourse redirects, but this can't be taken for granted.

So Discourse then has these URL's referring to the same topic:

    - https://forum.example.com/t/my-title/12345
    - https://forum.example.com/t/my-new-title/12345
    - https://forum.example.com/t/12345
And using the last version may be best to use when linking to the topic from somewhere else.
> https://amazon.com/Fundamentals-Software-Architecture/dp/B08...

But... this link works. Everything after /B0849MPK73/ is because you reached that product page through search, and it stores the search term in the URL. You can remove it and the site works just fine.