Here’s a really interesting bit about how you can omit the protocol part of a web address in your web pages. The predominant belief is that an HTTP:// or an HTTPS:// has got to be prefixed to a URL or it won’t work, truth is, it will. Try the following link:
View the source of this entry and you’ll see the link code:
<p><a href="//www.kavoir.com/"></a>Click Me!</p>
There is no HTTP nor HTTPS protocol at the beginning of the URL. Yet, it’s working properly. Browsers will automatically use the same protocol as that of the current URL. It’s also working for other URL sources in HTML such as images or JavaScript scripts. Wherever you need to specify a URL.
This is very useful when your site is using SSL thus all the URLs start with HTTPS://. Because this approach lets the browser to automatically use the current protocol, you will not be blamed for using HTTP:// URLs on an HTTPS page and causing the notorious unsafe content warning to the users. It will also be a breeze to switch between the HTTP version and HTTPS version of your site. It’s totally automatic.
However, I don’t know what this would do in terms of SEO and how Google sees any URLs without the protocol part. Learn more about what the hell HTTP is.
You should also read:
- HTTP Explained: What Does HTTP Stand For, What is HTTP Meaning and HTTP’s Definition?
- Best way to hide and cloak your affiliate links?
- HTML: Make a Page Refresh Every xx Seconds
- Check broken links on your site with this free tool
- Linux wget Command to Download and Mirror a Website in Static Local Copy


Facebook
Twitter
Google Plus