Question

i was wondering, when shortening urls is it better to short them using http:// or https:// if site supports https or do not use any of them?

Since short urls are external links, i was wondering which benefits and problems will cause if people shares links who points to site.com or http://site.com or https://site.com

Cause for example http:// works if you do not have https, but https works only if you have https and if one day you want to remove htttps?

Can you explain me the best practice about if use or not protocol declaration in shorten urls?

Was it helpful?

Solution

Https is for Secure connections which uses a set of keys in order to encrypt data. Https uses port 443 while http uses the standard port which is 80. when you type in a site your browser automatically uses port 80, this is why https wont work if you forget it, because it is on port 443 not port 80. When shortening url I recommend that you shorten them using http.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top