How to Immediately (automatically) Link to Another Page
This question already has an answer here:
尝试这个:
<meta http-equiv="Refresh" content="0;url='http://rush.rocksolidpromotion.com/rush/home.html'" />
<script>window.location.replace('http://rush.rocksolidpromotion.com/rush/home.html')</script>
Place this in the head
tag:
<meta http-equiv="refresh" content="0;URL=rush.rocksolidpromotion.com/rush/home.html">
You should also use JavaScript in case the browser ignores content 0
. Also a header redirect if you're on a php page.
上一篇: 无需通知即可在HTML中重定向
下一篇: 如何立即(自动)链接到另一页