Linux 软件免费装

Hum

开发者 willnorris
pfefferle
更新时间 2024年7月17日 15:59
PHP版本: 5.6 及以上
WordPress版本: 6.6
版权: MIT
版权网址: 版权信息

标签

shortlink whistle diso

下载

1.3.0 1.3.3 1.1 1.2 1.2.1 1.2.2 1.2.3 1.2.4 1.2.6 1.2.7 1.2.8 1.2.5 1.3.1 1.3.2 1.0 1.3.4

详情介绍:

Hum is a personal URL shortener for WordPress, designed to provide short URLs to your personal content, both hosted on WordPress and elsewhere. For example, rather than a long URL for a WordPress post such as http://willnorris.com/2011/01/hum-personal-url-shortener-wordpress, you could have a short URL like http://willnorris.com/b/FJ. Additionally, if you have a custom domain for short URLs, you can shorten things further like http://wjn.me/b/FJ. Once the plugin is enabled, the shortlink for a page or post can be found in the "Shortlink" item in the WordPress Admin Bar. WordPress post IDs are shortened using the NewBase60 encoding scheme which is specifically optimized for brevity and readability, with built-in error correction for commonly confused characters like '1', 'l', and 'I'. Hum is not designed as a general purpose URL shortener along the lines of http://bit.ly or http://goo.gl. Rather, it is specifically intended as a personal shortener for your own content. Read more about the reasoning for a personal URL shortener at Tantek Celik's page for Whistle, which served as the inspiration for Hum.

安装:

Follow the normal instructions for installing WordPress plugins. Using a custom domain If you have a custom domain you'd like to use with Hum, add it as the 'Shortlink Base (URL)' on the 'General Settings' WordPress admin page or define the HUM_SHORTLINK_BASE constant in your wp-config.php: define('HUM_SHORTLINK_BASE', 'http://wjn.me'); You will also need to setup your short domain to redirect to your normal domain. Many domain registrars provide free redirection services that work well for this, so you don't need to setup a new domain with your web host. Just make sure that you are not using an iframe style redirect.

升级注意事项:

1.1 Adds a new admin UI for setting a custom domain for shortlinks, includes smarter URL matching, and adds various small improvements and bug fixes.

常见问题:

What types of content does Hum support?

Out of the box, Hum will provide shortlinks for any content locally hosted on WordPress. Most shortlinks will use the b type prefix, with the exception of posts with a 'status' post format, which have shortlinks using the t type prefix. For example:

Additionally, the i type prefix, along with one of four subtypes, is supported as follows:
  • asin or a for Amazon ASIN numbers
  • isbn or i for ISBN numbers
All i URLs are redirected to Amazon.com. For example: Additional type prefixes can be registered to serve WordPress hosted content or to redirect to an external service. See more in the developer documentation.

更新日志:

Project maintined on github at willnorris/wordpress-hum. 1.3.4 1.3.3 1.3.2 1.3.1 1.3.0 1.2.8 1.2.7 full changelog 1.2.6 full changelog 1.2.5 full changelog 1.2.4 full changelog 1.2.3 full changelog 1.2.2 full changelog 1.2.1 full changelog 1.2 full changelog 1.1 full changelog 1.0