【发布时间】:2013-09-28 02:38:22
【问题描述】:
我正在编写一个小型应用程序扩展,包含一些帮助的唯一方法是通过本地静态 html 页面(如 c:\program files\help.htm)。我不能为此使用 PHP。有没有办法将这样的页面重定向到在线页面?
【问题讨论】:
标签: html http-status-code-301 http-redirect static-pages
我正在编写一个小型应用程序扩展,包含一些帮助的唯一方法是通过本地静态 html 页面(如 c:\program files\help.htm)。我不能为此使用 PHP。有没有办法将这样的页面重定向到在线页面?
【问题讨论】:
标签: html http-status-code-301 http-redirect static-pages
当然,您可以使用 html 元标记来指示浏览器重定向到另一个页面。把它放在你的<head>
<meta http-equiv="refresh" content="0; url=http://example.com/">
【讨论】: