// in links

    No urine to hide such beauty!

    I read a completely delightful thing on Comrade Bolk's blog - a description of the Common Internet Scheme Syntax. In short, if you want the page to be visible both via HTTPS and HTTP, but you have to use links with absolute paths on this page, do not write http or https in the links on this page - write "//"! The browser itself will substitute the current scheme, whether it be HTTP or HTTPS. For a more detailed description, I think it's worth reading the entry on his blog itself . PS if you want to plus, then plus Bolk ! Testcase UPD: Nigma and Google say such links will be indexed.

    UPD2: As Bolk rightly pointed out , RFC 3986 also describes this notation in the Relative Reference section (http://tools.ietf.org/html/rfc3986#section-4.2)

    Also popular now: