[WordPress] 外掛分享: Base64 Shortlinks

首頁外掛目錄 › Base64 Shortlinks
10+
安裝啟用
尚無評分
256 天前
最後更新
問題解決
WordPress 2.7+ v1.7 上架:2011-08-11

內容簡介

預設的 WordPress「簡短連結(shortlink)」URL 的格式為http://www.example.com/blog/?p=123,其中的「123」是七位數字。這個外掛可以把這個數字編碼成只有四個字符,同時使用您選擇的簡短 URL 接頭辭。

在我的網站上,預設的簡短連結長度是35個位元組,即使我的域名很短。這個外掛可以把它們縮短到21個總位元組數,這可與大多數公共 URL 縮短服務相媲美,甚至更優。

例如,這: http://www.jwz.org/blog/?p=13240780
變成: http://jwz.org/b/ygnM

這不會影響您的(長)永久鏈接(permalinks):這些仍然可以使用您喜歡的任何格式。

外掛標籤

開發者團隊

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

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

原文外掛簡介

The default WordPress “shortlink” URLs look like this: http://www.example.com/blog/?p=123, where “123” is actually a 7+ digit decimal number. This plugin shrinks your shortlinks by encoding that number into only 4 characters, and using the abbreviated URL prefix of your choice.
On my site, the default shortlinks are 35 bytes long, even though I have a very short domain name. This plugin shrinks them to 21 total bytes, which is comparable to most public URL-shortener services, and better than many.
E.g., this: http://www.jwz.org/blog/?p=13240780
becomes: http://jwz.org/b/ygnM
This doesn’t affect your (long) permalinks: those can still be in whatever format you like.

延伸相關外掛

文章
Filter
Mastodon