Redirect URL屏蔽不起作用的iframe重定向
我试图通过我的html页面index.html重定向我的子域,我不想让用户看到我在重定向他们,所以我想我可以使用带有URL屏蔽的iframe重定向 但它不能正常工作。你们能修好这个吗。。这是代码Redirect URL屏蔽不起作用的iframe重定向,redirect,iframe,url-masking,Redirect,Iframe,Url Masking,我试图通过我的html页面index.html重定向我的子域,我不想让用户看到我在重定向他们,所以我想我可以使用带有URL屏蔽的iframe重定向 但它不能正常工作。你们能修好这个吗。。这是代码 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <html> <head> <title&g
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>WebMail</title>
<meta name="description" content="Mail">
<meta name="keywords" content="mail">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-23441223-3']);
_gaq.push(['_setDomainName', 'none']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);
(function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<frameset rows="100%">
<frameset cols="100%">
<frame src="http://google.com" frameborder="0" scrolling="no">
</frameset>
</frameset>
</html>
网络邮局
var _gaq=_gaq | |[];
_gaq.push([''设置帐户','UA-23441223-3']);
_gaq.push([''u setDomainName','none']);
_gaq.push([''设置Allowlinker',true]);
_gaq.push([''u trackPageview']);
(function(){var ga=document.createElement('script');ga.type='text/javascript';ga.async=true;
ga.src=('https:'==document.location.protocol?'https://ssl' : 'http://www“)+”.google analytics.com/ga.js';
var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(ga,s);
})();
请告诉我是否还有其他简单的步骤,如使用.htaccess等。
<body style="height:100%;margin:0;padding:0;">
<iframe width=100% height=100% src="http://google.com"></iframe>
试试看,祝你好运