【发布时间】:2015-03-02 23:32:14
【问题描述】:
我搜索了一种将“C:\inetpub\wwwroot”中的 index.htm 页面重定向到我的 aspx 登录页面的方法。我在 index.htm 文件中添加了这一行:
<meta http-equiv="refresh" content="0; url=http://hfp.com/login.aspx" />
它在 chrome 中工作,但是当我用 IE 打开它时显示一个空白页面。为什么 IE 不重定向它以及如何使它成为可能?
【问题讨论】:
-
语法问题可能吗?试试
content="0;URL='http://hfp.com/login.aspx'" -
也可以尝试使用
URL大写。
标签: html google-chrome internet-explorer redirect meta