Description
This plugin adds a new permalink tag %hashed_id% which represents the encrypted
version of your post ID.
Uses hashids library (see https://www.hashids.org/php/).
With this plugin you can change your permalink structure into something like
/%hashed_id%/
to obtain links like
https://www.example.com/B7j1rPk8
or into something like
/%year%/%monthnum%/%hashed_id%/
to obtain URLs like
https://www.example.com/2012/10/B7j1rPk8
or
/%hashed_id%/%postname%/
to obtain
https://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.
Installation
- Upload
wp-hashed-id
directory to/wp-content/plugins/
- Activate the plugin through the ‘Plugins’ menu in WordPress
- If you have the
%post_id%
tag in your permalink structure it will be
substituted by%hashed_id%
. The opposite will happen upon deactivation.
Reviews
Contributors & Developers
“WP Hashed IDs” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “WP Hashed IDs” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.