- 這個OK,用JS轉址,感謝vivian
<script>window.location.href = 'https://www.ccc.ooo';</script> - 這個危險,CMS的可能會進不去修改程式碼
轉址(感謝邱資翔分享):<meta http-equiv="refresh" content="0;url=https://google.com" /> - 不要有快取(感謝stackOverflow),裡面有推荐是使用
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
沒有留言:
張貼留言
注意:只有此網誌的成員可以留言。