Title: sCategory Permalink
Author: Dmytro Shteflyuk
Published: <strong>2007 年 4 月 9 日</strong>
Last modified: 2009 年 7 月 30 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# sCategory Permalink

 作者：[Dmytro Shteflyuk](https://profiles.wordpress.org/kpumuk/)

[下载](https://downloads.wordpress.org/plugin/scategory-permalink.0.6.2.zip)

 * [详情](https://cn.wordpress.org/plugins/scategory-permalink/#description)
 * [评价](https://cn.wordpress.org/plugins/scategory-permalink/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/scategory-permalink/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/scategory-permalink/#developers)

 [支持](https://wordpress.org/support/plugin/scategory-permalink/)

## 描述

Permalink option of WordPress `%category%` has one great limitation –
 when this
option is selected, WordPress uses category with lowest ID for permalink generation.
This plugin is intented to bypass WordPress permalinks limitation and allows you
to select category for permalink generation.

#### Support

If you have any suggestions, found a bug, or just wanted to say “thank
 you”,– feel
free to email me [kpumuk@kpumuk.info](https://cn.wordpress.org/plugins/scategory-permalink/kpumuk@kpumuk.info?output_format=md).
Promise, I will answer every email I received.

If you want to contribute your code, see the _Development_ section under
 the _Other
Notes_ tab.

### Development

Sources of this plugin are available both in SVN and Git:

 * [WordPress SVN repository](http://svn.wp-plugins.org/scategory-permalink/)
 * [GitHub](http://github.com/kpumuk/scategory-permalink/)

Feel free to check them out, make your changes and send me patches.
 Promise, I 
will apply every patch (of course, if they add a value to the product). Email for
patches, suggestions, or bug reports: [kpumuk@kpumuk.info](https://cn.wordpress.org/plugins/scategory-permalink/kpumuk@kpumuk.info?output_format=md).

## 屏幕截图

 * [[
 * Write Post page with sCategory Permalink enabled.

## 安装

 1. Download and unpack plugin files to the `wp-content/plugins/scategory-permalink`
    
    directory.
 2. Enable **sCategory Permalink** plugin on your _Plugins_ page in
     _Site Admin_.
 3. Go to the _Options/Permalinks_ page in _Site Admin_ and use `%scategory%`
     option
    in _Custom text_ field (you can look [here](https://codex.wordpress.org/Using_Permalinks)
    for other options). For example you could use `/%scategory%/%postname%/`.
 4. When you move your mouse over category in _Categories_ box the
     **Primary** link
    will appear on the right. Click it to set the category which will be used to generate
    permalinks. It will be highlighted with bold.

#### Upgrade

 1. Download and unpack plugin files to the `wp-content/plugins/scategory-permalink`
    
    directory.
 2. Go to the _Options/Permalinks_ page in _Site Admin_ and click _Save Changes_
     to
    re-generate permalinks.
 3. When you move your mouse over category in _Categories_ box the
     **Primary** link
    will appear on the right. Click it to set the category which will be used to generate
    permalinks. It will be highlighted with bold.

## 常见问题

  Every page on my site respond with 404 error

Go to _Options/Permalinks_ page in _Site Admin_ and click _Save Changes_ to
 re-
generate permalinks.

  First category is used for permalinks instead of selected

Check the permalinks structure you used (_Options/Permalinks_). You should
 use `%
scategory%` instead of `%category%`.

  I love this plugin. How to do a favor to the author?

Just vote for this plugin on [WordPress.org](https://wordpress.org/extend/plugins/scategory-permalink/).

And thank you!

## 评价

此插件暂无评价。

## 贡献者及开发者

「sCategory Permalink」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Dmytro Shteflyuk ](https://profiles.wordpress.org/kpumuk/)

[帮助将「sCategory Permalink」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/scategory-permalink)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/scategory-permalink/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/scategory-permalink/)，或通过[RSS](https://plugins.trac.wordpress.org/log/scategory-permalink/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/scategory-permalink/)。

## 更新日志

#### 0.6.2 (July 30, 2009)

 * Nothing really changed. Just to force WordPress to update version.

#### 0.6.1 (July 30, 2009)

 * Fixed blank page when post edit page requested.
 * Fixed “Primary” link appear on all sub-categories, when category selected.

#### 0.6.0 (July 30, 2009)

 * Client side script completely rewritten. New visual look and better
    usability(
   thanks to [Nikolay Kolev](http://nikolay.com/)).

#### 0.5.0 (July 28, 2009)

 * Fixed problem with Subscribe2 plugin (thanks to [Paul Wagorn](http://www.synthgear.com/)).
 * Performance improvement (update meta tags only once per save).

#### 0.4.0 (July 21, 2009)

 * Fixed not-found bug when `/%year%/%scategory%/%posttitle%` permalink used.
 * Fixed not-found bug when paged comments enabled (`/comment-page-N`).
 * JavaScript rewritten using jQuery library.

#### 0.3.0 (April 4, 2008)

 * Fixed bug when pages was not found in WordPress 2.5.

#### v0.2.2 (May 20, 2007)

 * Sometimes radio buttons was not displayed (thanks to Vince Caughley and [Sam Keen](http://codeelements.com/)).

## 额外信息

 *  版本 **0.6.2**
 *  最后更新：**17 年前**
 *  活跃安装数量 **50+**
 *  WordPress 版本 ** 2.7.0 或更高版本 **
 *  已测试的最高版本为 **2.8.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/scategory-permalink/)
 * 标签
 * [category](https://cn.wordpress.org/plugins/tags/category/)[permalink](https://cn.wordpress.org/plugins/tags/permalink/)
   [permalinks](https://cn.wordpress.org/plugins/tags/permalinks/)[seo](https://cn.wordpress.org/plugins/tags/seo/)
 *  [高级视图](https://cn.wordpress.org/plugins/scategory-permalink/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/scategory-permalink/reviews/)

## 贡献者

 *   [ Dmytro Shteflyuk ](https://profiles.wordpress.org/kpumuk/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/scategory-permalink/)