Linux 软件免费装

WP Hashed IDs

开发者 palicao
更新时间 2016年7月18日 06:08
PHP版本: 3.0 及以上
WordPress版本: 4.5.3
版权: GPLv2 or later
版权网址: 版权信息

标签

permalinks encryption url shortening permalink tag

下载

1.0 2.0

详情介绍:

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.