Title: WP Category Permalink
Author: Jordy Meow
Published: <strong>2013年4月18日</strong>
Last modified: 2018年12月6日

---

プラグインを検索

![](https://ps.w.org/wp-category-permalink/assets/banner-772x250.png?rev=699510)

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

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

# WP Category Permalink

 作者: [Jordy Meow](https://profiles.wordpress.org/tigroumeow/)

[ダウンロード](https://downloads.wordpress.org/plugin/wp-category-permalink.3.4.0.zip)

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

 [サポート](https://wordpress.org/support/plugin/wp-category-permalink/)

## 説明

This plugin allows you to select a main category (or taxonomy) for your posts for
nicer permalinks and SEO.

### できること

A custom structure such as **/%category%/%postname%/** should be usually chosen 
for your permalinks. By default, this %category% is selected automatically (using
the lowest ID) in the case your post is assigned to more than one category. This
plugin will let you pick the category of your choice from the ‘Post Edit’ page. 
The chosen category is shown in bold on the ‘Posts List’ page and the ‘Post Edit’
page.

### 投稿リスト

Below the title, you will see the permalink currently set-up for this entry. If 
a heart is present, it means that the category (or taxonomy) has been picked up.

### パンくずリスト

They have their own way of working and can’t be supported automatically by default
because they are created by specific themes or plugins. If you encounter issues 
with breadcrumbs, please say so in the Support Threads and let’s see how we can 
make it work.

### 互換性

It works with any theme or plugin that creates post types and taxonomies but it 
looks like it doesn’t work with the plugin called “Types”. You can use “Custom Post
Type UI” instead.

### Please contribute

It works for standard setups, but the plugin might be modified depending on the 
case. Don’t hesitate to participate in making this plugin better. The official git
for this project is here: https://github.com/jordymeow/wp-category-permalink. Thanks
to those contributors:

 * David Remer (https://github.com/websupporter)

Languages: English.

## スクリーンショット

[⌊Pick the category you'd like to have for the permalink.⌉⌊Pick the category you'd
like to have for the permalink.⌉[

Pick the category you’d like to have for the permalink.

[⌊Check your permalinks in the posts list. If a heart is present, it means a category(
or taxonomy) has been chosen.⌉⌊Check your permalinks in the posts list. If a heart
is present, it means a category (or taxonomy) has been chosen.⌉[

Check your permalinks in the posts list. If a heart is present, it means a category(
or taxonomy) has been chosen.

## インストール

 1. Upload `wp-category-permalink.php` to the `/wp-content/plugins/` directory
 2. WordPress の「プラグイン」メニューからプラグインを有効化してください

## FAQ

  How to get the chosen category using PHP?

詳しくは次のスレッドを参照: https://wordpress.org/support/topic/get-primary-category/#
post-9055471

## 評価

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

### 󠀁[Not working at the Moment](https://wordpress.org/support/topic/not-working-at-the-moment-2/)󠁿

 [titusraj](https://profiles.wordpress.org/titusraj/) 2019年11月24日

Hi, I have been using this plugin for some years. It does not seem to be working
with the current version of wordpress. Had a host of errors from Google ads and 
realised all the loved permalinks were no longer functioning an creating a redirect
error. It works fine when Classic Editor Plugin is activated. Does not work when
classic editor plugin is deactivated and guttenberg is activated. Hope is gets fixed
soon. Thanks

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

### 󠀁[It’s great and it works with 5.2.2](https://wordpress.org/support/topic/its-great-and-it-works-with-5-2-2/)󠁿

 [r0by](https://profiles.wordpress.org/r0by/) 2019年8月2日

Works flawlessly with 5.2.2. Thank you!

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

### 󠀁[Perfect replacement for WP gallery custom links](https://wordpress.org/support/topic/perfect-replacement-for-wp-gallery-custom-links/)󠁿

 [](https://profiles.wordpress.org/drtortoise/) 2019年2月4日

This does everything I used the old WP Custom Gallery links plugin for, with the
added bonus that it works with Gutenberg! The creator is also super helpful, I had
an issue with using the plugin due to an old version of php on my server, and he
was able to debug and fix the problem straight away.Very impressed, both with the
plugin and also customer service.

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

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-18887/)󠁿

 [gezginorman](https://profiles.wordpress.org/gezginorman/) 2018年8月21日

If you have posts that belong more than one category, you'll love this plugin.

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

### 󠀁[Works great](https://wordpress.org/support/topic/works-great-5000/)󠁿

 [bramchi](https://profiles.wordpress.org/bramchi/) 2018年5月17日

Works great

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

### 󠀁[This Plugin Is Awesome](https://wordpress.org/support/topic/this-plugin-is-awesome-49/)󠁿

 [barglobeworld](https://profiles.wordpress.org/barglobeworld/) 2017年3月5日 1 reply

I searched high and low for ages looking for a plugin that does exactly what this
one does. I was overjoyed when I found it AND when I saw how easy it is to use. 
There are plugins that let you do away with having the category name in the permalink
altogether, but WordPress does not recommend it because of its structure and I think
it's good to have categories in the links of products. Most of the products on my
website are in more than one category. Now, just by clicking on an image of a heart
next to the category list, I can tell WordPress which category (or subcategory) 
I want in my product permalink. Thank you Jordy for this incredible plugin. It should
be in the top ten of "must haves" for WP.

 [ 33件のレビューをすべて表示 ](https://wordpress.org/support/plugin/wp-category-permalink/reviews/)

## 貢献者と開発者

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

貢献者

 *   [ Jordy Meow ](https://profiles.wordpress.org/tigroumeow/)
 *   [ okonomiyaki3000 ](https://profiles.wordpress.org/okonomiyaki3000/)

[“WP Category Permalink” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/wp-category-permalink)

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

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

## 変更履歴

#### 3.4.0

 * Compatibility with PHP 7.2 by removing create_function calls. Thanks to David(
   https://github.com/jordymeow/wp-category-permalink/pull/3#issuecomment-443597831).

#### 3.3.0

 * Everything is released for free.

#### 3.2.8

 * Fix: WP 4.9.

#### 3.2.7

 * Fix: Name instead of Query Var.

#### 3.2.6

 * Fix: Avoid double trailing slashes.

#### 3.2.4

 * Fix: Trailing slashes.

#### 3.2.3

 * Fix: Display issues (heart icon was flying all over the place).
 * Fix: Permalinks are handled in a much better way. More support for other plugins
   for custom permalinks.

#### 3.2.2

 * Fix: Handle events on the label instead of the li. Inject the link into the label
   too.
 * Update: Additional error handling.

#### 3.0.4

 * Update: Enhance the way the post meta is handled.
 * Fix: Now newly created categories can be selected.
 * Fix: Pro version validation.

#### 3.0.3

 * Fix: The permalink below the title was showing a warning even though the category
   has been picked with a previous version of the plugin.
 * Fix: The categories were not bold nor red on the Posts list. With Pro, that also
   works with WooCommerce well 🙂
 * Fix: Issue from the past. If you can’t seem to save your columns, you might need
   to run the query “DELETE FROM `wp_usermeta` WHERE `meta_key` LIKE ‘%wp_manageedit%’”
   on your DB, just once, to repair the View Screen options.

#### 3.0.2

 * Fix: Issue with multisite (with the includes).
 * Add: Permalink shown below the title of the posts list (can be disabled in the
   option). Heart means a category has been picked, otherwise a little red warning
   is shown.
 * Update: A lot of coding & UI improvements.

#### 2.2.8

 * Fix: Infinite hidden columns to user meta (https://wordpress.org/support/topic/
   infinite-user-meta).

#### 2.0

 * Fix: Update issue for non-WooCommerce user.
 * Change: Let’s make it 2.0 since it’s a major change.

#### 1.0

 * Stable release.

#### 0.1.4

 * Add: default category will be shown in red if no category was picked.

## メタ

 *  バージョン **3.4.0**
 *  最終更新日 **8年前**
 *  有効インストール数 **2,000+**
 *  WordPress バージョン ** 3.5またはそれ以降 **
 *  検証済み最新バージョン: **5.0.30**
 *  PHP バージョン ** 5.3またはそれ以降 **
 *  言語
 * [English (US)](https://wordpress.org/plugins/wp-category-permalink/)
 * タグ
 * [category](https://ja.wordpress.org/plugins/tags/category/)[permalink](https://ja.wordpress.org/plugins/tags/permalink/)
   [woocommerce](https://ja.wordpress.org/plugins/tags/woocommerce/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/wp-category-permalink/advanced/)

## 評価

 5つ星中4.8つ星

 *  [  28 5-星レビュー     ](https://wordpress.org/support/plugin/wp-category-permalink/reviews/?filter=5)
 *  [  1 4-星レビュー     ](https://wordpress.org/support/plugin/wp-category-permalink/reviews/?filter=4)
 *  [  1 3-星レビュー     ](https://wordpress.org/support/plugin/wp-category-permalink/reviews/?filter=3)
 *  [  1 2-星レビュー     ](https://wordpress.org/support/plugin/wp-category-permalink/reviews/?filter=2)
 *  [  0 1-星レビュー     ](https://wordpress.org/support/plugin/wp-category-permalink/reviews/?filter=1)

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

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

## 貢献者

 *   [ Jordy Meow ](https://profiles.wordpress.org/tigroumeow/)
 *   [ okonomiyaki3000 ](https://profiles.wordpress.org/okonomiyaki3000/)

## サポート

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

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