[WordPress] 外掛分享: Shorten Sub-category’s Link

首頁外掛目錄 › Shorten Sub-category's Link
WordPress 外掛 Shorten Sub-category's Link 的封面圖片
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
3104 天前
最後更新
問題解決
WordPress 3.0+ v1.2 上架:2015-08-19

內容簡介

你的網站有時會有多個類別和子類別,如果一個類別有2個子類別的話還好,但若超過三個子類別,會變得不好,這個簡單的外掛將會幫助你縮短他們,讓Permalink更加美觀。

深度超過3層的永久鏈接不太友善,尤其對於Google來說可能不會太關注URL的深度,但對於Bing或雅虎等其他搜索引擎的搜索可能會有影響。此外,此外掛可幫助你縮短深層次的子目錄鏈接!

例如:
//domain.com/category-parent/subcategory/subofsubcategory/last-subcategory.html
現在它會這樣:
//domain.com/nameof-the-category.html

你可以選擇URL結尾的格式,可以是html或htm,或者像“.jam”等其他結尾都可以!

這个插件也支援Yoast SEO插件,不用擔心任何問題!

啟用此插件後,您必须前往Admin->設置->永久鏈接,为類別設置後綴,否则插件將不起作用,後綴可以是任何內容,例如:“.html”或“.asp”甚至“.amazon”等等。

现在,设置主自定义结构的最佳方法是“/%postname%”,末尾没有“/”,因此缩短后的类别链接尾部没有斜线。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Shorten Sub-category's Link」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Your website sometime has many category and subcategory, it’s okey if Category has 2 sub category, but it’s will be bad if category has more than 3 children, this simple plugin will help you shorten all of them to a nicer permalink.
A permalink with a depth of more than 3 levels doesn’t look too user friendly. Additionally, Google may not worry much about URL depths, though it may impact searches on other engines like Bing or Yahoo. This plugin help you shortening deep subcategory’s link !
Eg:
//domain.com/category-parent/subcategory/subofsubcategory/last-subcategory.html
Now it’s will be:
//domain.com/nameof-the-category.html
You can choose the end of the Url, can be html or htm or something like “.jam” is okey !
This plugin work with Yoast SEO also, no worry about anythings !
After active this plugin, you have to go to Admin > Setting > Permalinks to set-up suffix for Category link, or plugin will do nothing, suffix can be anything, eg: “.html” or “.asp” or even “.amazon”
Now the best way to setting main custom structure is “/%postname%” without the ‘/’ at the ending of URL, so the category’s link after shorten will have no slash at the end.

延伸相關外掛

文章
Filter
Mastodon