会用下面的代码,给我一些SEO问题吗?当我开始使用它时,我的 Google 排名下降了。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="refresh" content="0;document.location" />
</head>
<body>
<p></p>
<!--?xml version="1.0" encoding="UTF-8"?-->
<p><link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /></p>
<title></title>
<script language="javascript" type="text/javascript">// <![CDATA[
if (screen.width <= 699) {
document.location = "http://mobilesite";
}
else{
document.location.href = "http://desktopsite"
}
// ]]></script>
</body>
</html>