8

我正在编写一个小型应用程序扩展,包含一些帮助的唯一方法是通过本地静态 html 页面(如c:\program files\help.htm)。我不能为此使用 PHP。有没有办法将这样的页面重定向到在线页面?

4

1 回答 1

13

当然,您可以使用 html 元标记来指示浏览器重定向到另一个页面。把这个放在你的<head>

<meta http-equiv="refresh" content="0; url=http://example.com/"> 

相关问题:如何从 .html 页面重定向?

于 2013-09-23T08:55:15.083 回答