如何重定向网页_
How to redirect webspages_
所以基本上我想做到这一点,当用户加入 index.html 页面时,他们将自动转移到 home.html 页面。我尝试对此进行研究,但没有找到任何有用的信息,所以请有人帮助我。
您可以使用元标记来完成:
<head>
<meta http-equiv="refresh" content="0;url=yourUrl">
</head>
或者只是 javascript:
window.location.href=yourUrl
所以基本上我想做到这一点,当用户加入 index.html 页面时,他们将自动转移到 home.html 页面。我尝试对此进行研究,但没有找到任何有用的信息,所以请有人帮助我。
您可以使用元标记来完成:
<head>
<meta http-equiv="refresh" content="0;url=yourUrl">
</head>
或者只是 javascript:
window.location.href=yourUrl