Title: Short URL Generator
Author: jhm
Published: <strong>2009年6月29日</strong>
Last modified: 2009年7月19日

---

プラグインを検索

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

![](https://s.w.org/plugins/geopattern-icon/shortcode-shorturl.svg)

# Short URL Generator

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

[ダウンロード](https://downloads.wordpress.org/plugin/shortcode-shorturl.zip)

 * [詳細](https://ja.wordpress.org/plugins/shortcode-shorturl/#description)
 * [レビュー](https://ja.wordpress.org/plugins/shortcode-shorturl/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/shortcode-shorturl/#installation)
 * [開発](https://ja.wordpress.org/plugins/shortcode-shorturl/#developers)

 [サポート](https://wordpress.org/support/plugin/shortcode-shorturl/)

## 説明

With this Plugin you **optimize your workflow** as it enables you to auto-generate
a shortened URL to your blog posts. So neither you nor your readers have to do it.
These Short URLs are particular useful for twitter and alike as these services limit
the messages of their users to a certain amount of characters – which leads to the
situation that their users are forced to have an eye on what exactly they want to
write. And by providing a very short URL it’s easier for them to spread the word
on your blog article as they have more characters left for personal remarks.

Compared to other solutions **this plugin caches the generated shortened URL** –
this makes it faster. If the permalink of the article changes, a new Short URL will
be automatically generated. It also allows you to choose your favorite from a couple
of Short URL Providers and lets you insert the shortened URL via a handy shortcode.

#### Usage:

 * Place `[shorturl]` in your article where you want to display the shortened url.
 * Add optional info with parameters (see below)
 * If you don’t like shortcodes you can use the complete auto mode – that way the
   shortened URL gets always auto-added at the end of your articles.

#### Features:

 * Automatic generation of a Short URL to the blog post.
 * **Caches the Short URL** – So it’s only generated once.
 * Offers 6 different URL Shorteners to choose from (bit.ly, tr.im, is.gd, u.nu,
   snurl.com, tinyurl.com).
 * Provides optional parameters to further increase workflow.
 * Can add self-defined labels in front (or around) the URL(s).

#### Options:

**Possible values are “1” for active and “0” for disabled**

 * txt => Will add a label in front of the URL(s) (default: 0).
 * full => The permalink will also be displayed (default: 0).
 * link => Displays the URL(s) as HTML link (default: 0).
 * short => Displays the Short URL (default: 1).

#### Additional info

For more information, examples, questions and previews – please have a look on the
[plugins website](http://hjacob.com/blog/2009/06/short_url_shortcode_wordpress/).

There is also a [german version of the plugins page](http://hjacob.com/blog/2009/06/short_url_shortcode_wordpress_german/).

## スクリーンショット

 * [[
 * The Settings-Panel of this plugin
 * [[
 * An example output of this plugin

## インストール

 1. Download the Plugin
 2. Upload the shorturl.php into your “wp-content/plugins” folder of your blog
 3. Activate the plugin (“Automatic Short URL”) in your WordPress-Admin Plugins page
 4. Start using the shortcode in your articles where ever you like
 5. If you like you can optimize the settings in the “Short URL” Settings-Page.

## FAQ

  Do I need to set any parameters?

Nope, you can simply use [shorturl] to insert just the short url.

  Does the order of the parameters matter?

Nope, you can use the optional parameters in any order – just like for all shortcodes.

  The labels added by the parameter “txt” suck, what can I do?

You can define the labels in the “Short URL” Settings page, which can be found in
the “Settings Box” in your WordPress Admin Interface.

  What is that “short” option for?

It defaults to “1”, so by default the Short URL will be displayed (thats what this
whole thing is for). But maybe you want to post your permalink at the beginning 
of your article and the Short URL at the end, so you can use the shortcode twice–
the first time with **short=0 and full=1** and the second time **without any** options.

  I found this plugin very useful, how can i show my appreciation?

Spread the word and maybe write an blog post on this plugin with a link to the original
post at [the autors page](http://hjacob.com/blog/2009/06/short_url_shortcode_wordpress/).

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

Short URL Generator はオープンソースソフトウェアです。以下の人々がこのプラグイン
に貢献しています。

貢献者

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

[“Short URL Generator” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/shortcode-shorturl)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/shortcode-shorturl/)する
か、[SVN リポジトリ](https://plugins.svn.wordpress.org/shortcode-shorturl/)をチェック
するか、[開発ログ](https://plugins.trac.wordpress.org/log/shortcode-shorturl/)を
[RSS](https://plugins.trac.wordpress.org/log/shortcode-shorturl/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.1.1

 * Store Settings Bug (unknown action “empty2zero”) solved
 * The “pretty” permalink is now used
 * From now on Short URLs get generated after the post is published, this way the
   URL Shorteners Databases don’t get spammed by Draft URLs.

#### 1.1

 * Short URL Provider “tr.im” has been added

#### 1.0

 * A Settings Page is added.
 * Support for 6 different URL Shortener Services (tr.im, is.gd, bit.ly, u.nu, snurl.
   com, tinyurl.com).
 * Auto-Add functionality (optional!) – no need to write the shortcode by hand anymore.
 * Auto added Short URLs support HTML code, so you can tweak their appearance with
   CSS classes and more.
 * The Labels added by the “txt” parameter are now editable.
 * A “Reset Settings” function, which removes Settings and URL Caches from posts.

#### 0.1

 * Inital release.

## メタ

 *  バージョン **1.1.1**
 *  最終更新日 **17年前**
 *  有効インストール数 **10+**
 *  WordPress バージョン ** 2.5またはそれ以降 **
 *  言語
 * [English (US)](https://wordpress.org/plugins/shortcode-shorturl/)
 * タグ
 * [short url](https://ja.wordpress.org/plugins/tags/short-url/)[shortcode](https://ja.wordpress.org/plugins/tags/shortcode/)
   [twitter](https://ja.wordpress.org/plugins/tags/twitter/)[url shortener](https://ja.wordpress.org/plugins/tags/url-shortener/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/shortcode-shorturl/advanced/)

## 評価

レビューはまだ送信されていません。

[Your review](https://wordpress.org/support/plugin/shortcode-shorturl/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/shortcode-shorturl/reviews/)

## 貢献者

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

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/shortcode-shorturl/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](http://hjacob.com/blog/2009/06/short_url_shortcode_wordpress/#donate)