Title: Base64 Shortlinks
Author: jwz
Published: <strong>2011 年 8 月 12 日</strong>
Last modified: 2026 年 8 月 31 日

---

搜索插件

![](https://ps.w.org/base64-shortlinks/assets/icon-256x256.png?rev=2736515)

# Base64 Shortlinks

 作者：[jwz](https://profiles.wordpress.org/jwz/)

[下载](https://downloads.wordpress.org/plugin/base64-shortlinks.1.8.zip)

 * [详情](https://cn.wordpress.org/plugins/base64-shortlinks/#description)
 * [评价](https://cn.wordpress.org/plugins/base64-shortlinks/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/base64-shortlinks/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/base64-shortlinks/#developers)

 [支持](https://wordpress.org/support/plugin/base64-shortlinks/)

## 描述

The default WordPress “shortlink” URLs look like this: `http&#58;//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&#58;//www.jwz.org/blog/?p=13240780`
 becomes: `http&#58;//jwz.
org/b/ygnM`

This doesn’t affect your (long) permalinks: those can still be in whatever format
you like.

## 安装

 1. Upload the `base64-shortlinks` directory to your `/wp-content/plugins/` directory.
 2. Activate the plugin through the “Plugins” menu in WordPress.
 3. Select the “Base64 Shortlinks” menu under “Settings” and enter your Shortlink URL
    Prefix.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Base64 Shortlinks」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ jwz ](https://profiles.wordpress.org/jwz/)

[帮助将「Base64 Shortlinks」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/base64-shortlinks)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/base64-shortlinks/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/base64-shortlinks/)，或通过[RSS](https://plugins.trac.wordpress.org/log/base64-shortlinks/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/base64-shortlinks/)。

## 更新日志

#### 1.0

 * Created

#### 1.1

 * Shortlinks that happened to have “-” in them were failing. Fixed.

#### 1.2

 * Fixed a bug that affected blogs installed in the root directory of their site.

#### 1.3

 * Fixed a bug that caused shortlinks to be longer than necessary on 32-bit systems.

#### 1.4

 * Fix for WordPress 4.0.

#### 1.5

 * Eliminated some PHP warnings.

#### 1.6

 * Don’t use PHP short-open tags.

#### 1.7

 * Added base64-redir-quick.php for those with performance concerns.

#### 1.8

 * Slightly better error messages.

## 额外信息

 *  版本 **1.8**
 *  最后更新：**3 月前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.7 或更高版本 **
 *  已测试的最高版本为 **6.9.11**
 *  语言
 * [English (US)](https://wordpress.org/plugins/base64-shortlinks/)
 * 标签
 * [shortlinks](https://cn.wordpress.org/plugins/tags/shortlinks/)
 *  [高级视图](https://cn.wordpress.org/plugins/base64-shortlinks/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/base64-shortlinks/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/base64-shortlinks/reviews/)

## 贡献者

 *   [ jwz ](https://profiles.wordpress.org/jwz/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/base64-shortlinks/)