861
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 16 Nov 2026
861 points (99.5% liked)
Technology
89921 readers
5758 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
founded 3 years ago
MODERATORS
This was interesting to read. As a noob at this stuff, how do I know where to cut off links to strip them without deleting too much? Is it different for every website?
If you're on an Android device, you can try an app such as URLCheck. A lot of times, it's anything after the question mark, but that's not always true. You can try deleting part of the url then see if the stripped down part still works, and you'll start to see the patterns.
The arguments (the various codes and characters that appear after the page address) in a given URL are different for every website.
But on Amazon, every link looks something like this (I made this up, these are not valid links):
https://www.amazon.com/item-listing-or-name/dp/ABCDE12345?blahblahblahblahEverything including and after that first question mark can go. All you really need is this part, the basic page address:
https://www.amazon.com/item-listing-or-name/dp/ABCDE12345Again, that's only for Amazon. Arguments can contain all kinds of information, not just trackers, and some pages won't open without them. The only way to know on any site is to guess: strip out all the arguments (the bits after the question mark) and simply try the new, stripped link. If it works, it works.
you don't even need the 'item-listing-or-name' after the domain name, just /dp/asin
amazon.com/dp/B07THZYFB4
the asin doesn't need to be in CAPS either,