我很难确定我们的 Asp.net 网站没有在搜索引擎中被索引的原因 - 整个网站。当我使用谷歌的“Fetch As Googlebot”工具时,它会抛出以下错误。我确保我的网站在禁用会话的情况下工作(即在 web.config 中设置 sessionMode="Off"),我在网上搜索了所有内容,但仍然没有运气。
这是我从 googlebot 得到的错误:
HTTP/1.1 302 Found
Date: Thu, 02 Dec 2010 23:05:49 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Location: /ErrorPage.aspx?aspxerrorpath=/Default.aspx
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 168
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="%2fErrorPage.aspx%3faspxerrorpath%3d%2fDefault.aspx">here</a>.</h2>
</body></html>