Short URLs: Why and How
61–70 of 172 posts
Re: Short URLs: Why and How
#62Earlier quoted context omitted.
You can't determine the file system structure from the URLs. The can map directly, but they don't have to Also... http?
Why not http? Secure connections add overhead. It's not like this site contains any secrets?
The man-in-the-middle attack potential other replies have mentioned is possible, but my reason is far simpler. Defaulting to https for everything removes the cognitive load of having to decide whether to trust a website and pushes users to believe everything should be secure by default. The environmental impact is, in my opinion, worth it.
Re: Short URLs: Why and How
#63Earlier quoted context omitted.
"items" isn't very useful. Have either: example.com/ or, if categories exist: example.com/ /
A poor exemple doesn't make for a poor argument. I like hierarchical URLs because they allow me to try and find more content by stripping the end of the URL fo see what is up the hierarchy.
Now there are other reasons for hierarchal urls mentioned in the thread, like providing better semantic meaning when representing content that is already hierarchal. Though I find that that is rarely the case. For example, you might think to represent blog posts like myblog.com/articles/. But you could also do it like myblog.com//title (eg myblog.com/2017/why-choose-short-urls). I've seen both formats, and both are valid to a certain degree. So choosing one is a bit arbitrary. But if you allow both formats, that just pushes the ambiguity onto the user. For example if the user wants to bookmark the article, which url do they bookmark?
From my experience, data follows graph structures, so trying to force a hierarchal structure and doing things like encoding paths in urls, feels too arbitrary and adds unnecessary ambiguity.
Re: Short URLs: Why and How
#64Earlier quoted context omitted.
I often find articles that don't have the date at all, and the information turns out to be really out of date. Is hiding the date some kind of SEO trend?
Rumor has it that Google penalizes content with a date older than a year.
Yeah, maybe if you're SEOing for a content farm bot, but if you have actual content, that you and other people care about, add the fsking date.
Re: Short URLs: Why and How
#65Re: Short URLs: Why and How
#66> Go to sive.rs/ff for my talk about the first follower I absolutely will not. At least with known URL shorteners I know that’s what I’m getting and can inspect further. When I get links like this I assume I’m getting spam or malware. Almost all of the time it’s spam.
URLs, shortened or not, can send you anywhere. You don't know where they'll take you (unless you control them).
Re: Short URLs: Why and How
#67Re: Short URLs: Why and How
#68> Go to sive.rs/ff for my talk about the first follower I absolutely will not. At least with known URL shorteners I know that’s what I’m getting and can inspect further. When I get links like this I assume I’m getting spam or malware. Almost all of the time it’s spam.
Downvote all you want and enjoy your craft URLs, may they all be safe for aol of you.
Re: Short URLs: Why and How
#69The "They’re enough" is ofcourse a little silly. Yes there are thousands of combinations if your short url contains any character. But his example is about words and that will leave you with less combinations. But I like the essence of the post.
Re: Short URLs: Why and How
#70Regarding the example of instead of hi.html just name the file hi and use the nginx Config “default_type text/html” —- is there an equivalent to this for other webservers (Eg Caddy etc) ? Perhaps it would be cleaner to just create a directory called hi with and index.html?