[英]Google search engine displaying site title as “Web”
The title displays properly in all other search engines, it only does this with Google's search: 标题在所有其他搜索引擎中均能正确显示,仅对Google的搜索即可:
The site (www.ClearspanInc.com) has been up for awhile, and has had more than enough time to be crawled. 该网站(www.ClearspanInc.com)已经建立了一段时间,并且有足够的时间来进行爬网。 We are using ASP.net.
我们正在使用ASP.net。
<!DOCTYPE html>
<html lang="en">
<head id="Head1" runat="server">
<meta charset="utf-8" />
<title>******* - <%: Page.Title %></title>
<asp:PlaceHolder ID="PlaceHolder1" runat="server">
<%: Scripts.Render("~/bundles/modernizr") %>
</asp:PlaceHolder>
<head>
<title>My Title</title>
</head>
Try this inside the @Page: 在@Page中尝试以下操作:
<%@ Page Title="Home Page" %>
Or inside the Page_PreRender you can add Page.Title = ""; 或者,您可以在Page_PreRender内部添加Page.Title =“”;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.