不要再使用元刷新和javascript跳转方法来实现重定向
从Google网站管理员工具的support forum了解到,Google强烈建议网站管理员不要再网站中使用元刷新与Javascript重定向网站。
如果你想改变你的网址,不要使用上面两种方法,而是用一个正常的301重定向,虽然并没有说是否会对依然使用上面两种重定向的网站进行处理,不过还是小心为好。
原帖:http://www.google.com/support/forum/p/Webmasters/thread?tid=0b43cac51c5256a4&hl=en
480)this.width=480;" border="0" alt="不要再使用元刷新和javascript跳转方法来实现重定向" />
元刷新:
<meta HTTP-EQUIV="REFRESH" content="0; url=http://blog.fengyiyi.com">
javascript跳转:
<SCRIPT language="JavaScript">
<!--
function getgoing()
{
top.location="http://blog.fengyiyi.com";
}
if (top.frames.length > 0)
{
setTimeout('getgoing()',10);
}
//-->
</SCRIPT>
<!--
function getgoing()
{
top.location="http://blog.fengyiyi.com";
}
if (top.frames.length > 0)
{
setTimeout('getgoing()',10);
}
//-->
</SCRIPT>