That’s not true. It’s usually not there, and unlike “http(s)://”, the browser doesn’t assume it for you. www.example.com and example.com can be different websites, so a browser cannot assume the “www”.
Comment on Where has the "www." gone?
Kolanaki@pawb.social 2 months ago
It’s still there, you just don’t need it since it’s usually a given. Like how you didn’t need to actually type out “http://” back in the day.
dev_null@lemmy.ml 2 months ago
Kolanaki@pawb.social 2 months ago
If you just entered “reddit.com” into the address bar, it will automatically assume the www. in front. If there’s another valid address such as “old.reddit.com,” you need to enter the prefix in place of www or it will just go to www.reddit.com.
dev_null@lemmy.ml 2 months ago
No it won’t, it will go to “reddit.com”. Then Reddit will respond with a redirect to “www.reddit.com”. You can see that yourself in your browser’s developer console.
Osan@lemmy.world 2 months ago
That happens on the server side and how the owner of the site configured it. Some sites would redirect you to the www subdomain. If you go to “example.com”, it (example.com) would redirect you to “www.example.com”. The www part is not assumed and not automatically added by your browser as is the case “with http”. And you can in fact have your server redirect connections to something other than the www subdomain or not redirect at all, you can also not have a www subdomain at all, but these are usually considered bad practices for public facing sites.
Nibodhika@lemmy.world 2 months ago
This is wrong, it’s not there anymore, it used to be, but now lots of pages don’t even redirect it, they just simply don’t work.
jasoman@lemmy.world 2 months ago
I am upset only by “back in the day.”.
Kolanaki@pawb.social 2 months ago
THOUSANDS OF YEARS AGO…
achsonaja@lemmy.world 2 months ago
In the 1900s
Zier@fedia.io 2 months ago
aka, last decade.