我有一個 html 網站,想將 mbcv.com 重定向到 mbcv.com/index.html,所以當任何人鍵入 mbcv.com 時,它會重新定向到 mbcv.com/index.html 我添加了 js 代碼但是當頁面正在加載它正在加載,無限時間刷新不會停止。這些代碼對我不起作用 <meta http-equiv="refresh" content="0; URL="/index.html" /> <script type="text/javascript>"> window.location = "/index.html"; </script>
面對 html 站點上的 url 重定向問題
GCT1015
2023-02-17 16:24:27