許多網站會碰到一個類似的網址問題, 就是網址前面有無WWW都可以連到同樣的站台, 更有些網站使用多個網址指向同一個站台, 當這樣的狀況產生時對於網頁的評分,backlink的計算及SERP的結果到底有哪些影響呢?
有些專家指出, 若您有兩個網址(如www.dns.com.tw與dns.com.tw)都指向同一個網站, 而其PR各為5與4的話, 如果您把這兩個整合為一, 將可獲得一個PR6的站台…真的假的?
我們實際測試的結果, 答案是否定的, 但是 … 裡面還有許多值得思考的地方
不同網址指向同一個網站, 有幾種情況:
(1)使用DNS Server的A Record或CNAME來指向同一個Server(IP), 並在Apache或IIS設定允許該URL(或沒設定禁止, 當然太開放會引發另外問題, 他文再談)
如果該Server有www.dns.com.tw/blog, 則也有dns.com.tw/blog, 或有www.another-domain-name.com/blog
(2)使用DNS Cloaking Redirect來轉址
當使用虛擬主機與third party DNS Service時, 可能就無法使用DNS Server的A Record或CNAME來指向同一個Server(IP), 這時候DNS Cloaking Redirect就可能被使用
(3)使用302 Redirect與301 Redirect, 及meta refresh
302 Redirect又有on-domain/off-domain之分
所謂on-domain 302 Redirect例如將www.dns.com.tw/prog.php?sessionid=5553666717176266362671轉到www.dns.com.tw/prog1, 或反向轉
off-domain 302 Redirect則是將www.dns.com.tw/prog.php?sessionid=5553666717176266362671轉到www.another-domain-name.com, 或反向轉
301 Redirect與302 Redirect的分別是: 301 Redirect為”永久轉址”, 302 Redirect為”暫時轉址”, 兩者對使用者沒有差別, 但是對於search engine的差別是, 被301 Redirect的page就不被index
如http://athletics.mlb.com被302 Redirect到http://oakland.athletics.mlb.com/index.jsp?c_id=oak, 如果您使用”oakland a’s”當關鍵字在Google Search, 會看到athletics.mlb.com
根據Yahoo與Google的文件, 說明基本原則如下
Yahoo在處理301,302,meta refresh上, 其處理方式為:
– 使用301, 302由domain A->domain B, 則index domain B
– 使用302由domain A URL->domain A其他URL, 則index前者
– 使用301由domain A URL->domain A其他URL, 則index較上層的URL
– Yahoo處理meta refresh為301 redirect
而Google在處理301,302,meta refresh上, 其處理方式為:
– Google處理meta refresh為302 redirect
– 使用302 redirect, 則index source, 也就是index來源頁
– 使用301 redirect, 則index destination, 也就是index目的頁
但實際上, Google可能會處理off-domain 302 Redirect與301 Redirect為相同, 也就是URL A->URL B的話, URL A就不index, 而以URL B為目標
因此這麼多的狀況下, PR與backlink的轉移就不是redirect就會轉嫁, 不同的search engine在處理這些問題上也有不同的作法, 所以PR5+PR4=PR6? 答案是Yes and NO, 必須以長期與短期效益來仔細分析才能獲得最佳狀態
參考工具: Redirect Checker
自動引用通知: Google Webmaster Tools 增加重複內容警示訊息 « Seo搜尋引擎優化 « 台灣搜尋引擎優化與行銷研究院:SEO:SEM
自動引用通知: Google SEO FAQ:301 redirect « Seo搜尋引擎優化 « 台灣搜尋引擎優化與行銷研究院:SEO:SEM