Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

when is http:// and www. not needed in the url typed in the address bar?

more options

I don't understand when it is necessary to add "http://" and when is it necessary to add "www." to the web address typed in the address bar? What does Firefox automatically fill in? Is there a way to configure what Firefox will autofill in the url?

I don't understand when it is necessary to add "http://" and when is it necessary to add "www." to the web address typed in the address bar? What does Firefox automatically fill in? Is there a way to configure what Firefox will autofill in the url?

Избрано решение

When you request an incomplete URL from a server, it usually sends back a redirect to the correct address. Same if you request an insecure (HTTP) page on a server that wants you to use a secure (HTTPS) connection. Over time, these little delays add up, so if you are setting up a bookmark, your home page, etc., go ahead and use the full URL so you can avoid the extra step.

Прочетете този отговор в контекста 👍 0

Всички отговори (2)

more options

The www.prefix is part of the domain of a website and if the domain without this prefix doesn't exist (a DNS look up fails) then Firefox will automatically try another look up with the www. prefix.
The http:// prefix is the default protocol and uses port 80 to connect to the server.

See Domain Guessing:

more options

Избрано решение

When you request an incomplete URL from a server, it usually sends back a redirect to the correct address. Same if you request an insecure (HTTP) page on a server that wants you to use a secure (HTTPS) connection. Over time, these little delays add up, so if you are setting up a bookmark, your home page, etc., go ahead and use the full URL so you can avoid the extra step.