是否可以设置一个基本的HTML页面,在加载时重定向到另一个页面?
你可以使用一个META"重定向"。
<meta http-equiv="refresh" content="0; url=http://new.example.com/address" />
或JavaScript重定向(注意,不是所有的用户都启用了JavaScript,所以一定要为他们准备一个备份方案
<script language="javascript">
window.location = "http://new.example.com/address";
</script>
但我更推荐使用mod_rewrite,如果你有这样的选择。