我使用 ASP.NET MVC 编写了一个站点,尽管此时它还没有完全 SEO 优化,但我认为这是一个好的开始。我发现当我使用 Google 的网站管理员工具来获取我的网站(以查看 GoogleBot 看到的内容)时,它会看到这个。
HTTP/1.1 200 OK
Cache-Control: public, max-age=1148
Content-Type: application/xhtml+xml; charset=utf-8
Expires: Mon, 18 Jan 2010 18:47:35 GMT
Last-Modified: Mon, 18 Jan 2010 17:07:35 GMT
Vary: *
Server: Microsoft-IIS/7.0
X-AspNetMvc-Version: 2.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Mon, 18 Jan 2010 18:28:26 GMT
Content-Length: 254
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
Index
</title>
</head>
<body>
</body>
</html>
显然这不是我的网站的样子。我不知道 Google 是从哪里获取 HTML 的。有人有答案和解决方案吗?有人遇到同样的问题吗?
提前致谢。