我可以将本地静态html页面重定向到在线资源吗?

Rub*_*ert 4 html static-pages http-redirect http-status-code-301

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

Jan*_*rgs 7

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

<meta http-equiv="refresh" content="0; url=http://example.com/"> 
Run Code Online (Sandbox Code Playgroud)

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