What is this about? - href="/////

by Trivum
1 replies
I have recently seen some html link code that looked like this:

<a href="/////www.the-domain.com">

It seems to link to the domain without problems, but what is the ///// about?
  • Profile picture of the author orvn
    Three or more slashes automatically engages a browsers' file (local disk) protocol.

    Typing ////users/me/desktop automatically takes me to
    file:///users/me/desktop which is the directory for my desktop on my local machine.

    I don't know or understand how it's sending you to the correct HTTP address.
    Perhaps you're using something like Firefox's URL fixer or something of that like.

    Regardless, someone made a mistake when they were coding their site on their local machine.
    Signature
    Orun Bhuiyan[@orvn] [linkedin] See what I've been doing lately by visiting my marketing agency's site. SEOcial specializes in content marketing and integrated optimization. We create conversions for businesses by gracefully connecting the realms of design, development and marketing.

    {{ DiscussionBoard.errors[3015294].message }}

Trending Topics