搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.