Title: Strict Permalinks
Author: dphiffer
Published: <strong>2009 年 11 月 6 日</strong>
Last modified: 2010 年 3 月 17 日

---

搜索插件

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

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

# Strict Permalinks

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

[下载](https://downloads.wordpress.org/plugin/strict-permalinks.1.1.zip)

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

 [支持](https://wordpress.org/support/plugin/strict-permalinks/)

## 描述

Strict Permalinks does two things:

 1. Restricts the `post_name` portion of the permalink to alphanumerics and hyphens
 2. Disables permalink editing once a post is published

Like me, you may have been under the impression that post slugs are already restricted
to alphanumerics and hyphens. In the current WordPress 2.8.5, a title that includes
certain kinds of punctuation (e.g., “smartquotes”) will result in URL-encoded characters
in the `post_name` field. Many browsers handle this oddity seamlessly, however this
may cause difficulties when integrating with systems expecting a more limited URL
syntax.

### Upgrade

 1. Use the plugin updater in WordPress or…
 2. Delete the previous `strict-permalinks` folder from the `/wp-content/plugins/` 
    directory
 3. Upload the new `strict-permalinks` folder to the `/wp-content/plugins/` directory

### Usage

 1. In all cases the `post_title` to `post_name` conversion (i.e., the `sanitize_title`
    filter) will be limited to a-z, 0-9 and hyphens (-).
 2. If a post is not yet published, the permalink can be edited as usual.
 3. Once a post is published, the permalink editing interface is disabled.

## 屏幕截图

 * [[
 * With and without Strict Permalinks

## 安装

 1. Upload the `strict-permalinks` folder to the `/wp-content/plugins/` directory or
    install directly through the plugin installer.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress or by using the link
    provided by the plugin installer.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

[帮助将「Strict Permalinks」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/strict-permalinks)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1 (2010-03-17):

 * Fixed a bug that was preventing the edit post tag cloud from working

#### 1.0 (2009-11-06):

 * Initial Public Release

## 额外信息

 *  版本 **1.1**
 *  最后更新：**16 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.8 或更高版本 **
 *  已测试的最高版本为 **2.9.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/strict-permalinks/)
 * 标签
 * [permalinks](https://cn.wordpress.org/plugins/tags/permalinks/)
 *  [高级视图](https://cn.wordpress.org/plugins/strict-permalinks/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

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

## 支持

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

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