前言介紹
- 這款 WordPress 外掛「WP Hashed IDs」是 2012-10-13 上架。
- 目前有 100 個安裝啟用數。
- 上一次更新是 2016-07-17,距離現在已有 3212 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
- 有 3 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
palicao |
外掛標籤
encryption | permalinks | permalink tag | url shortening |
內容簡介
這個外掛程式新增了一個新的永久鏈結標籤 %hashed_id%,代表您文章 ID 的加密版本。
使用 hashids library(請參閱 http://www.hashids.org/php/)。
透過這個外掛程式,您可以將永久鏈結結構更改成像這樣:
/%hashed_id%/
以獲得以下類似的鏈結:
http://www.example.com/B7j1rPk8
或像這樣:
/%year%/%monthnum%/%hashed_id%/
以獲得以下類似的網址:
http://www.example.com/2012/10/B7j1rPk8
或像這樣:
/%hashed_id%/%postname%/
以獲得以下類似的網址:
http://www.example.com/B7j1rPk8/my-slug
當您想要隱藏文章數量時,或者只是想要一個獨特和簡潔的 URL 結構時,這個外掛程式很有用。如果您想要短網址而不使用第三方服務,這也很有用。
原文外掛簡介
This plugin adds a new permalink tag %hashed_id% which represents the encrypted
version of your post ID.
Uses hashids library (see http://www.hashids.org/php/).
With this plugin you can change your permalink structure into something like
/%hashed_id%/
to obtain links like
http://www.example.com/B7j1rPk8
or into something like
/%year%/%monthnum%/%hashed_id%/
to obtain URLs like
http://www.example.com/2012/10/B7j1rPk8
or
/%hashed_id%/%postname%/
to obtain
http://www.example.com/B7j1rPk8/my-slug
This plugin is useful when you want to obfuscate the number of posts or simply
if you want an unusual and concise url schema. This is also useful if you want to have
short URLs without using a third-party service.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP Hashed IDs」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。