【關鍵詞行銷】如何透過 HTML 加入 SEO 關鍵字

如果你想要優化你網站的 SEO 關鍵字,你除了可以在我們後台的商品、分頁或部落格設定頁面下方的搜索引擎優化欄位裡放入關鍵詞之外,你也可以通過 HTML 編輯器的方式設定 SEO 關鍵字,以下為大家介紹兩種方法。
方法 1:
前往佈景主題 → 編輯原始碼 → theme.liquid → 於 <head> 與 </head> 之間加入以下代碼
<meta name="keywords" content="關鍵詞, 關鍵詞,">
只需要在 content= 後方加入你要的關鍵詞即可,例如:<meta name="keywords" content="shirt, shoe,">

方法 2:
除了以上放在 theme.liquid 文件裡,你還可以通過以下方式通過 HTML 加入 SEO 關鍵字
1. 商品頁面:
步驟一:前往商品管理 → 點擊商品 → 於功能欄裡點擊切換“原始碼”

步驟二: 貼上原始碼 <html><meta name="keywords" content="關鍵詞, 關鍵詞,"></html>
只需要在 content= 後方加入你要的關鍵詞即可,例如:<html><meta name="keywords" content="shirt, shoe,"></html>

步驟三: 再度點擊“原始碼”按鈕切換回正常顯示 → 點擊儲存

2. 分頁:
步驟一:前往銷售管道 → 品牌官網 → 所有分頁→ 選擇分頁 → 於功能欄裡點擊切換“原始碼”

步驟二:於最上方貼上 <html><meta name="keywords" content="關鍵詞, 關鍵詞,"></html>
只需要在 content= 後方加入你要的關鍵詞即可,例如:<meta name="keywords" content="shirt, shoe,">

步驟三: 再度點擊“原始碼”按鈕切換回正常顯示 → 點擊儲存

3. 部落格文章
步驟一:前往銷售管道 → 品牌官網 → 部落格文章 → 選擇文章 → 於功能欄裡點擊切換“原始碼”

步驟二:於最上方貼上 <html><meta name="keywords" content="關鍵詞, 關鍵詞,"></html>
只需要在 content= 後方加入你要的關鍵詞即可,例如:<meta name="keywords" content="shirt, shoe,">

步驟三: 再度點擊“原始碼”按鈕切換回正常顯示 → 點擊儲存

Updated on: 12/01/2024
感謝!