SEO 技術相關起手式
robots.txt
User-agent: *
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: */feed/
Disallow: /trackback/
Disallow: /wp-login.php
Disallow: /wp-register.php
Allow: /wp-admin/admin-ajax.php
Allow: /wp-includes/js/
Allow: /wp-includes/images/
Sitemap:https://xxxxx.xxx/sitemap_index.xml
SSL
使用 Let's Encrypt 即可
網址代稱設定
不要用中文
網址長度不要超過 32 字元
可使用『-』,不要用『_ 』(但這兩個我都不喜歡)
建議放個英文關鍵字或相關描述
不要有空格或奇怪的符號
不要有日期
目錄層數抓3層內
針對季節性活動,可以用各自對應的固定網址
網站地圖
使用:RankMath https://rankmath.com/kb/configure-sitemaps/
寫作相關
標題
可以寫約 30 字
<title>SEO 技術相關起手式 - 用 WordPress 做點事 - 自媒體網站筆記</title>
現在 Google 會自動改文章標題,建議參考 『影響標題連結的最佳做法』 (官方說的參考看看)
中繼說明
可以寫約 70 字
不要全部塞滿關鍵字
建議每一頁都有自己的中繼說明
會顯示在搜尋結果頁,所以適合寫讓使用者看了會想點短文案
<meta name="description" content="使用者看了會想點擊"/>
圖片
建議加上 Alt Tag 替代文字,當圖片有問題時,瀏覽器會顯示出替代文字,協助使用者理解
圖片檔名也可以放關鍵字(不要亂塞),用詞不要堆疊重複
檔案不要太大,我自己抓300kb,尺寸建議寬度 1000px 以上,高度不要奇怪
常用比例:16:9 、 4:3 、 1:1
jpg 為主
主標題、副標題
一篇文章一次H1就好
副標用 H2~H6(數字小的擺在顯眼的位置)
側邊欄、頁尾的小工具標題,這裡的 H Tag 也要留意,通常我會放 H4、H5
<h1>主標題</h1> <h2>副標題</h2>
不用特別寫 Meta Keyword (要寫也可以) https://developers.google.com/search/blog/2009/09/google-does-not-use-keywords-meta-tag
可以加 FAQ 結構化資料,但搜尋結果頁只會顯示兩筆,要精不要多
內文建議 700-1000 字,約 3-4 段文章
至少 1 張圖片,可以放 YT 影片進來
導覽標記
使用:RankMath
https://rankmath.com/kb/breadcrumbs/
結構化資料
使用:RankMath
https://rankmath.com/kb/rich-snippets/
複合式搜尋結果檢測工具:https://search.google.com/test/rich-results
社群分享
Social Sharing Plugin – Sassy Social Share
使用:RankMath
OG 語法(分享到社群媒體上)
<link rel="canonical" href="https://fullfood.tw/fruit-mille-crepe-cake/" />
<meta property="og:locale" content="zh_TW" />
<meta property="og:type" content="article" />
<meta property="og:title" content="法式水果千層蛋糕 Fruit Mille Crepe Cake (ミルクレープ) - 人火食" />
<meta property="og:description" content="家裡有了可以定溫的爐連烤,再次挑戰千層蛋糕,找到一個據說是法國PH大師的奶醬食譜。千層蛋糕界的愛馬仕 Lady M 是20層,是有點扁扁的蛋糕,這次試著做了40層。" />
<meta property="og:url" content="https://fullfood.tw/fruit-mille-crepe-cake/" />
<meta property="og:site_name" content="人火食" />
<meta property="article:author" content="https://www.facebook.com/fullfoodtw/" />
<meta property="article:tag" content="平底鍋料理" />
<meta property="article:tag" content="手作甜點" />
<meta property="article:section" content="西點蛋糕試做" />
<meta property="og:updated_time" content="2021-09-30T10:20:25+08:00" />
<meta property="og:image" content="https://i0.wp.com/fullfood.tw/wp-content/uploads/2021/09/mille-crepe-feat-slice.jpg" />
<meta property="og:image:secure_url" content="https://i0.wp.com/fullfood.tw/wp-content/uploads/2021/09/mille-crepe-feat-slice.jpg" />
<meta property="og:image:width" content="1920" />
<meta property="og:image:height" content="1280" />
<meta property="og:image:alt" content="mille crepe - feat slice" />
<meta property="og:image:type" content="image/jpeg" />
常用工具
FB debug (檢查 OG image / title / description )
Page Poker (檢查 Line )
其它
關於 SEO 有關的課程,推薦:孟令強 老師的課程
Last updated