10+
安裝啟用
★★★☆☆
3.7/5 分(3 則評價)
3569 天前
最後更新
—
問題解決
WordPress 4.1+ v1.0 上架:2016-06-08
內容簡介
已知的一個 (SEO) 問題是如果您在未填入標題的情況下儲存草稿,則 post_name 或 slug 將立即保存為文章 ID。
稍後,當您完成文章並填入標題時,slug 不會更改,即使您的 slug 偏好設定為 %postname% 也是如此。
因此,如果我們在發布文章之前加入以下功能來重新編寫 slug,會怎麼樣呢?
外掛標籤
開發者團隊
⬇ 下載最新版 (v1.0) 或搜尋安裝
① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Rewrite slug before publishing a post」→ 直接安裝(推薦)
② 後台搜尋「Rewrite slug before publishing a post」→ 直接安裝(推薦)
原文外掛簡介
Is a known (SEO) issue that if You save a draft post without title, the post_name or slug is immediately saved with the post id.
Later, when You finish your post and put some title, the slug doesn’t change; neither also when your slug preference is %postname%.
So, what if we include the following function to rewrite the slug before publishing the post?
