Can I suppress or enforce URLs to be prefaced with http:// in ALL browsers?

Posted by Ryan Dunlap on Stack Overflow See other posts from Stack Overflow or by Ryan Dunlap
Published on 2011-11-19T17:43:38Z Indexed on 2011/11/19 17:50 UTC
Read the original article Hit count: 127

I want to ensure that regardless of what browser a user is in, they all see the EXACT same characters in the URL bar.

Most browsers show the preceding protocol type in the URL bar. However, Chrome for example truncates http:// (not sure about https) and starts with the domain name, ie:

Chrome: stackoverflow.com/questions/ask
Safari: http://stackoverflow.com/questions/ask

So, is there a way to either suppress the http:// in all browsers, or even enforce it in all browsers? Preferably suppress.

© Stack Overflow or respective owner

Related posts about php

Related posts about web-development