Title: WP Hashed IDs
Author: palicao
Published: <strong>2012 年 10 月 14 日</strong>
Last modified: 2016 年 7 月 17 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/wp-hashed-ids.svg)

# WP Hashed IDs

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

[下载](https://downloads.wordpress.org/plugin/wp-hashed-ids.2.0.zip)

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

 [支持](https://wordpress.org/support/plugin/wp-hashed-ids/)

## 描述

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.

## 安装

 1. Upload `wp-hashed-id` directory to `/wp-content/plugins/`
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. If you have the `%post_id%` tag in your permalink structure it will be
     substituted
    by `%hashed_id%`. The opposite will happen upon deactivation.

## 评价

![](https://secure.gravatar.com/avatar/537a16cbeaaf32acf348399ac9947be6e43c4e16578b31cdd1fecc02158389e1?
s=60&d=retro&r=g)

### 󠀁[Just what I was looking for](https://wordpress.org/support/topic/just-what-i-was-looking-for-330/)󠁿

 [Harry](https://profiles.wordpress.org/dibbyo456/) 2017 年 9 月 20 日

5 star..

![](https://secure.gravatar.com/avatar/b1e13c3da8ae04685f2bb96baebd5afd11323d915ca183f0f00cbd81a52f9c23?
s=60&d=retro&r=g)

### 󠀁[Good stuff](https://wordpress.org/support/topic/good-stuff-154/)󠁿

 [MastroMicio](https://profiles.wordpress.org/mastromicio/) 2016 年 9 月 3 日

It does what it claims: no muss, no fuss

![](https://secure.gravatar.com/avatar/34bb4e29f0f3ef2f18f9b42bf63757a520877c12621519fa51f3b597a87b266c?
s=60&d=retro&r=g)

### 󠀁[Works with 4.4.2](https://wordpress.org/support/topic/works-with-442/)󠁿

 [Dan](https://profiles.wordpress.org/zah/) 2016 年 9 月 3 日

Works with 4.4.2. But doesn’t work with CPT.

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/wp-hashed-ids/reviews/)

## 贡献者及开发者

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

贡献者

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

[帮助将「WP Hashed IDs」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-hashed-ids)

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **2.0**
 *  最后更新：**10 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **4.5.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-hashed-ids/)
 * 标签
 * [encryption](https://cn.wordpress.org/plugins/tags/encryption/)[permalinks](https://cn.wordpress.org/plugins/tags/permalinks/)
   [url shortening](https://cn.wordpress.org/plugins/tags/url-shortening/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-hashed-ids/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/wp-hashed-ids/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/wp-hashed-ids/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/wp-hashed-ids/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/wp-hashed-ids/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/wp-hashed-ids/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-hashed-ids/reviews/#new-post)

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

## 贡献者

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

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/wp-hashed-ids/)