SEO

Google 表示:連結到 http 的網址並不會影響 SEO

稍早之前,有人在 Twitter 上向 Google 的 John Mueller 詢問到,當一個 HTTPS 的網站,其內容因需要而鏈接到 HTTP 的網址,此時該網站會因此受到懲罰嗎?

@JohnMu Can it be problematic if our https site links out to non-https external sources in our content (or they were http at the time but 301’d to https eventually, which we didn’t update on our end?)— Vlad Rappoport (@vladrpt) February 24, 2020

John Mueller 表示,站在 SEO 的觀點來看,鏈接到 HTTP 而不是 HTTPS 的 URL 網址是沒問題的,當你外連到不安全的頁面,Google 不會對你的網站進行懲罰:

No, that’s fine from an SEO point of view. From a security POV linking directly to the HTTPS version when it exists is better, but sometimes HSTS helps. For embedding (images, iframes), you need to use HTTPS.— 🍌 John 🍌 (@JohnMu) February 24, 2020

不過,John Mueller 也表示,從安全的角度來看,直接連結到 HTTPS 的版本是較佳的選項(如果有的話),或是連結到 HTTP 版本,再經由 HSTS 重定向至 HTTPS 也是沒問題的。但如果是要嵌入圖片或是 iframes,那麼就必須使用 HTTPS。

從上述的觀點可以得知,過去的文章內容大多的外部連結資源都是指向至 HTTP 版本,我們不需要因為 HTTPS 而將過去所有的文章內容都重新修改。

如果原本使用 HTTP 的外部連結已經有了 HTTPS 版本,那麼通常交給 HSTS 就會將網址自動跳轉至 HTTPS 版本;如果原本使用 HTTP 的外部連結依然沒有提供 HTTPS 版本,那麼也沒關係,對你的網站 SEO 排名是沒有任何影響的。

但我們仍建議,若之後在撰寫新文章時,如果外部連結有 HTTPS 版本,那麼還是會建議直接指向至 HTTPS URL,且如果你需要嵌入圖片、iframe…等等外部資源,則一定要使用 HTTPS!

Author

Sliven

Leave a comment

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *