redirect webpage

2007-01-28 6:04 pm
Hi, does anyone know how to redirect webpage?
Eg.: people go to webpage A, then it will be redirected to webpage B.
Many Thanks

回答 (2)

2007-01-28 8:46 pm
✔ 最佳答案
There are many method to do the page redirect. Here are the method for your reference.

Method 1: Add the meta content in the index page as below
<meta http-equiv="refresh" content="N; URL=other-web-address">


Method 2: Use Javascript. Add the following script and running on page load event.
<script language="javascript" type="text/javascript">
<!--
window.location="http://www.pa.msu.edu/services/";
// -->
</script>
2007-01-29 8:17 am
3cc 轉址服務方便
http://3cc.cc/
參考: http://3cc.cc/


收錄日期: 2021-04-29 18:59:18
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20070128000051KK00806

檢視 Wayback Machine 備份