DIV CSS 佈局教程網

如何讓Google更快收錄你的新站
編輯:谷歌搜索算法     

我們都知道 Google 對新站的態度:許多新站都難以被 Google 收錄。對站長而言,這份感受尤其深刻。在國外,網路管理者把这种现象稱為「Sandbox」,這裡稱之為「沙盒」。

眾所周知,只有當 Google 把你的站點列入索引、或將它定義為「友善」之後,你站點的關鍵詞才會具備競爭力。顯然,若你的站點是新站、關鍵詞又沒有 Rank,那就只能等 Google 爬上門來——而這段等待,可能用上幾個月,甚至幾年。

「Google 怎麼不收錄我?」這個問題實在太常見了。經過反覆試驗與研究,這裡提供一個能讓新站更快被 Google 收錄的方法:

首先,你有一個新站(這是前提),假設域名為 newdomain.com,內容為 content。

其次,你有一個老站點——這裡指的不是年代多久遠,而是關鍵在於已被 Google 友善收錄。為它建立一個子域名,命名為 content.olddomain.com。

接著,把 content.olddomain.com 與 content 內容關聯起來,做成一個站點,提交給 Google 並讓它收錄。(眾所周知,已被 Google 收錄過的域名,其子域名通常也會很快被收錄。)

收錄之後,就可以把 newdomain.com 指向 content 內容。

最後,也是必須要做的一步:使用 301 永久重定向,把 content.olddomain.com 重定向到 newdomain.com。

301 重定向程式碼範例

ASP:

Response.Status="301 Moved Permanently"
Response.AddHeader "Location", "https://www.teched.cn/"
Response.End

PHP:

header("HTTP/1.1 301 Moved Permanently");
header("Location:https://www.teched.cn/");
exit();

ASP.NET:

<script runat="server">
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","https://www.teched.cn/");
}
</script>

XML學習教程| jQuery入門知識| AJAX入門| Dreamweaver教程| Fireworks入門知識| SEO技巧| SEO優化集錦|
Copyright © DIV+CSS佈局教程網 All Rights Reserved