如何在Wordpress中创建到本地网络服务器上文件的链接 [英] How to create a link in Wordpress to a file on an local network server

查看:70
本文介绍了如何在Wordpress中创建到本地网络服务器上文件的链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在工作站上安装了Wordpress,现在它已在内部用于公司博客.我想知道是否可以在我们的Intranet中创建到服务器的链接吗?

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?

例如要访问 Windows 中的服务器资源,我使用 Run->\server-name\folder\file.txt

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

我该如何在Firefox中创建一个指向Excel(或通常为HTML)中此类文件的链接?在WordPress中单击IE即可.

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.

谢谢

罗伊

推荐答案

选中此选项后,模仿UNC形式的正确方法(至少在我的情况下)是:

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>

等于

\\server-name\folder\file.txt

它可以在Firefox(3.6)和IE(8)中使用.

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

我们使用Windows XP,以防万一,所有工作站都位于Active Directory域中.

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

这篇关于如何在Wordpress中创建到本地网络服务器上文件的链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆