[WordPress] 外掛分享: Hikari Category Permalink

首頁外掛目錄 › Hikari Category Permalink
300+
安裝啟用
★★★★★
5/5 分(5 則評價)
5633 天前
最後更新
問題解決
WordPress 3.0+ v1.00.08 上架:2010-06-22

內容簡介

WordPress 3.0 帶有一個新的篩選器,讓我們可以自定義每個永久連結結構標籤的用法,而不是使用 WordPress 預設的方法。

其中一個永久連結結構標籤是 %category%。預設情況下,WordPress 總是使用最低 ID 的分類,使 %category% 不太適用於 SEO 最佳化。

Hikari Category Permalink 允許文章作者選擇每篇文章的分類中,哪個分類用於該文章永久連結。這大大增加了永久連結的靈活性和實用性。

這個外掛是 Dmytro 的 sCategory Permalink 的分支。它具有所有原始功能,與原始選項兼容,同時更穩定、簡單,還修復了 2 個常見問題。

功能

您可以為每篇文章單獨選擇使用哪個分類作為其 %category% 永久連結。
沒有設置用於永久連結的分類的文章,行為方式與 WordPress 預設相同(目前是使用 ID 最低的分類)
有設置分類的文章將使用該分類
在文章編輯頁面上,您可以設置文章的分類,同時選擇在永久連結中要使用哪個分類
沒有進行任何改寫規則的更改,使外掛更加簡單且沒有錯誤
如果您已經使用了 sCategory Permalink,可以安全地停用它,然後替換為 Hikari Category Permalink,所有分類的永久連結都會使用

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.00.08) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Hikari Category Permalink」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

WordPress 3.0 comes with a new filter that lets us customize what is used for each permalink structure tag, other than WordPress default.
One of these permalink structure tags is %category%. By default, WordPress always use the category with lowest ID, making %category% impractical for SEO optimization.
Hikari Category Permalink allows post authors to choose among each post’s categories, which of them is used in that post permalink, giving much more flexibility and power to permalinks.
This plugin is a fork of Dmytro’s sCategory Permalink. It has all original features and is compatible with original options, while being more stable and simple, and also fixes 2 recurring bugs.
Features

You can choose for each post separately, which category is used in its %category% permalink.
Posts without a category set to be used in permalink behave as WordPress default, (which currently is) the one with lowest ID is used
Posts with a category set have it used
In post edit page, where you set the post’s categories, there’s a new feature allowing you to choose which category will be used in permalink
No rewrite rules tweaks are done, making the plugin much simpler and bug free
If you already used sCategory Permalink, you can safely deactivate it and replace by Hikari Category Permalink, all your category permalinks will be used

延伸相關外掛

文章
Filter
Apply Filters
Mastodon