Title: Singular
Author: majelbstoat
Published: <strong>2005 年 4 月 12 日</strong>
Last modified: 2005 年 4 月 24 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

# Singular

 由 [majelbstoat](https://profiles.wordpress.org/majelbstoat/) 開發

[下載](https://downloads.wordpress.org/plugin/singular.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/singular/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/singular/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/singular/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/singular/#developers)

 [技術支援](https://wordpress.org/support/plugin/singular/)

## 外掛說明

By default in WordPress 1.5 and onwards, a post’s sanitised name that appears in
a permalink structure is checked for duplication and a numeral is appended if one
is found. This is to prevent two posts having the same permalink, even when they
have the same title. This could not be guaranteed otherwise, for instance because
not all structures use a date to reference their archives.

In some permalink structures, this default behaviour is not desirable. Typically,
these will be those that do incorporate a date or some other unique identifier. 
In these cases, a site author might wish to have the sanitised name the same for
each post, for example in the case of a weekly report or column. Singular is a simple
plugin which removes the extra suffix that WordPress automatically adds when a post
with a similar name is published.

## 安裝方式

 * One Click Installation is available, if you are using the WordPress [Plugins Manager](http://www.wp-plugins.net/)

Otherwise:

 1. Upload singular.php to your plugins folder, usually `wp-content/plugins/`
 2. Activate the plugin on the plugin screen.

## 常見問題集

  Huh?

An example:

A post titled “A Witty Quote” for example, has a post slug (which is used in a post’s
permalink) of ‘a-witty-quote’. A second post titled “A wiTTy QUoTe” (or something
similar) would have a post slug of ‘a-witty-quote-2’. If you want the second post
slug to be ‘a-witty-quote’ instead of ‘a-witty-quote-2’, use this plugin.

  Is this useful for me?

If you’re asking, it probably isn’t! To be useful, the following should all be true:

 1. You have a blog that uses a permalink structure incorporating the date, or some
    other unique path.
 2. You write posts that have the same title (or that would sanitise to the same title)
    regularly.
 3. You don’t like the second and third posts having ‘-2’ and ‘-3’ appended.

  Will Singular re-write my post slug arbitrarily?

No. Singular merely repeats WordPress’ own method of creating a post slug. That 
is, it takes the title of the post and sanitises it. All Singular does is skip the
code that checks for a duplicate that could possibly add a numeral suffix.

  Will this screw anything up?

If you have a unique permalink structure similar to that described above, no. However,
the numeral is put there for a reason. If you store archives by category, for example,
and two posts in the same category have a similar title, both posts will resolve
to the same permalink. Which one will take priority is up to your .htaccess file.
Ensure you understand the implications of fiddling with your permalink structure
before you run with this. That said, it won’t actually delete any posts, it just
might make them hard to find…

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Singular〉的開發相關工作。

參與者

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

[將〈Singular〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/singular)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/singular/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/singular/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/singular/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/singular/)。

## 中繼資料

 *  版本 **0.3**
 *  最後更新 **21 年前**
 *  啟用安裝數 **10+**
 *  語言
 * [English (US)](https://wordpress.org/plugins/singular/)
 * 標籤:
 * [admin](https://tw.wordpress.org/plugins/tags/admin/)[permalink](https://tw.wordpress.org/plugins/tags/permalink/)
   [postname](https://tw.wordpress.org/plugins/tags/postname/)[slug](https://tw.wordpress.org/plugins/tags/slug/)
 *  [進階檢視](https://tw.wordpress.org/plugins/singular/advanced/)

## 評分

這個項目尚無任何評論記錄。

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

[查看全部使用者評論](https://wordpress.org/support/plugin/singular/reviews/)

## 參與者

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

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/singular/)