Why is https//www.google.com/ getting redirected to http://www.https.com/www.google.com

13,497

Solution 1

You need the : otherwise your browser will do funny things. It may think you forgot to enter the .com part of a URL, or it might submit the words to a search engine.

The basic format of a URL is as follows:

{protocol}://{address}

and you need the colon in there for it to be a standard URL.

Solution 2

Well if you don't put in the " : " then you aren't fully qualifying the address and because of this your web browser has to take it's best guess.

(protocol)://(prefix).(domain)

All websites follow the same order as above. All of which needs to be completed for the address to be found correctly.

otherwise google etc will have to guess what you're trying to reach.

Share:
13,497

Related videos on Youtube

Vishnu Ks
Author by

Vishnu Ks

Updated on September 18, 2022

Comments

  • Vishnu Ks
    Vishnu Ks over 1 year

    Every https domain name when entered without ":" is getting redirected to www.https.com. Why?

    Try this https//www.stackoverflow.com/ https//www.facebook.com https//www.google.com

    PS: www.https.com is pointing to http://www.homeimprovement.com/

    • Valinho
      Valinho about 9 years
      Well actually, when you miss a : the dns server of your provider can't resolve the url and you get redirected to a site defined by your provider.
    • Vishnu Ks
      Vishnu Ks about 9 years
      Are you getting the same redirect to homeimprovement.com ?
    • Valinho
      Valinho about 9 years
      Nope, this should differ from provider to provider.
  • Vishnu Ks
    Vishnu Ks about 9 years
    I tried wget with the same url. It is also forwarding the domain to the same address.
  • LawrenceC
    LawrenceC about 9 years
    If you didn't specify the colon with wget either, that's not surprising. You need the colon.