Title: Change Core Slugs
Author: Milan Dinić
Published: <strong>2019 年 3 月 30 日</strong>
Last modified: 2019 年 3 月 30 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/change-core-slugs.svg)

# Change Core Slugs

 作者：[Milan Dinić](https://profiles.wordpress.org/dimadin/)

[下载](https://downloads.wordpress.org/plugin/change-core-slugs.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/change-core-slugs/#description)
 * [评价](https://cn.wordpress.org/plugins/change-core-slugs/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/change-core-slugs/#developers)

 [支持](https://wordpress.org/support/plugin/change-core-slugs/)

## 描述

Change Core Slugs is a plugin that allows you to set custom permalink slugs instead
of default ones that are provided with WordPress core. This functionality is already
available in WordPress, however it can be used by manually setting new configuration
in the code. What this plugin does is that it provides friendly user interface where
all site admins can change default slugs.

You can change:

 * `author` base in authors archives
 * `search` base in searches archives
 * `page` base in pagination pages of archives or in single posts
 * `comments-page` base in pagination pages of single posts comments
 * `comments` base in comments feeds
 * `feed` base in feeds

When you change any slug, you will not get redirection from the pages that used 
old slug. Same goes if you again change any slug. If you want redirection, you must
set it through server rules or with other plugins.

If you disable this plugin, old, default slugs will be restored and URLs with new
slugs will stop working. The only way to keep new slugs is by manually setting them
in the code.

**NOTE**: because of two bugs in WordPress core, in some cases setting custom slugs
will not work properly. These cases are when `page` or `comments-page` include any
non-ASCII character (ticket [#41891](https://core.trac.wordpress.org/ticket/41891)),
or when `feed` or `comments` bases are set (ticket [#43274](https://core.trac.wordpress.org/ticket/43274)).
Until these two bugs are fixed, you can use [temporary plugin](https://github.com/dimadin/redirect-canonical-fix)
that includes fixes. You do not need that plugin if you do not use features that
trigger bugs from above.

And it’s on [GitHub](https://github.com/dimadin/change-core-slugs).

### Usage

Got to Settings > Change Core Slugs page.

## 屏幕截图

[⌊Change Core Slugs settings screen.⌉⌊Change Core Slugs settings screen.⌉[

Change Core Slugs settings screen.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Milan Dinić ](https://profiles.wordpress.org/dimadin/)

[帮助将「Change Core Slugs」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/change-core-slugs)

### 对开发感兴趣吗?

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

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**8 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.9 或更高版本 **
 *  已测试的最高版本为 **5.1.29**
 *  PHP 版本 ** 5.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/change-core-slugs/)
 * 标签
 * [permalink](https://cn.wordpress.org/plugins/tags/permalink/)[slug](https://cn.wordpress.org/plugins/tags/slug/)
   [url](https://cn.wordpress.org/plugins/tags/url/)
 *  [高级视图](https://cn.wordpress.org/plugins/change-core-slugs/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/change-core-slugs/reviews/#new-post)

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

## 贡献者

 *   [ Milan Dinić ](https://profiles.wordpress.org/dimadin/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/change-core-slugs/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://milandinic.com/donate/)