网页自动转址
我的首页檔名是index.htm ,并用frame把index.php 加入到index.htm内
我不想用户看到绝对路径
我希望用户输www.xxx.com/index.php或www.xxx.com/index.php?id=123&s=xxx...的时候
自动转回www.xxx.com
能做到吗?
Index.htm内容
<frameset framespacing="0" border="0" rows="*" frameborder="0">
<frame name="main" src="http://www.xxx.com/index.php" scrolling="yes">
<noframes>
<body onmouseover="self.status='';">
</body>
</noframes>
</frameset>
</html>