Search code examples
wordpresslocalhostintranet

How to create a link in Wordpress to a file on an local network server


I installed Wordpress on my station and its now being used internally for corporate blogging. I wanted to know if there is a way to create links to servers in our intranet?

For example to access a server resource in windows I use Run->\server-name\folder\file.txt

How can I create a link to such file in Excel (or generally in HTML) that will be opened by Firefox & IE when clicked in Wordpress.

Thanks,

Roy


Solution

  • After checking this, the right way to mimic a UNC form (at least in my case) was:

    <a href="file://///server-name/folder/file.txt">file</a>
    

    which is equal to

    \\server-name\folder\file.txt
    

    It works in Firefox (3.6) and IE (8).

    We use Windows XP, all stations are in an Active Directory domain, in case it matters.